From 4fcaf30a326f3d64aa2fadcc7bf8e58c721fdc7b Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Fri, 17 Jul 2020 10:40:35 +0200 Subject: [PATCH] Updated FAQs (markdown) --- FAQs.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/FAQs.md b/FAQs.md index 0448183..d184429 100644 --- a/FAQs.md +++ b/FAQs.md @@ -9,6 +9,7 @@ This has been written to address some frequently asked questions among users of * [How do I integrate RaspAP with Pi-hole?](#pihole) * [Can I integrate RaspAP with Adguard Home?](#adguard) * [Can I configure RaspAP to work with a captive portal?](#captive) +* [How do I create a hotspot activation schedule?](#schedule) * [Why can't I access wireless mode 'N' (802.11n)?](#wireless-mode) * [How do I prepare the SD card to connect to WiFi in headless mode?](#headless-mode) * [Managed mode AP doesn't work on the Pi Zero W. Help!](#pizero-w) @@ -56,7 +57,7 @@ If you want to install a specific version you can do so by referencing a tag: ``` sudo git fetch --tags -sudo git checkout 2.4 +sudo git checkout 2.5 ``` A tag is a pointer that isn't connected to the main development tree that git knows about. As a result, git will reply that you're in a 'detached HEAD' state. This isn't a big deal, it just means that you have a specific version of the code that isn't connected to the git tree. @@ -74,7 +75,7 @@ sudo nano /var/www/html/includes/config.php ``` Change the first line to the release version, save the file and exit. **Note:** `RASPI_VERSION` is only used on the About page; it does not affect any other functionality. ``` -define('RASPI_VERSION', '2.4'); +define('RASPI_VERSION', '2.5'); ``` Finally, give the lighttpd service a kick with: @@ -115,6 +116,19 @@ Yes, you can run RaspAP and [Adguard Home](https://github.com/AdguardTeam/AdGuar ## Can I configure RaspAP to work with a captive portal? 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). +## 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: + +``` +# Stop RaspAP services at 02:00 on Monday and Tuesday +0 2 * * 1,2,5 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 +``` + +For help with crontab, head over to crontab.guru. + ## Why can't I access wireless mode 'N' (802.11n)? On the **Configure hotspot** > **Security** tab, be sure to select CCMP for the Encryption Type. Save the settings and restart the hotspot. The wireless mode should be reported on clients as 802.11b/g/n.