Page 1 of 1

Trouble Connecting to Internet

Posted: Wed May 15, 2013 2:52 am
by frankalcala
So, i'll preface this with me saying i'm a complete newb to linux. I am having a problem getting my pi to connect to the internet. When booting up the pi and running the config tool I am unable to even update the config tool. It gives an error saying "could not resolve 'mirrordirector.rasbian.org'". My interface file reads as

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Re: Trouble Connecting to Internet

Posted: Wed May 15, 2013 8:47 am
by DaveDriesen
I think you may need an "auto eth0" in there, on line 4..
Or are you not using the wired connection?

Please post the output of ifconfig, and of ip link

You can try ifup eth0 to bring the wired connection up manually (please post the output of that also).

If your link is up, and you have an IP then you may need to edit /etc/resolv.conf, adding nameservers for hostname resolution.

P.S. To restart the entire network service, use /etc/init.d/networking restart

Dave Driesen
Linux dev and oldskool elite