My laptop (a Lenovo T410 running Stretch) has suddenly lost the ability
to access the Internet.
cjg@cjglap2:~$ ping pop.surfnaked.ca
PING pop.surfnaked.ca (216.113.192.36) 56(84) bytes of data.
--- pop.surfnaked.ca ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2037ms
I don't know whether this is coincidence, but it started happening when
I got my laptop home from a trip where I accessed several foreign wifi
hotspots. The Ethernet interface doesn't work at home anymore either,
although I can still access my LAN by either Ethernet or wifi.
I was wondering whether my routing table got borked:
cjg@cjglap2:~$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
default gateway 0.0.0.0 UG 0 0 0
wlp3s0
default gateway 0.0.0.0 UG 0 0 0
enp0s25
link-local 0.0.0.0 255.255.0.0 U 1000 0 0
wlp3s0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0
enp0s25
192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0
wlp3s0
What's that word "gateway" doing in the "Gateway" column? Why doesn't
it show my router's IP address (192.168.0.1) like my desktop machine
does? (Or the "ip route" command, for that matter.)
cjg@cjglap2:~$ ip route
default via 192.168.0.1 dev wlp3s0
default via 192.168.0.1 dev enp0s25
169.254.0.0/16 dev wlp3s0 scope link metric 1000
192.168.0.0/24 dev enp0s25 proto kernel scope link src 192.168.0.36
metric 100
192.168.0.0/24 dev wlp3s0 proto kernel scope link src 192.168.0.38
metric 600
The router is accessible, just not in the routing table:
cjg@cjglap2:~$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.02 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.466 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=1.01 ms
--- 192.168.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2033ms
rtt min/avg/max/mdev = 0.466/0.835/1.021/0.262 ms
If I try to access the name "gateway", it looks up an IPv6 address,
although I'm set up for IPv4:
cjg@cjglap2:~$ ping gateway
PING gateway(gateway (fe80::1278:5bff:fec8:34d0%enp0s25)) 56 data bytes
64 bytes from gateway (fe80::1278:5bff:fec8:34d0%enp0s25): icmp_seq=1
ttl=64 time=1.09 ms
64 bytes from gateway (fe80::1278:5bff:fec8:34d0%enp0s25): icmp_seq=2
ttl=64 time=1.15 ms
64 bytes from gateway (fe80::1278:5bff:fec8:34d0%enp0s25): icmp_seq=3
ttl=64 time=1.09 ms
--- gateway ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.095/1.114/1.151/0.026 ms
What has happened to my routing and how can I restore it?
--
cgi...@surfnaked.ca (Charlie Gibbs)