only one ping from router

Colin Law clanlaw at googlemail.com
Tue Jun 18 16:28:30 UTC 2013


On 18 June 2013 17:10, Josh Stratton <strattonbrazil at gmail.com> 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.  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.

If it was all working and then suddenly stopped it could be hardwar.
Try swapping ethernet cables with one of the working machines if
possible (leave the cables plugged into their original connections in
the router so that you are checking the cable and connection at the
router).  Also try disconnecting all other PCs from the router in case
you have somehow got two with the same IP address.

In Network Manager > Connection Information does it show the Default
Route and DNS servers correctly?

Colin

>
> 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
>
> *** 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list