Currently translated at 100.0% (49 of 49 strings) Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (3 of 3 strings) Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (195 of 195 strings) Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (211 of 211 strings) Translation: OpenWrt/LuCI/applications/dockerman Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 19.6% (38 of 193 strings) Translation: OpenWrt/LuCI/applications/banip Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (169 of 169 strings) Translation: OpenWrt/LuCI/applications/adblock Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (29 of 29 strings) Translation: OpenWrt/LuCI/applications/vpnbypass Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (38 of 38 strings) Translation: OpenWrt/LuCI/applications/advanced-reboot Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (164 of 164 strings) Translation: OpenWrt/LuCI/applications/mwan3 Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (196 of 196 strings) Translation: OpenWrt/LuCI/applications/ddns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (169 of 169 strings) Translation: OpenWrt/LuCI/applications/travelmate Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/zh_Hant/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (191 of 191 strings) Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (32 of 32 strings) Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (341 of 341 strings) Translated using Weblate (Chinese (Traditional)) Currently translated at 91.0% (1584 of 1739 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hant/ Added translation using Weblate (Chinese (Traditional)) Added translation using Weblate (Chinese (Traditional)) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (1739 of 1739 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/ Translated using Weblate (English) Currently translated at 100.0% (49 of 49 strings) Translated using Weblate (German) Currently translated at 73.4% (36 of 49 strings) Translated using Weblate (Finnish) Currently translated at 100.0% (3 of 3 strings) Translated using Weblate (German) Currently translated at 100.0% (3 of 3 strings) Translated using Weblate (Slovak) Currently translated at 100.0% (13 of 13 strings) Translation: OpenWrt/LuCI/applications/hd-idle Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/sk/ Translated using Weblate (English) Currently translated at 3.1% (2 of 64 strings) Translation: OpenWrt/LuCI/applications/xinetd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/en/ Translated using Weblate (German) Currently translated at 85.9% (55 of 64 strings) Translation: OpenWrt/LuCI/applications/xinetd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/de/ Translated using Weblate (Finnish) Currently translated at 17.0% (36 of 211 strings) Translation: OpenWrt/LuCI/applications/dockerman Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/fi/ Translated using Weblate (Finnish) Currently translated at 11.5% (13 of 113 strings) Translated using Weblate (Finnish) Currently translated at 13.0% (16 of 123 strings) Translation: OpenWrt/LuCI/applications/nlbwmon Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/fi/ Translated using Weblate (Finnish) Currently translated at 20.7% (34 of 164 strings) Translation: OpenWrt/LuCI/applications/mwan3 Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/fi/ Translated using Weblate (Finnish) Currently translated at 97.3% (37 of 38 strings) Translation: OpenWrt/LuCI/applications/advanced-reboot Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/fi/ Translated using Weblate (Finnish) Currently translated at 10.6% (7 of 66 strings) Translation: OpenWrt/LuCI/applications/https-dns-proxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/fi/ Translated using Weblate (Finnish) Currently translated at 12.1% (9 of 74 strings) Translated using Weblate (Finnish) Currently translated at 12.5% (2 of 16 strings) Translated using Weblate (Finnish) Currently translated at 10.1% (11 of 108 strings) Translation: OpenWrt/LuCI/applications/simple-adblock Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/fi/ Translated using Weblate (Finnish) Currently translated at 18.5% (15 of 81 strings) Translation: OpenWrt/LuCI/applications/shadowsocks-libev Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/fi/ Translated using Weblate (Finnish) Currently translated at 25.0% (7 of 28 strings) Translation: OpenWrt/LuCI/applications/vnstat2 Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/fi/ Translated using Weblate (Finnish) Currently translated at 4.8% (2 of 41 strings) Translation: OpenWrt/LuCI/applications/attendedsysupgrade Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/fi/ Translated using Weblate (Finnish) Currently translated at 10.3% (6 of 58 strings) Translated using Weblate (Finnish) Currently translated at 100.0% (33 of 33 strings) Translated using Weblate (Finnish) Currently translated at 30.3% (10 of 33 strings) Translated using Weblate (Finnish) Currently translated at 12.8% (25 of 195 strings) Translated using Weblate (Finnish) Currently translated at 20.9% (13 of 62 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/fi/ Translated using Weblate (Finnish) Currently translated at 16.3% (32 of 196 strings) Translation: OpenWrt/LuCI/applications/ddns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/fi/ Translated using Weblate (Finnish) Currently translated at 8.7% (5 of 57 strings) Translation: OpenWrt/LuCI/applications/nft-qos Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/fi/ Translated using Weblate (Finnish) Currently translated at 90.0% (18 of 20 strings) Translation: OpenWrt/LuCI/applications/ltqtapi Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/fi/ Translated using Weblate (Finnish) Currently translated at 100.0% (17 of 17 strings) Translation: OpenWrt/LuCI/applications/udpxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/fi/ Translated using Weblate (Finnish) Currently translated at 7.5% (13 of 173 strings) Translation: OpenWrt/LuCI/applications/aria2 Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/fi/ Translated using Weblate (Finnish) Currently translated at 100.0% (13 of 13 strings) Translation: OpenWrt/LuCI/applications/pagekitec Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspagekitec/fi/ Translated using Weblate (Finnish) Currently translated at 100.0% (26 of 26 strings) Translation: OpenWrt/LuCI/applications/wireguard Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/fi/ Translated using Weblate (Finnish) Currently translated at 3.1% (2 of 63 strings) Translation: OpenWrt/LuCI/applications/frps Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/fi/ Translated using Weblate (Finnish) Currently translated at 15.9% (15 of 94 strings) Translation: OpenWrt/LuCI/applications/vpn-policy-routing Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/fi/ Translated using Weblate (Finnish) Currently translated at 100.0% (18 of 18 strings) Translation: OpenWrt/LuCI/applications/nextdns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/fi/ Translated using Weblate (Finnish) Currently translated at 25.0% (13 of 52 strings) Translation: OpenWrt/LuCI/applications/ttyd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/fi/ Translated using Weblate (Finnish) Currently translated at 5.6% (11 of 193 strings) Translation: OpenWrt/LuCI/applications/banip Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/fi/ Translated using Weblate (Finnish) Currently translated at 19.3% (6 of 31 strings) Translation: OpenWrt/LuCI/applications/dynapoint Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/fi/ Translated using Weblate (Finnish) Currently translated at 88.4% (1538 of 1739 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/fi/ Translated using Weblate (Slovak) Currently translated at 12.7% (12 of 94 strings) Translation: OpenWrt/LuCI/applications/vpn-policy-routing Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/sk/ Translated using Weblate (Slovak) Currently translated at 6.0% (4 of 66 strings) Translation: OpenWrt/LuCI/applications/https-dns-proxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/sk/ Translated using Weblate (English) Currently translated at 16.6% (3 of 18 strings) Translation: OpenWrt/LuCI/applications/nextdns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/en/ Translated using Weblate (Slovak) Currently translated at 13.4% (7 of 52 strings) Translation: OpenWrt/LuCI/applications/ttyd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/sk/ Translated using Weblate (English) Currently translated at 1.9% (1 of 52 strings) Translation: OpenWrt/LuCI/applications/ttyd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/en/ Translated using Weblate (Slovak) Currently translated at 8.8% (3 of 34 strings) Translation: OpenWrt/LuCI/applications/wifischedule Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/sk/ Translated using Weblate (Slovak) Currently translated at 13.7% (4 of 29 strings) Translation: OpenWrt/LuCI/applications/vpnbypass Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/sk/ Translated using Weblate (Slovak) Currently translated at 3.7% (7 of 186 strings) Translation: OpenWrt/LuCI/applications/unbound Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/sk/ Translated using Weblate (English) Currently translated at 11.7% (2 of 17 strings) Translation: OpenWrt/LuCI/applications/udpxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/en/ Translated using Weblate (Slovak) Currently translated at 8.2% (14 of 169 strings) Translation: OpenWrt/LuCI/applications/travelmate Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/sk/ Translated using Weblate (English) Currently translated at 28.5% (2 of 7 strings) Translation: OpenWrt/LuCI/applications/squid Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/en/ Translated using Weblate (Slovak) Currently translated at 6.4% (7 of 108 strings) Translation: OpenWrt/LuCI/applications/simple-adblock Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/sk/ Translated using Weblate (English) Currently translated at 15.3% (2 of 13 strings) Translation: OpenWrt/LuCI/applications/shairplay Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshairplay/en/ Translated using Weblate (English) Currently translated at 1.6% (1 of 62 strings) Translation: OpenWrt/LuCI/applications/ocserv Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/en/ Translated using Weblate (English) Currently translated at 1.7% (1 of 57 strings) Translation: OpenWrt/LuCI/applications/nft-qos Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/en/ Translated using Weblate (English) Currently translated at 6.2% (3 of 48 strings) Translation: OpenWrt/LuCI/applications/mjpg-streamer Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/en/ Translated using Weblate (English) Currently translated at 1.5% (1 of 65 strings) Translation: OpenWrt/LuCI/applications/dnscrypt-proxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/en/ Translated using Weblate (Slovak) Currently translated at 23.0% (6 of 26 strings) Translation: OpenWrt/LuCI/applications/dcwapd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/sk/ Translated using Weblate (English) Currently translated at 3.8% (1 of 26 strings) Translation: OpenWrt/LuCI/applications/dcwapd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/en/ Translated using Weblate (Slovak) Currently translated at 16.6% (2 of 12 strings) Translation: OpenWrt/LuCI/applications/bcp38 Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbcp38/sk/ Translated using Weblate (Slovak) Currently translated at 3.6% (7 of 193 strings) Translation: OpenWrt/LuCI/applications/banip Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/sk/ Translated using Weblate (German) Currently translated at 100.0% (41 of 41 strings) Translation: OpenWrt/LuCI/applications/attendedsysupgrade Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/de/ Translated using Weblate (German) Currently translated at 95.7% (157 of 164 strings) Translation: OpenWrt/LuCI/applications/mwan3 Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/de/ Translated using Weblate (Slovak) Currently translated at 4.5% (6 of 133 strings) Translated using Weblate (English) Currently translated at 77.0% (37 of 48 strings) Translated using Weblate (English) Currently translated at 12.2% (6 of 49 strings) Translated using Weblate (Slovak) Currently translated at 11.2% (22 of 195 strings) Translated using Weblate (English) Currently translated at 40.0% (2 of 5 strings) Translated using Weblate (English) Currently translated at 25.6% (50 of 195 strings) Translated using Weblate (English) Currently translated at 77.4% (148 of 191 strings) Translated using Weblate (English) Currently translated at 100.0% (33 of 33 strings) Translated using Weblate (English) Currently translated at 96.9% (32 of 33 strings) Translated using Weblate (English) Currently translated at 100.0% (14 of 14 strings) Translated using Weblate (English) Currently translated at 36.3% (4 of 11 strings) Translated using Weblate (Slovak) Currently translated at 5.5% (19 of 341 strings) Translated using Weblate (English) Currently translated at 35.1% (120 of 341 strings) Translated using Weblate (English) Currently translated at 2.4% (2 of 82 strings) Translated using Weblate (English) Currently translated at 99.2% (132 of 133 strings) Translated using Weblate (Slovak) Currently translated at 44.2% (770 of 1739 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/sk/ Translated using Weblate (English) Currently translated at 17.8% (310 of 1739 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/en/ Translated using Weblate (German) Currently translated at 99.8% (1736 of 1739 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/de/ Co-authored-by: Demian Wright <wright.demian+weblate@gmail.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Hulen <shift0106@gmail.com> Co-authored-by: Juraj Šášik <juraj.sasik@gmail.com> Co-authored-by: Martin <martin.hubner@web.de> Co-authored-by: xiazhang <xz@xia.plus> Signed-off-by: Demian Wright <wright.demian+weblate@gmail.com> Signed-off-by: Hulen <shift0106@gmail.com> Signed-off-by: Juraj Šášik <juraj.sasik@gmail.com> Signed-off-by: Martin <martin.hubner@web.de> Signed-off-by: xiazhang <xz@xia.plus> Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscoovachilli/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsntpc/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/sk/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/sk/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/zh_Hant/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/zh_Hant/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/sk/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/zh_Hant/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/zh_Hant/ Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/de/ Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/fi/ Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/zh_Hant/ Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/de/ Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/en/ Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/zh_Hant/ Translation: OpenWrt/LuCI/applications/ahcp Translation: OpenWrt/LuCI/applications/commands Translation: OpenWrt/LuCI/applications/coovachilli Translation: OpenWrt/LuCI/applications/minidlna Translation: OpenWrt/LuCI/applications/ntpc Translation: OpenWrt/LuCI/applications/nut Translation: OpenWrt/LuCI/applications/olsr Translation: OpenWrt/LuCI/applications/openvpn Translation: OpenWrt/LuCI/applications/p910nd Translation: OpenWrt/LuCI/applications/polipo Translation: OpenWrt/LuCI/applications/radicale2 Translation: OpenWrt/LuCI/applications/splash Translation: OpenWrt/LuCI/applications/statistics Translation: OpenWrt/LuCI/applications/tinyproxy Translation: OpenWrt/LuCI/applications/upnp Translation: OpenWrt/LuCI/applications/vnstat Translation: OpenWrt/LuCI/applications/watchcat Translation: OpenWrt/LuCI/modules/luci-mod-battstatus Translation: OpenWrt/LuCI/modules/luci-mod-dashboard |
||
---|---|---|
.. | ||
luasrc | ||
po | ||
root/usr/share/rpcd/acl.d | ||
Makefile | ||
README.md |
wifischedule
Turns WiFi on and off according to a schedule on an openwrt router
Components
- wifischedule: Shell script that creates cron jobs based on configuration provided in UCI and does all the other logic of enabling and disabling wifi with the use of
/sbin/wifi
and/usr/bin/iwinfo
. Can be used standalone. - luci-app-wifischedule: LUCI frontend for creating the UCI configuration and triggering the actions. Depends on wifischedule.
Use cases
You can create user-defined events when to enable or disable WiFi. There are various use cases why you would like to do so:
- Reduce power consumption and therefore reduce CO2 emissions.
- Reduce emitted electromagnatic radiation.
- Force busincess hours when WiFi is available.
Regarding 1: Please note, that you need to unload the wireless driver modules in order to get the most effect of saving power. In my test scenario only disabling WiFi saves about ~0.4 Watt, unloading the modules removes another ~0.4 Watt.
Regarding 2: Think of a wireless accesspoint e.g. in your bedrom, kids room where you want to remove the amount of radiation emitted.
Regarding 3: E.g. in a company, why would wireless need to be enabled weekends if no one is there working? Or think of an accesspoint in your kids room when you want the youngsters to sleep after 10 pm instead of facebooking...
Configuration
You can create an arbitrary number of schedule events. Please note that there is on sanity check done whether the start / stop times overlap or make sense. If start and stop time are equal, this leads to disabling the WiFi at the given time.
Logging if enabled is done to the file /var/log/wifi_schedule.log
and can be reviewed through the "View Logfile" tab.
The cron jobs created can be reviewed through the "View Cron Jobs" tab.
Please note that the "Unload Modules" function is currently considered as experimental. You can manually add / remove modules in the text field.
The button "Determine Modules Automatically" tries to make a best guess determining regarding the driver module and its dependencies.
When un-/loading the modules, there is a certain number of retries (module_load
) performed.
The option "Force disabling wifi even if stations associated" does what it says - when activated it simply shuts down WiFi.
When unchecked, its checked every recheck_interval
minutes if there are still stations associated. Once the stations disconnect, WiFi is disabled.
Please note, that the parameters module_load
and recheck_interval
are only accessible through uci.
UCI Configuration wifi_schedule
UCI configuration file: /etc/config/wifi_schedule
:
config global
option logging '0'
option enabled '0'
option recheck_interval '10'
option modules_retries '10'
config entry 'Businesshours'
option enabled '0'
option daysofweek 'Monday Tuesday Wednesday Thursday Friday'
option starttime '06:00'
option stoptime '22:00'
option forcewifidown '0'
config entry 'Weekend'
option enabled '0'
option daysofweek 'Saturday Sunday'
option starttime '00:00'
option stoptime '00:00'
option forcewifidown '1'
Script: wifi_schedule.sh
This is the script that does the work. Make your changes to the UCI config file: /etc/config/wifi_schedule
Then call the script as follows in order to get the necessary cron jobs created:
wifi_schedule.sh cron
All commands:
wifi_schedule.sh cron|start|stop|forcestop|recheck|getmodules|savemodules|help
cron: Create cronjob entries.
start: Start wifi.
stop: Stop wifi gracefully, i.e. check if there are stations associated and if so keep retrying.
forcestop: Stop wifi immediately.
recheck: Recheck if wifi can be disabled now.
getmodules: Returns a list of modules used by the wireless driver(s)
savemodules: Saves a list of automatic determined modules to UCI
help: This description.