On 7/16/23 11:34, Daniel Bauer wrote:
Am 16.07.23 um 21:19 schrieb Dave Howorth:
On Sun, 16 Jul 2023 21:01:26 +0200 Daniel Bauer <linux@daniel-bauer.com> wrote:
Am 16.07.23 um 20:47 schrieb Carlos E. R.:
On 2023-07-16 19:01, Daniel Bauer wrote:
Like every 8 days my mini-computer loses cabled network connection (see original post for details). It happened again today.
Is it every 8 days, like a clock?
I can only say from my emails here to that list that I sent the days it happened: 2., 9, and 16. of July, always during the night before (don't know the hour, just see in the morning that it doesn't work anymore)
Always the night from Saturday to Sunday...
Err, so you're saying it is every seven days, not every eight days?! And always the same day of the week?
Yeah, counting the days gets more complicated when one gets old, it seems :-)
But yes, until now it occurred always in the night from Saturday to Sunday.
What about the time; is that regular?
I don't know.
The last times I repaired it Sunday morning, today I did it in the afternoon. Maybe it stops later the next time?
(you could leave ping in a shell script loop every minute or so to see)
How could I do that so that it only pings once every half an hour and adds the result to a file? When I type "ping ..." it pings endless until I break it with ctrl-c...
I have a little "smart" gizmo to turn the power off, for 1 minute, every Thursday morning at 2:24. The cable modem/router and my wifi router are plugged into it. To verify it was working I... From the crontab: # Minute Hour mday month wday command 23 02 * * 4 /home/bill/bin/ptyd You could use */2 for the hour. ptyd (ping till you drop) looks like: date ping -c2 www.yahoo.com <actually I use my domain> sleep 20 <and that's repeated for a couple of minutes>