ping either the router on the ISP, or ping one of the DNS servers. If you want to be truly accurate you might ping the ISP router. That would detect connection to the ISP router works, but connection to the DNS servers further in the network does not. On Mon, Aug 8, 2022 at 2:27 AM Tim via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > Hi, > > If I want to log loss of connections to my router, what's a good way of > going about it? > > Adding a script in "/etc/NetworkManager/dispatcher.d"? > > Would that handle cases of loss of "internet connection" when it's not > a loss of the physical link between the PC and network switch? > > ISP -- Router -- ethernet switch --> everything on my LAN > > Frequently things on my LAN (cabled) would stop working, some with > error messages about "loss of internet" (e.g. firefox) others don't > give error messages (e.g. internet media devices, like a bluray player > with a YouTube app). > > I'm fairly certain it's a bad router. The ethernet switch is brand new > and bought after the problems began. Logging into the router (and > doing nothing more than log into it) would usually bring things back to > life. > > When I'm using devices, it's fairly obvious to me that it's gone for a > nap. I'm wondering how often things are going bad when I didn't > notice. > > > -- > > uname -rsvp > Linux 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64 > > Boilerplate: All unexpected mail to my mailbox is automatically deleted. > I will only get to see the messages that are posted to the mailing list. > > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue