New IT forum Follow us on Twitter
21 May 2012, 04:38:12 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: TonidoPlug2 - Now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: no connection to internet [SOLVED]  (Read 859 times)
benoitc
Newbie
*
Posts: 3


« on: 17 May 2011, 11:38:09 am »

Hi o all,

I just got my sheevaplug devkit and I can't connect to Internet. After a while it get an IP from DHCP, but resolving doesn't seem to work and the yellow led is on. Any idea what's going on ?

- benoît

Here are infos from dmesg:

net eth0: port 0 with MAC address f0:ad:4e:00:6c:31
eth0: link up, 100 Mb/s, full duplex, flow control disabled

from boot info:

All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/f0:ad:4e:00:6c:31
Sending on   LPF/eth0/f0:ad:4e:00:6c:31
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
eth0: link up, 100 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPOFFER from 192.168.1.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.254
bound to 192.168.1.3 -- renewal in 392390 seconds.

from /var/log/messages :
Apr 26 05:50:32 debian kernel: net eth0: port 0 with MAC address f0:ad:4e:00:6c:31
Apr 26 05:50:32 debian kernel: eth0: link up, 100 Mb/s, full duplex, flow control disabled

« Last Edit: 18 May 2011, 04:43:50 pm by benoitc » Logged
IvanSanchez
Newbie
*
Posts: 19


« Reply #1 on: 17 May 2011, 11:44:07 am »

After a while it gets an IP from DHCP, but resolving doesn't seem to work

Can you please check the contents of your /etc/resolv.conf file? It should look like
Code:
nameserver 111.222.333.444

Can you ping to an external IP address (e.g. google's 8.8.8.8 )?
Logged
benoitc
Newbie
*
Posts: 3


« Reply #2 on: 17 May 2011, 12:01:30 pm »

my /etc/resolv.conf is ok

Code:
# more /etc/resolv.conf
nameserver 212.27.40.240
nameserver 212.27.40.241

I can't ping neither to google or to a local machine.

More infos from mi-tool:

Code:

# mii-tool eth0
eth0: negotiated 100baseTx-FD, link ok
# mii-tool -v eth0
  eth0: negotiated 100baseTx-FD, link ok
  product info: vendor 00:50:43, model 36 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Logged
IvanSanchez
Newbie
*
Posts: 19


« Reply #3 on: 17 May 2011, 11:03:50 pm »

So it does fetch a IP from DHCP but is unable to ping a machine in the local network?!

In that case, I'd say "bring in the heavy artillery". Get wireshark running on a machine next to the plug, start sniffing. You should be able to see the packets related to the DHCP request/ack, and the packets related to pinging a local machine. wireshark should reveal more of the strange behaviour.
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #4 on: 18 May 2011, 07:41:51 am »

You could try loading a kernel from U-Boot via TFTP. That would be a test of the hardware, whereas right now I don't know if we can say if the problem is hardware or software.

See here for a procedure that involves using commands under U-Boot:

Code:
setenv serverip 192.168.1.2
setenv ipaddr 192.168.1.147
tftpboot 0x00800000 uImage
tftpboot 0x01100000 uInitrd

I think that if the uImage line were to fail, you should know about it.
Logged
benoitc
Newbie
*
Posts: 3


« Reply #5 on: 18 May 2011, 04:43:28 pm »

Figured it. IT was  a network issue here. I'musing ethernet over electricity and it seems that in the room I was testing the sheevaplug, this wasn't working. Sorry for the noise.

- benoît
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!