Re: logging network disconnections

2022-08-09 Thread George N. White III
On Mon, Aug 8, 2022 at 4:27 AM Tim via users 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

Re: logging network disconnections

2022-08-08 Thread Barry
> On 9 Aug 2022, at 05:35, Tim via users wrote: > > On Mon, 2022-08-08 at 06:49 -0500, Roger Heflin wrote: >> ping either the router on the ISP, or ping one of the DNS servers. > > I had thought about that, but also wondered if repeatedly pinging such > things would bring up a firewall rule a

Re: logging network disconnections

2022-08-08 Thread Tim via users
On Mon, 2022-08-08 at 06:49 -0500, Roger Heflin wrote: > ping either the router on the ISP, or ping one of the DNS servers. I had thought about that, but also wondered if repeatedly pinging such things would bring up a firewall rule against me. Even a slow ping rate, but over a long length of tim

Re: logging network disconnections

2022-08-08 Thread Roger Heflin
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

logging network disconnections

2022-08-08 Thread Tim via users
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