mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Updated FAQs (markdown)
parent
4fcaf30a32
commit
eb8a1f6737
6
FAQs.md
6
FAQs.md
@ -117,14 +117,14 @@ Yes, you can run RaspAP and [Adguard Home](https://github.com/AdguardTeam/AdGuar
|
||||
Yes, the [nodogsplash project](https://github.com/nodogsplash/nodogsplash) works just fine with RaspAP and is recommended over other methods. A detailed setup guide is [available here](https://github.com/billz/raspap-webgui/wiki/Captive-portal-setup).
|
||||
|
||||
## <a name="schedule"></a>How do I create a hotspot activation schedule?
|
||||
This is a common function in consumer wireless routers. For example, let's assume you want to disable wifi on Monday, Tuesday and Friday between 02:00 and 08:00. You can implement this with cron to stop/start RaspAP's service control script at certain times. Run `sudo crontab -e` and add entries like so:
|
||||
This is a common function in consumer wireless routers. For example, let's assume you want to disable wifi on Monday and Tuesday between 02:00 and 08:00. You can implement this with cron to stop/start RaspAP's service control script at certain times. Run `sudo crontab -e` and add entries like so:
|
||||
|
||||
```
|
||||
# Stop RaspAP services at 02:00 on Monday and Tuesday
|
||||
0 2 * * 1,2,5 sudo /etc/raspap/hostapd/servicestart.sh --action stop
|
||||
0 2 * * 1,2 sudo /etc/raspap/hostapd/servicestart.sh --action stop
|
||||
|
||||
# Start RaspAP services at 08:00 on Monday and Tuesday
|
||||
0 8 * * 1,2,5 sudo /etc/raspap/hostapd/servicestart.sh --seconds 3
|
||||
0 8 * * 1,2 sudo /etc/raspap/hostapd/servicestart.sh --seconds 3
|
||||
```
|
||||
|
||||
For help with crontab, head over to <a href="https://crontab.guru/">crontab.guru</a>.
|
||||
|
Loading…
Reference in New Issue
Block a user