OPNsense Forum
English Forums => General Discussion => Topic started by: tonnoplast on March 02, 2018, 02:47:05 pm
-
I want to setup a cronjob that changes the WiFi password on a daily basis (the password will be shown on an external display).
I can put together a script that changes the relevant hostapd.conf, but I'm wondering: is there a better way to do it in OPNsense? Something like a higher level CLI?
Same for restarting the network interface for which the password has been modified: what's the OPNsense way to do it from a script?
-
you need to update config.xml and then you have to reload the interface configuration for the wireless interface.