Recently I moved home from college and once I got home I decided to setup my raspberry pi.

At the house I rented at school I had setup and given the pi its own static IP of Worked perfectly at school. No complaints.

Once I got home and plugged it in everything seemingly worked as usual. I had a network drive attached for backups, I could SSH into the pi itself. However what I found out when I went to install some updates is it could not connect to anything that wasn't on LAN.

If you ping google.com it returns "unknown host google.com"

If you try to ping something like the Google DNS server or any other IP it returns "Destination Host Unreachable."

Things like sudo apt-get update also fail to work.

I've tried changing the static IP address, and restarting my router.

My /network/interfaces file is:

auto lo

iface lo inet loopback
iface eth0 inet static


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

And my resolve.conf file is



The Raspberry Pi is a Raspberry Pi 2 running Raspbian and it is connected via Ethernet to our router. Our ISP is AT&T U-Verse and we have the router they provided us which is a Motorola NVG589.

I'm pretty new to most things Raspberry Pi and linux. So I'm probably overlooking something fairly trivial here but any help is appreciated.

  • 1
    Maybe you should try the normative approach and see if that works: raspberrypi.stackexchange.com/q/37920/5538 If it does and you are still determined to have a static IP, at least you will know the issue is your router doesn't like that, and try and work things out from there.
    – goldilocks
    Commented Jun 16, 2016 at 18:19
  • Have you checked your router configuration to see if any other devices are already using that IP addresses? Commented Jun 16, 2016 at 18:25
  • @goldilocks I will try that. I had bought the Pi 2 right as it came out and followed a tutorial for a static IP when I needed one. It was right before that change and I never knew of the change because ever after a previous update it continued to work. Thanks for the link.
    – Jem
    Commented Jun 16, 2016 at 21:00

1 Answer 1


Have you tried configuring the Raspi's network interface using DHCP? That should normally work, and you should be able to see what IP address and nameserver info are given by the router.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.