Hi
Originally Posted by
gordintoronto
There are some good suggestions in the link above to try.
You have a driver installed for the network card and it looks to be up and running correctly.
I'll give you some other things to check as well.
From the terminal
Code:
cat /sys/devices/pci0000:00/0000:02:01.0/net/eth0/carrier
If it's physically connected to the router you would expect to see a value of 1. If it returns a vlue of 0 then you are not physically connected to the router. Check your cabling etc.
I may have got the path incorrect. If so then check
Code:
cat /sys/devices/pci0000:00/*/net/eth0/carrier
If the path is still incorrect then run this command to find it.
Code:
find /sys -name carrier
On my server... Look for the path with eth0 in it.
Code:
server1:/home/matthew % find /sys -name carrier
/sys/devices/virtual/net/lo/carrier
/sys/devices/pci0000:00/0000:00:04.0/net/eth0/carrier
find: ‘/sys/kernel/debug’: Permission denied
server1:/home/matthew %
On my server...
Code:
server1:/home/matthew % cat /sys/devices/pci0000:00/*/net/eth0/carrier
1
server1:/home/matthew % cat /sys/devices/pci0000:00/0000:00:04.0/net/eth0/carrier
1
server1:/home/matthew %
Check network-manager is running correctly
Code:
service network-manager status
Expect to see output like this
Code:
matthew-S206:/home/matthew/Music % service network-manager status
network-manager start/running, process 1063
matthew-S206:/home/matthew/Music %
Check you have an ip address.
Expect output such as
Code:
server1:/home/matthew % ifconfig eth0
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1132 errors:0 dropped:0 overruns:0 frame:0
TX packets:486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124491 (124.4 KB) TX bytes:70162 (70.1 KB)
Interrupt:22
server1:/home/matthew %
See if you can ping things.
Try to ping your local router
Code:
ping -c3 <ip_address_of_router>
Then try an external site
Code:
server1:/home/matthew % ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=46 time=33.8 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=46 time=26.6 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=46 time=29.3 ms
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 26.600/29.933/33.848/2.990 ms
server1:/home/matthew %
Perform a lookup on a name
Code:
nslookup www.google.com
Expect to see output like this...
Code:
server1:/home/matthew % nslookup www.google.com
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: www.google.com
Address: 173.194.67.147
Name: www.google.com
Address: 173.194.67.99
Name: www.google.com
Address: 173.194.67.103
Name: www.google.com
Address: 173.194.67.105
Name: www.google.com
Address: 173.194.67.104
Name: www.google.com
Address: 173.194.67.106
server1:/home/matthew %
Each of these steps will help to isolate the problem area.
Post back if required on how far you got.
Kind regards
Bookmarks