1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Updated FAQs (markdown)

Bill Zimmerman 2020-07-17 10:40:35 +02:00
parent ae28c70f2c
commit 4fcaf30a32

18
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) * [How do I integrate RaspAP with Pi-hole?](#pihole)
* [Can I integrate RaspAP with Adguard Home?](#adguard) * [Can I integrate RaspAP with Adguard Home?](#adguard)
* [Can I configure RaspAP to work with a captive portal?](#captive) * [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) * [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) * [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) * [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 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. 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. 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: 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
## <a name="captive"></a>Can I configure RaspAP to work with a captive portal? ## <a name="captive"></a>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). 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:
```
# 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 <a href="https://crontab.guru/">crontab.guru</a>.
## <a name="wireless-mode"></a>Why can't I access wireless mode 'N' (802.11n)? ## <a name="wireless-mode"></a>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. 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.