AcidBurns87
Posts: 18
Joined: Tue May 29, 2012 11:44 pm

Network unreachable

Mon Jun 04, 2012 1:30 am

Hey Guys,

I'm on Raspbian Pices R1 freshly flashed to my sdcard and it always says "Network Unreachable".

If I plug in another freshly flashed SDCard with Debian Squeeze on it (same SDCard Model!!), everything is ok.
I also tried swithing to a 1.5A Adapter instead of an 850mA one because of the enabled GPU Unit, but same error.

What am I doing wrong?

Sincerly,
Julian

shawnanastasio
Posts: 19
Joined: Mon May 28, 2012 7:44 pm

Re: Network unreachable

Mon Jun 04, 2012 1:52 am

Could you please provide more information? What happens when you do "sudo ifconfig eth0 up"

plugwash
Forum Moderator
Forum Moderator
Posts: 3602
Joined: Wed Dec 28, 2011 11:45 pm

Re: Network unreachable

Mon Jun 04, 2012 1:58 am

remove /etc/udev/rules.d/70-persistent-net.rules and reboot

User avatar
Vindicator
Posts: 314
Joined: Sat Sep 17, 2011 11:10 pm
Location: Susanville Ca USA
Contact: Website

Re: Network unreachable

Mon Jun 04, 2012 2:06 am

You might try the Raspbian site linked in the new Raspbian post it tell how to fix this problem in the instructions.
http://www.raspbian.org/PiscesImages
excerpt from that page"
DHCP may fail on boot and the Raspberry Pi may not have network connectivity.

To fix this, delete all lines in the file '/etc/udev/rules.d/70-persistent-net.rules' and reboot. DHCP should then be functional and your Raspberry Pi should be assigned an IP address from the DHCP server on your local LAN.
The problem is that ethernet address of the Raspberry Pi I created the image on differs from the ethernet address on your Raspberry Pi. The OS notices this and assigns the ethernet interface to device 'eth1' rather than 'eth0' which is configured to use DHCP in the '/etc/network/interfaces' file.
It has been reported that the fix above doesn't always work. An alternate fix is to

edit the /etc/network/interfaces file and change eth0 to eth1 and reboot. "
Hope this fixes the issue
If you are more worried about ,spelling, punctuation or grammar you have probably already missed the point so please just move on.

AcidBurns87
Posts: 18
Joined: Tue May 29, 2012 11:44 pm

Re: Network unreachable

Mon Jun 04, 2012 6:03 pm

I'm feeling pretty stupid :D

Deleting /etc/udev/70-persistent blablabla did the job.

thanks guys, next time i'll stick to faq first :)

greets,
acod

neonscarecrow
Posts: 2
Joined: Wed Nov 13, 2013 5:21 am

Re: Network unreachable

Wed Nov 13, 2013 5:38 am

Hello!
Would someone please point me in the right direction of how I can delete lines in '/etc/udev/rules.d/70-persistent-net.rules' ?
I am very new to the RPI and Linux. My issue is that after booting the OS, I can surf the web for about 5 minutes before the internet cuts out. In the terminal, I can ping a website for about 5 minutes before I stop receiving data and simply see an error saying "Network Unreachable". I'm using Rasbian downloaded on 11/11/2013.

Do I have to lead with "sudo" or "cd" or "vi", etc? Any help is greatly appreciated.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Network unreachable

Wed Nov 13, 2013 7:59 am

neonscarecrow wrote:Hello!
Would someone please point me in the right direction of how I can delete lines in '/etc/udev/rules.d/70-persistent-net.rules' ?
I am very new to the RPI and Linux. My issue is that after booting the OS, I can surf the web for about 5 minutes before the internet cuts out. In the terminal, I can ping a website for about 5 minutes before I stop receiving data and simply see an error saying "Network Unreachable". I'm using Rasbian downloaded on 11/11/2013.

Do I have to lead with "sudo" or "cd" or "vi", etc? Any help is greatly appreciated.
You have followed up in a forum thread that is 17 months old.

There is no such file in the version of Raspbian that you are using.

Are you using a wired (cable) or wireless (wifi dongle) connection to the internet?

Do you have other connections (PC, Mac) that use the same internet connection? Do they work consistently well at the same time as you have problems with the RPi?
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

neonscarecrow
Posts: 2
Joined: Wed Nov 13, 2013 5:21 am

Re: Network unreachable

Thu Nov 14, 2013 4:05 am

Yes - I'm aware. My apologies. This seemed fitting though.(Thank you very much for following up though.) Using a wired connection. Works just fine for both laptops in the home. Before booting the OS, I can ping google.com seemingly without interruption. However, I run into problems once I boot. After 5ish minutes of web surfing, I will get an error saying that I cannot resolve the DNS. In LX terminal, if I ping a website, it will receive data until that craps out and is replaced with "Network is unreachable." Any input? Thank you!

mojtabam
Posts: 1
Joined: Tue Jun 03, 2014 1:54 pm

Re: Network unreachable

Tue Jun 03, 2014 2:00 pm

Hi,

I have a fresh install of raspbian (2014) and I have changed eth0 to eth1 due to network unreachable problem.
But now I can not even ping the PI. The PI has static IP address.
Please help!

Return to “Raspberry Pi OS”