stavrischr
Posts: 3
Joined: Sun May 27, 2012 6:17 pm

Ethernet connection proble

Sun May 27, 2012 6:52 pm

I have been trying for the past 2 days to connect my Rpi to my network without any luck. I have tried 2 Ethernet cables, 3 power supplies (an Ipad 2, and 2 HTC) and 2 routers.The LNK led flashes constantly and the 10M led is on, all the time. I have loaded debian6-19-04-2012 on an 8GB sd card and I tried with static IP to ping any device on the network. Then I tried with DHCP and Rpi did not obtain an IP address from the router. Loopback ping works fine.

Static IP
[email protected]:/etc$ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:xx:xx:xx
inet addr:192.168.2.254 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1488 Metric:1
RX packets:0 errors:4 dropped:2 overruns:0 frame:2
TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:7700 (7.5 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:114 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10789 (10.5 KiB) TX bytes:10789 (10.5 KiB)

[email protected]:/etc$ ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.254 icmp_seq=2 Destination Host Unreachable
From 192.168.2.254 icmp_seq=3 Destination Host Unreachable
From 192.168.2.254 icmp_seq=6 Destination Host Unreachable
From 192.168.2.254 icmp_seq=7 Destination Host Unreachable
From 192.168.2.254 icmp_seq=9 Destination Host Unreachable
From 192.168.2.254 icmp_seq=10 Destination Host Unreachable
^C
--- 192.168.2.1 ping statistics ---
11 packets transmitted, 0 received, +6 errors, 100% packet loss, time 10012ms
pipe 3
[email protected]:/etc$ ping 192.168.2.254
PING 192.168.2.254 (192.168.2.254) 56(84) bytes of data.
64 bytes from 192.168.2.254: icmp_req=1 ttl=64 time=0.176 ms
64 bytes from 192.168.2.254: icmp_req=2 ttl=64 time=0.117 ms
64 bytes from 192.168.2.254: icmp_req=3 ttl=64 time=0.125 ms
64 bytes from 192.168.2.254: icmp_req=4 ttl=64 time=0.126 ms
64 bytes from 192.168.2.254: icmp_req=5 ttl=64 time=0.128 ms
64 bytes from 192.168.2.254: icmp_req=6 ttl=64 time=0.135 ms
^C
--- 192.168.2.254 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4997ms
rtt min/avg/max/mdev = 0.117/0.134/0.176/0.022 ms
[email protected]:/etc$ ping 192.168.2.100
PING 192.168.2.100 (192.168.2.100) 56(84) bytes of data.
From 192.168.2.254 icmp_seq=1 Destination Host Unreachable
From 192.168.2.254 icmp_seq=2 Destination Host Unreachable
From 192.168.2.254 icmp_seq=3 Destination Host Unreachable
From 192.168.2.254 icmp_seq=5 Destination Host Unreachable
From 192.168.2.254 icmp_seq=6 Destination Host Unreachable
From 192.168.2.254 icmp_seq=7 Destination Host Unreachable
^C
--- 192.168.2.100 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7005ms
pipe 3



DHCP (Dynamic IP)

[email protected]:~$ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1488 Metric:1
RX packets:0 errors:8 dropped:4 overruns:0 frame:4
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1050 (1.0 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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)

Can anyone tell me if this is a hardware problem?

Thank you in advance

User avatar
mxcum167
Posts: 41
Joined: Sun Mar 04, 2012 11:56 am
Location: UK
Contact: Website

Re: Ethernet connection proble

Sun May 27, 2012 7:46 pm

Have you tried using a different IP address on the RasPi. 192.168.x.1 and 192.168.x.254 tend to be favorite addresses for Router manufacturers to use for Gateway addresses and shared device addresses, i.e. printers and USB drives etc.

Have you got other devices using DHCP happily on your network?

Martin.
Martin www.chez-cummings.com

stavrischr
Posts: 3
Joined: Sun May 27, 2012 6:17 pm

Re: Ethernet connection proble

Sun May 27, 2012 8:05 pm

mxcum167 wrote:Have you tried using a different IP address on the RasPi. 192.168.x.1 and 192.168.x.254 tend to be favorite addresses for Router manufacturers to use for Gateway addresses and shared device addresses, i.e. printers and USB drives etc.

Have you got other devices using DHCP happily on your network?

Martin.
My first static IP attempt was actually with 192.168.2.100, so I don't think that is a IP conflict. My router's IP was 192.168.2.1.

On the same network that I attached Rpi were connected at least 5 devices; 1 wired and 4 wireless.

stavrischr
Posts: 3
Joined: Sun May 27, 2012 6:17 pm

Re: Ethernet connection proble

Wed May 30, 2012 5:57 pm

I got a raspberry replacement this morning and now everything works perfect!

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

Re: Ethernet connection proble

Sat Sep 29, 2012 12:21 am

I'm having the same problem.

Here's a screen shot of my attempt to ping and look at ifconfig:

+-------------------------------------------------+
[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)
+-------------------------------------------------+

The RPi board LEDS:
OK: Off (flicker during boot)
PWR: Red

FDX: Green
LNK: Green
10M: Amber

Voltage check at TP1/TP2 5.0 Volrs

I boot directly to the GUI and know the RPi is connecting to my router since I see it's MAC address on the router.

Based on the previous post should I request a replacement RPi?

Does anyone have sugge
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: Ethernet connection proble

Sun Sep 30, 2012 7:09 pm

... continued troubleshooting today.


+-------------- 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.

[u]My Peripherals[/u]
* 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...


This failure to write/read to register index 0x00000114 leads me to believe that my RPi is defective. Does anyone have any suggestions?

Need help deciding how to go forward!

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

Return to “Troubleshooting”