User avatar
janoble
Posts: 12
Joined: Fri Sep 28, 2012 11:53 pm

Network Unreachable

Wed Oct 03, 2012 8:51 pm

My problem is that my Raspberry Pi will not connect to the network. I suspect this is a hardware issue on the RPi having to do with reading/writing to register index 0x00000114 during boot as shown below.

I'm running Wheezy Debian and boot directly to the GUI. I assume the RPi is connecting to my router (Linksys/Cisco EA4500) since I see it's MAC address on the router. When attempting to ping, the network appears unreachable. Trying the 'ifup' command seems to indicate it can't get a lease using DHCP. The voltage checks out exactly at 5.0 volts. Looking at dmesg shows several screens of failure to write/read to register index 0x00000114 which leads me to believe that my RPi is defective. Does anyone have any suggestions on how to proceed?

Need help deciding how to go forward!


Thanks


The results of my troubleshooting are shown below. Warning, since I can't transfer to my working computer I've had to type these in

+------------------- ping ------------------------+
[email protected] ~ ping 192.168.0.2
connect: Network is unreachable <-- PROBLEM

[email protected] ~ sudo ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:5f:dd:32
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:158 errors:0 dropped:49 overruns:0 frame:0
TX packets:45 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13147 (12.8 KiB) TX bytes:4594 (4.4 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


+------------------ H/W LEDS ---------------------+
The RPi board LEDS:
OK: Off (flicker during boot)
PWR: Red

FDX: Green
LNK: Green
10M: Amber

Voltage check at TP1/TP2 exactly 5.0 Volts




+-------------- running ifup eth0 ----------------+

[email protected] ~ $ sudo ifup eth0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2001-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/b8:27:eb:5f:dd:32
Sending on LPF/eth0/b8:27:eb:5f:dd:32
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
Unable to obtain a lease on first try. Exiting.
Failed to bring up eth0.


+---------------- dmesg output -------------------+

[ 39xx.60775xx] smsc95 1-1.1.1:1.0 eth0: Failed to write register index 0x00000114
[ 39xx.60775xx] smsc95 1-1.1.1:1.0 eth0: Failed to read register index 0x00000114
[ 39xx.60775xx] smsc95 1-1.1.1:1.0 eth0: Failed to read register index 0x00000114
[ 39xx.60775xx] smsc95 1-1.1.1:1.0 eth0: Failed to read register index 0x00000114

where xx represents different digits. Received this pattern over multiple screen pages.

My Peripherals
* Kingston Digital 32 GB Flash Memory Card SD10G2/32gb
* Belkin 2 in 1 USB 2.0 7-PORT HUB
* Logitech Desktop MK120 Mouse and keyboard Combo (920-002565)
* Aurum Ultra Series - High Speed HDMI Cable with Ethernet (3 FT) - CL2 Certified - Supp...

Sorry, I had posted my issue to a topic that is apparently considered solved. So I've combined my previous posts into the message above.
A computer may beat me at chess, but I always win at kick boxing.

User avatar
joan
Posts: 14077
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Network Unreachable

Wed Oct 03, 2012 9:02 pm

Could you confirm that you have a cable plugged in between the Pi and the Linksys router.

If the Linksys knows the Pi's MAC that rather implies they are communicating. Is the Linksys configured to give out DHCP addresses, i.e. to act as a DHCP server?

User avatar
janoble
Posts: 12
Joined: Fri Sep 28, 2012 11:53 pm

Re: Network Unreachable

Wed Oct 03, 2012 9:06 pm

Yes, the RPi is connected to a 8-port D-link GB switch which is connected to the router. I have reserved the IP address for the RPi to use and is within the valid IP range.

Thanks
Joe
A computer may beat me at chess, but I always win at kick boxing.

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Network Unreachable

Wed Oct 03, 2012 9:42 pm

Several people have reported the error writing to register 0x00000114.

It appears to be a conflict between the Ethernet and some USB device, most usually a USB hub.

Try running with nothing connected except power, monitor, keyboard and ethernet.

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: Network Unreachable

Wed Oct 03, 2012 10:01 pm

Forgive the question as I am unaware of you networking expertise, but are you certain you've assigned the ip address correctly? If my understanding is correct, you can only reserve the address of something that has been connected / is presently connected to your router *and* has received an IP address from the router. If your pi has not properly connected to your router then it should be able to have an IP address reserved for it. Conversely, if it has in the past received an IP address it would stand to reason that either the router is not configured correctly or there is something that makes the pi unable to work correctly with IP reservation (which shouldn't be the case as that's something handled at the router's end).

In either case the solution should be the same. Since you want a static IP address, assign on on the PI itself instead of at the router. ;-) You can assign on outside the IP address range of the router's DHCP and it will still be able to connect to the other items on the network and you will still be able to route traffic to it through the router. Here's instructions on how to do this (I use nano, but you can replace nano with vi or your text editor of choice ;-) )

Code: Select all

sudo nano /etc/network/interfaces
find the bit that currently says

Code: Select all

iface eth0 inet dhcp
and change it to

Code: Select all

iface eth0 inet static
then you'll need to write the following three items under it

Code: Select all

        address 
        netmask 
        gateway 
Address is the IP address you want to assign to the pi, netmask is the network mask (typically 255.255.255.0), and gateway is the IP address of your router. In the end it will look something like

Code: Select all

iface eth0 inet static
        address 192.168.0.X
        netmask 255.255.255.0
        gateway 192.168.0.X
Dear forum: Play nice ;-)

User avatar
janoble
Posts: 12
Joined: Fri Sep 28, 2012 11:53 pm

Re: Network Unreachable

Wed Oct 03, 2012 11:05 pm

Sure enough, that fixes this problem. Now I don't have any free USB ports. :cry:

Sort of defeats the reason I checked the compatible devices and chose this particular powered USB hub. I actually went through the list and checked to make sure everything I ordered to support the RPi was considered compatible.

Thanks
Joe
A computer may beat me at chess, but I always win at kick boxing.

User avatar
janoble
Posts: 12
Joined: Fri Sep 28, 2012 11:53 pm

Re: Network Unreachable

Wed Oct 03, 2012 11:15 pm

Now I'm finding my keyboard mapping is not right. I'm getting strange characters when I enter "special" characters like "@", "~" and "|". Things I needs to use.
A computer may beat me at chess, but I always win at kick boxing.

User avatar
janoble
Posts: 12
Joined: Fri Sep 28, 2012 11:53 pm

Re: Network Unreachable

Wed Oct 03, 2012 11:30 pm

I appreciate the responses.

My skill level is medium, since I used to be a Unix administrator (HP & Sun) and have worked networks for the last 25 years out of my 33 years of technical experience. I currently have five Windows computers ( one (1) XP, One (1) Win7 32bit Premium, two (2) Win7 64bit Premium, one Win7 64bit Ultimate) and three (3) Linux computers. The other Linux computers are running Centos 5.2 and 6.3.

I'd be happy to help troubleshoot these issues for the RPi community. Let me know if I can help.

Joe
A computer may beat me at chess, but I always win at kick boxing.

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: Network Unreachable

Wed Oct 03, 2012 11:53 pm

For the keyboard issue run

Code: Select all

sudo raspi-config 
and change the keyboard layout from GB to your region :-)
Dear forum: Play nice ;-)

User avatar
janoble
Posts: 12
Joined: Fri Sep 28, 2012 11:53 pm

Re: Network Unreachable

Thu Oct 04, 2012 12:21 am

Thanks, I'll try that the next time I boot the RPi.
A computer may beat me at chess, but I always win at kick boxing.

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Network Unreachable

Thu Oct 04, 2012 8:37 am

janoble wrote:Sure enough, that fixes this problem. Now I don't have any free USB ports. :cry:
You may be able to use your hub if you choose carefully which devices are plugged into the hub. A bit of experimentation may be necessary.

In general, try to avoid mixing USBv1 and USBv2 devices on the same hub. The command
lsusb -v
will give you detailed information on each device.

Most cheap keyboards are USBv1, so it might be best to try the keyboard in the RPi USB port and everything else in the hub.

No guarantees, but worth a try.

One consolation is that this is caused by a timing fault in the USB driver so is likely to be fixed sooner or later, so don't throw away any hardware.

User avatar
RaTTuS
Posts: 10377
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Network Unreachable

Thu Oct 04, 2012 8:46 am

start off booting to the command line only
then make sure you can get the networking working
so have only the keyboard plugged in
then having got the networking working
tail -f /var/log/syslog
plug the powered USB HUB in
plug other things in
ctrl-c
then startx

see where it breaks
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

dudeofx
Posts: 1
Joined: Tue Aug 19, 2014 12:25 pm

Re: Network Unreachable

Tue Aug 19, 2014 12:44 pm

I'd like to report that I am experiencing the same thing BUT my PI was working for like a year or so as a little personal webserver. Today I woke up and it wasn't working. It didn't crash, the ethernet simply stopped working. Pinging anything but itself yields Network Unreachable. The link LEDs are blinking O.o I had it configured with a static address, I changed it to DHCP just to check if it was talking to the router and it doesn't. ifup eth0 reports it can't get a lease on an IP. I get all the errors this guy gets with the exception of Failed to read register index 0x00000114 on dmesg

sooo, its a hardware issue
hoping that somebody tells me its not

UPDATE: Its probably those power sensitivity issues I hear about, I had a backup SD card and it doesn't want to boot up with that one anymore, also I had it hooked up to my monitor via HDMI to DVI adapter. That doesn't work either. The DVI issue existed when I first got the PI but after the 2nd or sometimes (rare) on the 3rd try it worked. Now it flat out doesn't work :( As a power source I tried my Laptop, the wall outlet, the Monitor's USB Hub and an external battery. Didn't make a difference. Out of 4 SD cards only 1 works O.o WTF? Did not overclock the thing, just used it as a webserver. BUT its been on 24/7 for about a year, I really can't remember.

Return to “Troubleshooting”