Recently I see that I often lose internet connectivity on my Linux machines. I am starting to think that it may be a router problem, but I have no idea to check if this is indeed the problem.
Basically what happens is that if I type ifconfig
I get the list of all the interfaces, but none of them have an assigned IP address. Even when I use dhclient
to pull a random IP address, I still am not able to ping or surf the web.
This is an example of ifconfig
output:
eth0 Link encap:Ethernet HWaddr 08:00:27:b3:da:a1
inet6 addr: fe80::a00:27ff:feb3:daa1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1351 (1.3 KB) TX bytes:6466 (6.4 KB)
How can I troubleshoot internet connectivity issues? What files do I have to look at?