Temat: Nahalne wyłączanie wifi
Witam.
Mam ruter WDR4300 z OpenWrt 19.07 r11081 od Cezarego.
Włączony mam harmonogram WiFi konfig poniżej.
W ciągu tzw. dni pracujących wifi ma nie być rozłączane nawet jak jest podłączony jakiś klient.
Natomiast w weekend wifi ma być wyłączone.
Problem w tym że jeżeli gdy w tygodniu klient jest podłączony do wifi to operacja wyłączenia powtarzana jest co godzinę to dla mnie jest zrozumiałe.
Problem pojawia się gdy wifi ma się ponownie włączyć jak widać o godz 6:00 Thu May 28 06:00:00 CEST 2020 /usr/bin/wifi_schedule.sh start
Niestety mimo iż rozpoczął się okres kiedy wifi ma być aktywne skrypt nadal weryfikuje podłączonych klientów i stara się wyłączyć wifi już w ciągu dnia kiedy tego robić nie powinien.
Najgorsze jest to gdy w ciągu dnia wszyscy klienci wifi się odłączą to skrypt wyłącza wifi i będzie tak nie aktywne do następnego dnia do godz 6:00 lub gdy nie włączę go ręcznie w ruterze.
Czy istnieje jakiś sposób inny niż wymuszenie wyłączania wifi nawet gdy podłączeni są klienci ?
config global
option recheck_interval '10'
option modules_retries '10'
option unload_modules '0'
option enabled '1'
option logging '1'config entry 'Businesshours'
option starttime '06:00'
option forcewifidown '0'
option daysofweek 'Monday Tuesday Wednesday Thursday'
option enabled '1'
option stoptime '23:45'config entry 'Weekend'
option stoptime '02:00'
option forcewifidown '1'
option daysofweek 'Friday Saturday Sunday'
option enabled '1'
option starttime '06:30'
Logi
Wed May 27 18:58:17 CEST 2020 /usr/bin/wifi_schedule.sh cron
Wed May 27 23:45:00 CEST 2020 /usr/bin/wifi_schedule.sh stop
Wed May 27 23:45:01 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Wed May 27 23:45:01 CEST 2020 Could not disable wifi due to associated stations, retrying...
Wed May 27 23:50:00 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Wed May 27 23:50:00 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Wed May 27 23:50:00 CEST 2020 Could not disable wifi due to associated stations, retrying...
Thu May 28 00:00:00 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Thu May 28 00:00:00 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Thu May 28 00:00:01 CEST 2020 Could not disable wifi due to associated stations, retrying...
Thu May 28 00:10:00 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Thu May 28 00:10:00 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Thu May 28 00:10:00 CEST 2020 Could not disable wifi due to associated stations, retrying...
Thu May 28 00:20:00 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Thu May 28 00:20:00 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Thu May 28 00:20:00 CEST 2020 Could not disable wifi due to associated stations, retrying...
...
Thu May 28 05:50:00 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Thu May 28 05:50:00 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Thu May 28 05:50:00 CEST 2020 Could not disable wifi due to associated stations, retrying...
Thu May 28 06:00:00 CEST 2020 /usr/bin/wifi_schedule.sh start
Thu May 28 06:00:00 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Thu May 28 06:00:02 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Thu May 28 06:00:02 CEST 2020 Could not disable wifi due to associated stations, retrying...
...
Thu May 28 16:00:00 CEST 2020 Station(s) 38:00:xx:xx:xx:xx 80:35:xx:xx:xx:xx associated on wlan1
Thu May 28 16:00:00 CEST 2020 Could not disable wifi due to associated stations, retrying...
Thu May 28 16:10:01 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Thu May 28 16:10:01 CEST 2020 Station(s) 80:35:xx:xx:xx:xx associated on wlan1
Thu May 28 16:10:01 CEST 2020 Could not disable wifi due to associated stations, retrying...
Thu May 28 16:20:00 CEST 2020 /usr/bin/wifi_schedule.sh recheck
Thu May 28 16:20:00 CEST 2020 No stations associated, disable wifi.
Thu May 28 17:43:00 CEST 2020 /usr/bin/wifi_schedule.sh start manual
| WDR4300 @ OpenWrt 21.02 / LuCI -> extroot, sieć gościnna, WINS serwer
| MR3020 @ MiFi 17.01 -> E3372 HiLink
| WR842ND v2 @ Gargoyle PL 1.13.0 -> testy