only one ping from router

tk tk at sawada-co.tk
Wed Jun 19 00:30:45 UTC 2013


 On Tue, 18 Jun 2013 09:10:59 -0700 
 Subject: only one ping from router 
 Josh Stratton <strattonbrazil at gmail.com> Wrote:

> Is there something I can do to fix networking?  Other computers attached to
> the router don't seem to be having any issues.
> 
> *** ifconfig
> 
> eth0 Link encap:Ethernet HWaddr 00:24:1d:2a:8f:f7
> inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:503 errors:0 dropped:0 overruns:0 frame:0
> TX packets:975 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:56798 (56.7 KB) TX bytes:89027 (89.0 KB)
> 
> eth1 Link encap:Ethernet HWaddr 00:1f:d0:81:a2:ef
> UP BROADCAST MULTICAST MTU:1500 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:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> 
> 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:940 errors:0 dropped:0 overruns:0 frame:0
> TX packets:940 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:75216 (75.2 KB) TX bytes:75216 (75.2 KB)
> 
> 
> *** cat /etc/resolv.conf
> File doesn't exist...
> 
> *** ls -l /etc/resolv.conf
> Broken link

Please check symbolic link of /etc/resolv.conf.
If resolv.conf does not exist, DNS client does not work.

> *** grep dns /etc/NetworkManager/NetworkManager.conf
> 
> #dns=dsnmasq
> 
> *** cat /var/run/nm-dns-dnsmasq.conf
> File doesn't exist...
> 
> *** nslookup ubuntu.com
> 
> ;; connection timed out; no servers could be reached
> 
> *** dig ubuntuforums.org
> 
> ; <<>> DiG 9.8.1-P1 <<>> ubuntuforums.org
> ;; global options: +cmd
> ;; connection timed out; no servers could be reached
> 
> *** route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
> 192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0 0 eth0
> 192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0

Route of Default GW does not exist.
You must have the following entries.
0.0.0.0  192.168.0.1  0.0.0.0  UG  100  0  0  eth0

> 192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0 0 eth0

The above entry to be deleted.

tk




More information about the ubuntu-users mailing list