I was trying to install ubuntu 14.04 server
then at the step where I needed to install ubuntu-desktop via command line I could not connect to internet
wired connection did not work, wifi does not work. I was going crazy!
then I found this link https://bbs.linuxdistrocommunity.com/showthread.php?tid=779
but that does not work last step where they added command
dhcpcd usb0 it says command not found and no way to install it without internet 😛
but I could solve it this way:
1. connect your mobile with wifi
2. connect mobile using usb to your laptop where ubuntu server is installed
- go to your android mobile settings ->wireless & networks -> more ->Tithering & portable hotspot
- press USB tethering
3. in command line in ur pc:
ifconfig usb0 up
then thats it!
you should be connected to internet via your phone