Hello everyone been using ipfire on a APU2E0 with a WLE200NX. Everything seems solid. After using it for a while I would like to turn off wifi. Is it possible via cron or would everyone agree that it is easier just blocking internet access? I am looking to turn off wifi from 00:00 - 06:00. My cron would be as follows:
00 00 * * * wifi down
00 06 * * * wifi up
in fcrontab
Please go easy on me. All advise welcome. Thanks in advance.
your suggestion did not work Tulpenknicker,
a workaround that i found was to block internet access on blue thru firewall rule with schedule.
block blue going to red and it works.
it there a reason why your suggestion would not work? would it need a sudo at the beginning or .sh at the end? where can we find hostapd commands for ipfire to test the stop/start? thanks anyway.
hi pierre,
thanks for the response. not to sound like an idiot but i have no experience with IPFire. i have dealt with openwrt and it seems different.
in 00 00 * * * /XXX/wifi_stop.sh what would i input for /XXX/.
i am able to execute the hostapd on/off commands manually but cannot get it to work in cron. any suggestions tulpenknicker? i’ve tried thru nano fcrontab -e and wrote as above but no luck. can you paste your location of file. thanks.
This works! Can this please be added as a feature request? Tulpenknicker or Pierre? I’m willing to donate if this feature is added to wlan settings. thank you.