Hello all,
Since I installed Openwrt on my Archer C7 I've bean trying in every way to make my cron jobs work properly.
I have 3 SSIDs - 2.4 Ghz / 5Ghz / Guests(2.4) . I only user the one with 5Ghz, the other 2 are always off.
So my Scheduled Tasks look like this :
The first cron job works, the second(reboot) also works, BUT the 3'd one not always. Sometimes at 6:50AM my wifi is UP. Sometimes at 7:30AM my wifi is still DOWN...and I have no ideea why.
Does something happens to the cron jobs after rebooting the router ?
Daily (or anything more often than for full upgrade) reboot is unnecessary, you should identify underlying problem if there is any.
There is wifischedule package for your purpose.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Thank you for the response. Rebooting it's for me more like muscle memory. I work with a lot of routers, and they all misbehave if I don't reboot them once a month...I guess linux is way more reliable.
I will post the result as soon as I have access to the router. Are you looking for something in particular ?
I found on some sites, command like also using "uci commit wireless" and chatgpt did give me this option to temporarly turn radio0 off(in my case), what do you think ?
Really ? Have you ever seen "killed flash" because of one write/day ? I have a lot of different devices, doing something similar, (also) to help time sync after boot, and never had a problem with it. Devices are up to 10 yrs old.
cron uses its own, special "environment" when doing its job. Which might be an issue here, as "wifi up/down" creates quite some activity. Using the approach with uci set wireless.radio0.disabled=0/1 looks simpler. You might even consider sed -i 's/wireless.radio.disabled=./wireless.radio.disabled=0/' /etc/config/wireless && uci commit (not shure, whether required) && network restart
The upgrade is a bit strange and new for me.
I don't yet know how updated are done in Openwrt. Does the OS notify me when there is a new upgrade ?
Do I have to seek manually ?
Is there a global os upgrade, or individually by router's model ?
Do I have to monitor this site ?
Still I noticed a difference of versions
If I search for "TP-Link Archer C7 v2" here, I get the latest version : 23.05.3
and
If I search for "TP-Link Archer C7 v2" here, I get : 23.05.4
so why is that ?