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-06-16 23:48:27 +02:00
parent 07ef5ba85c
commit 4474798c7c

24
FAQs.md

@ -152,26 +152,16 @@ network={
See [this walkthrough](https://github.com/billz/raspap-webgui/wiki/RPi-Zero-W-AP-STA-mode) where the installation is described in detail. See [this walkthrough](https://github.com/billz/raspap-webgui/wiki/RPi-Zero-W-AP-STA-mode) where the installation is described in detail.
## <a name="interfaces"></a>Can I use wlan0 and wlan1 rather than eth0 for my AP? ## <a name="interfaces"></a>Can I use wlan0 and wlan1 rather than eth0 for my AP?
The short answer is yes. In this scenario, you may wish to use the built-in `wlan0` interface as the AP with a USB `wlan1` connection as the client, rather than wired ethernet (`eth0`). This is partly supported by RaspAP, although you will need to make two small updates. Yes, this is supported by RaspAP. In this scenario, you may wish to use the `wlan0` interface as a wireless client with `wlan1` as the AP interface. Follow the steps below to enable this configuration:
Change the following setting in `includes/config.php` to `wlan1`: 1. Bind the two adapters with the interface names `wlan0` and `wlan1`.
``` 2. Select `wlan1` as the AP interface in **Hotspot** and **Save Settings**.
define('RASPI_WIFI_CLIENT_INTERFACE', 'wlan1') 3. Do not enable the Wifi AP (AP-STA) mode option. This is only needed when the client and AP are utilizing the same wlan adapter.
``` 4. (Re)start the hotspot.
add the following to `/etc/dhcpcd.conf`: > :information_source: **Important:** Be aware that external WiFi adapters (ie, USB "dongles") vary greatly in terms of hardware capabilities and driver support. Many do not have support for AP mode, require a powered USB hub, manual driver and/or firmware installation or are otherwise not well suited for this application.
```
interface wlan0
static ip_address=10.3.141.1/24
static domain_name_servers=1.1.1.1
nohook wpa_supplicant
```
and finally restart hostapd:
```
sudo systemctl restart hostapd.service
```
**Important:** Be aware that external WiFi adapters (ie, USB "dongles") vary greatly in terms of hardware capabilities and driver support. Many do not work out of the box on the RPi, require a powered USB hub, manual driver and/or firmware installation or are otherwise [not well suited for the RPi](https://elinux.org/RPi_USB_Wi-Fi_Adapters). For these reasons, issues related to wlan0 and wlan1 configurations with external adapters will not be considered. Recommended adapters such as the Edimax 7811Un and Ralink RT5370 work out of the box with Raspberry OS (32-bit) Buster Lite. Adapters that require compiling of third-party drivers or other workarounds, including many Realtek based devices, are notoriously problematic. For this reason, you must verify your adapter _before_ reporting an issue with this feature.
## <a name="monitor"></a>Can I use RaspAP as a monitor only, without changing my configuration? ## <a name="monitor"></a>Can I use RaspAP as a monitor only, without changing my configuration?
Yes, RaspAP has support for a so-called "monitor mode". In `config.php` change the setting `RASPI_MONITOR_ENABLED` to `true`. This disables the ability to modify settings, start/stop daemons, shutdown or reboot the RPi. RaspAP will continue to report interface statistics, service settings and data usage as normal. Yes, RaspAP has support for a so-called "monitor mode". In `config.php` change the setting `RASPI_MONITOR_ENABLED` to `true`. This disables the ability to modify settings, start/stop daemons, shutdown or reboot the RPi. RaspAP will continue to report interface statistics, service settings and data usage as normal.