only one ping from router
Colin Law
clanlaw at googlemail.com
Thu Jun 20 07:07:53 UTC 2013
On 19 June 2013 13:57, Tom H <tomh0665 at gmail.com> wrote:
> On Tue, Jun 18, 2013 at 12:10 PM, 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.
>>
>> Is there something I can do to fix networking? Other computers attached to
>> the router don't seem to be having any issues.
> ...
>>
>> *** ls -l /etc/resolv.conf
>> Broken link
>
> Recreate the symlink to "/run/resolvconf/resolv.conf".
>
>
>> *** grep dns /etc/NetworkManager/NetworkManager.conf
>> #dns=dsnmasq
>>
>> *** cat /var/run/nm-dns-dnsmasq.conf
>> File doesn't exist...
>
> Given the "#dns=dsnmasq" above, it cannot exist. And it doesn't matter.
>
>
>> *** nslookup ubuntu.com
>> ;; connection timed out; no servers could be reached
>>
>> *** dig ubuntuforums.org
>> ;; connection timed out; no servers could be reached
>
> They won't work without "/etc/resolv.conf".
>
>
>> *** route -n
>> 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
>
> You don't have a route leading out of your 192.168.0.0/24 network (and
> two for your network...).
I find it difficult to understand how errors such as the missing
resolv.conf and the missing routes could suddenly appear in the middle
of watching a video. Possibly the fact that the OP has not responded
means that he realised that he was doing something silly.
Colin
More information about the ubuntu-users
mailing list