04-05-2025, 01:11 AM
Hm, I'm stuck. For some reason the cron job kills wifi for good after about 6 hours instead of ~24. I see nothing in journalctl that would indicate why, just a whole lot of:
I can also confirm that the router still has a lease on its IP for a few more days (according to the router) when it loses wifi. Any other ideas?
Code:
Apr 04 10:30:01 moodeUnk CRON[9178]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
Apr 04 10:30:01 moodeUnk CRON[9179]: (root) CMD (/home/taynaron/wifi_ping_reset.sh)
Apr 04 10:30:02 moodeUnk CRON[9178]: pam_unix(cron:session): session closed for user root
Apr 04 10:30:03 moodeUnk systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
Apr 04 10:30:03 moodeUnk systemd[1]: sysstat-collect.service: Deactivated successfully.
Apr 04 10:30:03 moodeUnk systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
I can also confirm that the router still has a lease on its IP for a few more days (according to the router) when it loses wifi. Any other ideas?