life ideas

December 6, 2009

Connecting to the internet through recovery mode

Filed under: ubuntu — manoftoday @ 7:31 am

Never mind, I logged on to an Ubuntu chat room and the people there did a great job helping me out. Just in case anyone else needs this done and has no clue how to do it, here is a step-by-step. (Some steps might not be needed or there might be a much easier or better way to to this. This worked for me though)
Step 1: EDIT /etc/network/interfaces
type "sudo nano /etc/network/interfaces" and enter password
There should be two line that say "auto lo" and beneath it "iface lo inet loopback". Now beneath these lines write:
auto <interface>
iface <interface> inet dhcp
wireless-essid <network name>
wireless-key <network key>
When I say <interface> it is the interface for your wireless connection, something like eth0 (mine was eth1). <network name> is the name of the network you’re connecting to and <network key> is the password for that network.
Now I’m not sure which of the next two steps are necessary or not, but I used both (in this order) and it worked for me.
Step 2:
type "sudo ifup <interface>"
Step 3:
type "iwconfig <interface>"
Then my internet was working.

Blog at