Closed 130s closed 1 year ago
Resolved by itself, it looks like.
bard.google.com returned this answer.
Q. My linux host wasn't accessible over IP network for hours. Here's a piece from syslog. What do you think was happening?
``` Apr 12 12:17:22 130s-rpi4-1 dbus-daemon[1046]: [session uid=1000 pid=1046] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by \ ':1.10' (uid=1000 pid=1604 comm="pcmanfm --desktop --profile LXDE-pi ") Apr 12 12:17:22 130s-rpi4-1 systemd[934]: Starting Virtual filesystem service - digital camera monitor... Apr 12 12:17:22 130s-rpi4-1 dbus-daemon[1046]: [session uid=1000 pid=1046] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor' Apr 12 12:17:22 130s-rpi4-1 systemd[934]: Started Virtual filesystem service - digital camera monitor. Apr 12 12:17:22 130s-rpi4-1 dbus-daemon[1046]: [session uid=1000 pid=1046] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.10' \ (uid=1000 pid=1604 comm="pcmanfm --desktop --profile LXDE-pi ") Apr 12 12:17:22 130s-rpi4-1 systemd[934]: Starting Virtual filesystem service - Media Transfer Protocol monitor... Apr 12 12:17:22 130s-rpi4-1 dhcpcd[556]: eth0: no IPv6 Routers available Apr 12 12:17:22 130s-rpi4-1 dbus-daemon[1046]: [session uid=1000 pid=1046] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor' Apr 12 12:17:22 130s-rpi4-1 systemd[934]: Started Virtual filesystem service - Media Transfer Protocol monitor. Apr 12 12:17:22 130s-rpi4-1 dbus-daemon[1046]: [session uid=1000 pid=1046] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.10' \ (uid=1000 pid=1604 comm="pcmanfm --desktop --profile LXDE-pi ") Apr 12 12:17:22 130s-rpi4-1 systemd[934]: Starting Virtual filesystem service - GNOME Online Accounts monitor... Apr 12 12:17:23 130s-rpi4-1 dbus-daemon[1046]: [session uid=1000 pid=1046] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor' Apr 12 12:17:23 130s-rpi4-1 systemd[934]: Started Virtual filesystem service - GNOME Online Accounts monitor. Apr 12 12:17:24 130s-rpi4-1 dbus-daemon[440]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.44' (uid=1000 pid=1601 comm="lxpanel --\ profile LXDE-pi ") Apr 12 12:17:24 130s-rpi4-1 systemd[1]: Starting PackageKit Daemon... Apr 12 12:17:24 130s-rpi4-1 PackageKit: daemon start Apr 12 12:17:24 130s-rpi4-1 dhcpcd[556]: vethb4b975c: probing for an IPv4LL address Apr 12 12:17:24 130s-rpi4-1 dbus-daemon[440]: [system] Successfully activated service 'org.freedesktop.PackageKit' Apr 12 12:17:24 130s-rpi4-1 systemd[1]: Started PackageKit Daemon. Apr 12 12:17:28 130s-rpi4-1 dhcpcd[556]: vethb4b975c: using IPv4LL address 169.254.86.35 Apr 12 12:17:28 130s-rpi4-1 avahi-daemon[438]: Joining mDNS multicast group on interface vethb4b975c.IPv4 with address 169.254.86.35. Apr 12 12:17:28 130s-rpi4-1 avahi-daemon[438]: New relevant interface vethb4b975c.IPv4 for mDNS. Apr 12 12:17:28 130s-rpi4-1 avahi-daemon[438]: Registering new address record for 169.254.86.35 on vethb4b975c.IPv4. Apr 12 12:17:28 130s-rpi4-1 dhcpcd[556]: vethb4b975c: adding route to 169.254.0.0/16 Apr 12 12:17:31 130s-rpi4-1 dhcpcd[556]: vethb4b975c: no IPv6 Routers available Apr 12 12:17:33 130s-rpi4-1 systemd[1]: systemd-fsckd.service: Succeeded. Apr 12 12:17:44 130s-rpi4-1 systemd[1]: systemd-hostnamed.service: Succeeded. Apr 12 12:17:51 130s-rpi4-1 packagekitd[1883]: http://deb.debian.org/debian bullseye InRelease is not (yet) available (Temporary failure resolving 'deb.debian.org') Apr 12 12:17:51 130s-rpi4-1 packagekitd[1883]: http://archive.raspberrypi.org/debian bullseye InRelease is not (yet) available (Temporary failure resolving 'archive.raspberrypi.org') Apr 12 12:17:51 130s-rpi4-1 PackageKit: refresh-cache transaction /472_bacaeada from uid 1000 finished with failed after 27459ms Apr 12 12:17:51 130s-rpi4-1 packagekitd[1883]: http://security.debian.orgView other drafts ```Based on the syslog you provided, it appears that your Linux host was not accessible over IP network for hours because it was unable to resolve DNS names.
The first few lines of the syslog show that your host was successfully able to obtain an IPv4LL address (169.254.86.35). This means that your host was able to connect to the local network, but it was unable to connect to the internet.
The lines that start with "packagekitd" show that your host was trying to update its software packages. However, it was unable to resolve the DNS names for the Debian and Raspberry Pi repositories. This prevented your host from downloading the latest software updates, which may have caused it to become inaccessible over IP network.
To fix this issue, you can try the following:
- Check your DNS settings to make sure that they are correct.
- Flush your DNS cache.
- Restart your DNS server.
- Try connecting to the internet from another device to see if the issue is with your host or your internet connection.
If you are still unable to resolve the issue, you can contact your internet service provider for assistance.
Other hosts were also experiencing unusual laggy response in both WAN and LAN communications, but not as extreme as this rpi4 host, which doesn't give a hint for why DNS failed for rpi4 host.
I can dig more but stops here for now.
Looking at the logbook on Lovelace, HASS kept receiving events from devices during the issue was happening, some of which are from IP-based (e.g. ring.com home server). Hmmmmmm.
Tech resolution to https://github.com/kinu-garage/30y-130s_life/issues/1674
Issue
ping
).What is attempted but does not seem effective