only one ping from router

pete smout psmouty at live.com
Tue Jun 18 19:57:56 UTC 2013


On 18/06/13 17:10, Josh Stratton wrote:
> The internet on my desktop suddenly stopped working while watching a
> video.  I don't think anything has changed recently as far as
> configuration goes.  It seems like the eth0 interface is getting an IP
> address from my router, but I can only ping myself.  dns names don't
> resolve like if I ping yahoo.com <http://yahoo.com>.  If I ping the
> router at 192.168.0.1, I seem to only get one response back before it
> hangs and times out.  I've been trying to debug this myself, but I'm
> unfamiliar with what files are used for what now.
>
> 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
>
> *** grep dns /etc/NetworkManager/NetworkManager.conf
>
> #dns=dsnmasq

Shouldn't that say dnsmasq, I know it's commented but.....

> *** cat /var/run/nm-dns-dnsmasq.conf
> File doesn't exist...
>
> *** nslookup ubuntu.com <http://ubuntu.com>
>
> ;; connection timed out; no servers could be reached
>
> *** dig ubuntuforums.org <http://ubuntuforums.org>
>
> ; <<>> DiG 9.8.1-P1 <<>> ubuntuforums.org <http://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
>
>






More information about the ubuntu-users mailing list