gerrymac1943
asked on
ping ubuntu 'block'
I have a pc running ubuntu. I checked the network connection using ping and it is unable to connect to the internet. I've checked the same internet connection with another identical pc running ubuntu and the connection is working. Any suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hi gerrymac1943:
please also show the ifconfig and ip route from the pc that do work.
Looking at the ifconfig above, i don't see a IPv4 address on eth0.
To try and diagnose you could try and force a dhcp update.
$ sudo dhclient eth0
please also show the ifconfig and ip route from the pc that do work.
Looking at the ifconfig above, i don't see a IPv4 address on eth0.
To try and diagnose you could try and force a dhcp update.
$ sudo dhclient eth0
ASKER
dhclient eth0 output from command
Listening on LPF/eth0/00:43:50:01:4a:ae
Sending on LPF/eth0/00:43:50:01:4a:ae
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 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Listening on LPF/eth0/00:43:50:01:4a:ae
Sending on LPF/eth0/00:43:50:01:4a:ae
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 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
will this device work if you add a static ip address to eth0?
gerrymac1943:
Ok so you are not getting any response to your DHCP requests.
Possible causes.
1. No DHCP server for the subnet or not connected
2. Wrong eth port on linux box ? Are there more than one eth ? # ifconfig
3. FW - Unlikely with default config
I agree with slushm: try to configure a static IP and proof that the linux box is not at fault, then try and fix the dhcp issue.
Ok so you are not getting any response to your DHCP requests.
Possible causes.
1. No DHCP server for the subnet or not connected
2. Wrong eth port on linux box ? Are there more than one eth ? # ifconfig
3. FW - Unlikely with default config
I agree with slushm: try to configure a static IP and proof that the linux box is not at fault, then try and fix the dhcp issue.
ASKER
how do i configure a static IP?
ifconfig eth0 192.xxx.xxx..xxx netmask 255.xxx.xxx.xxx - you have to know the addresses
ifconfig eht0 up
ifconfig eht0 up
ASKER
eth0 Link encap:Ethernet HWaddr 00:43:50:01:4a:ae
inet6 addr: fe80::260:43ff:fe01:4aae/6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3379 (3.3 KB) TX bytes:2178 (2.1 KB)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
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)