Sometimes after a week or two of a “life segment”, my GoPiGo3/Raspberry Pi robot's WiFi dongle address stops responding
ssh pi@X.0.0.X … pi@X.0.0.X Host is down
and when I connect with WiFi built-in address X.0.0.Y, everything looks fine in ifconfig - up, no RX or TX errors.
I’m wondering if the issue might be in my Xfinity WiFi router (SCIENTIFIC ATLANTA DPC3941T), not the dongle.
Rebooting the Raspberry Pi, or unplugging and replugging the WiFi dongle will repair the incident, but how can I debug this to determine the cause?
pi@Carl:~/Carl $ packet_write_poll: Connection to X.0.0.X port 22: Host is down
Mac$ ssh pi@X.0.0.X
ssh: connect to host X.0.0.X port 22: Host is down
Mac$ ssh pi@X.0.0.Y
pi@X.0.0.Y's password:
Linux Carl 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jan 18 00:44:42 2020 from X.0.0.Z
pi@Carl:~ $ ifconfig
eth0: flags=4099 < UP,BROADCAST,MULTICAST > mtu 1500
ether b8:...:86 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 < UP,LOOPBACK,RUNNING > mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10 < host >
loop txqueuelen 1000 (Local Loopback)
RX packets 3112 bytes 186720 (182.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3112 bytes 186720 (182.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163 < UP,BROADCAST,RUNNING,MULTICAST > mtu 1500
inet X.0.0.X netmask 255.255.255.0 broadcast X.0.0.255
inet6 fe80::..1 prefixlen 64 scopeid 0x20 < link >
inet6 26..ff prefixlen 128 scopeid 0x0 < global >
ether b4..b txqueuelen 1000 (Ethernet)
RX packets 2173 bytes 907969974 (865.9 MiB)
RX errors 0 dropped 258 overruns 0 frame 0
TX packets 3675 bytes 106031839 (101.1 MiB)
TX errors 0 dropped 6 overruns 0 carrier 0 collisions 0
wlan1: flags=4163 < UP,BROADCAST,RUNNING,MULTICAST > mtu 1500
inet X.0.0.Y netmask 255.255.255.0 broadcast X.0.0.255
inet6 26...9a prefixlen 128 scopeid 0x0 < global >
inet6 fe8...ce5 prefixlen 64 scopeid 0x20 < link >
inet6 26...aa prefixlen 64 scopeid 0x0 < global >
ether b8:...d3 txqueuelen 1000 (Ethernet)
RX packets 245090 bytes 26383152 (25.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1873 bytes 403869 (394.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
pi@Carl:~ $
... View more