Hello
Is it possible to schedule when the guest wifi is enabled ?
Thanks
enable or disable guest wifi on schedule
Moderator: Moderators
Re: enable or disable guest wifi on schedule
You'd need to write a script to turn it on/off, then trigger that with CRON.
There's plenty of examples on the internet.
To just disable the guest network, you'll want to create an option called "disabled" under the wifi-iface and set it to 1, then restart the "wifi"
There's plenty of examples on the internet.
To just disable the guest network, you'll want to create an option called "disabled" under the wifi-iface and set it to 1, then restart the "wifi"
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: enable or disable guest wifi on schedule
There's the "WIFI Schedule" plugin that can toggle wifi on a daily or weekly schedule. Maybe that one could be expanded to not only toggle the entire wifi, but also parts of it (guest, 2.4GHz, 5GHz).
Regards
Ektus.
Regards
Ektus.
Re: enable or disable guest wifi on schedule
Are you volunteering 
But yes that would be one way of doing it.

But yes that would be one way of doing it.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: enable or disable guest wifi on schedule
Ok thanks I should be able to write this.Lantis wrote:You'd need to write a script to turn it on/off, then trigger that with CRON.
There's plenty of examples on the internet.
To just disable the guest network, you'll want to create an option called "disabled" under the wifi-iface and set it to 1, then restart the "wifi"
Re: enable or disable guest wifi on schedule
Can you confirm in which file and what is the name of the guest wifi interface ?
I looked in /etc/config/network and see nothing corresponding to the guest wifi interface.
I looked in /etc/config/network and see nothing corresponding to the guest wifi interface.
Re: enable or disable guest wifi on schedule
It will be in /etc/config/wireless
It will be a section with a name of
"ap_gn_g" or "ap_gn_a"
The "gn" meaning Guest Network, and the G or A meaning 2.4 or 5GHz networks.
It will be a section with a name of
"ap_gn_g" or "ap_gn_a"
The "gn" meaning Guest Network, and the G or A meaning 2.4 or 5GHz networks.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.