Hi there,
I want my router to be scheduled this way: it goes off by 2am till 6am. I been looking into similar topic but i couldnt find solution for mu situation sorry.
Hi there,
I want my router to be scheduled this way: it goes off by 2am till 6am. I been looking into similar topic but i couldnt find solution for mu situation sorry.
There is no anacron on openwrt.
You can use sleep $RANDOM
instead
But there normally should not be resource hogging under OpenWRT in the long run, so keep your reboots to upgrades (like finest auc
, or owut
in later versions) only and try hard to stabilize normal operations.
Can you clarify what your goal is when you say "it goes off"?
There are means of scheduling firewall changes and/or turning on/off wifi. If you want the device to physically power off, the best way to do that would probably be an external power-switch timer device (one that does not require internet access to remain time-sync'd).
Sorry for providing less information,
Yes my main goal to stop internet access for whole network " pi r4 openwrt router aswell "
My whole home network connected to the openwrt router and i wish to make this schedule automatically
Thank you sir
Use a time based firewall rule to enable/disable the forward allowance from lan > wan.
This could cause a problem if the Pi ends up rebooting or being powered off (such as with a power glitch/outage)... The Pi does not have a real-time clock, so if it isn't allowed to reach the internet, the time cannot be set accurately and it may not re-activate internet access correctly.