Check if network cable is plugged in and working correctly
$ sudo mii-tool eth0
Ex:
arul@arul-desktop:~$ sudo mii-tool eth0
eth0: negotiated 100baseTx-FD flow-control, link ok
If you want brief info about network cable try thus,
$ sudo ethtool eth0
Ex:
arul@arul-desktop:~$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
.
.
.
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
--
Regards,
Tha.Suresh
Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com
My experiences with Linux are here,
http://thasulinux.wordpress.com