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

Updated RPi Zero W AP STA mode (markdown)

Bill Zimmerman 2020-05-23 13:35:50 +02:00
parent 69881d55b6
commit 85b7ff5ab7

@ -21,3 +21,19 @@ This walkthrough describes an installation of RaspAP on the [Raspberry Pi Zero W
14. Choose **Save settings** and **Start hotspot**.
15. Wait a few moments and confirm that your AP has started.
![](https://i.imgur.com/mwKYBKF.png)
### When to reboot?
Rebooting _before_ configuring AP-STA mode is likely the main cause of problems for users with the Pi Zero W. The reason is the [default configuration](https://github.com/billz/raspap-webgui/tree/master/config) is designed for a wired (ethernet) AP.
Once the Pi Zero W is configured in AP-STA mode, RaspAP will store several values in `/etc/raspap/hostapd.ini`:
```
LogEnable = 1
WifiAPEnable = 1
BridgedEnable = 0
WifiManaged = wlan0
```
These are used by RaspAP's [systemd control service](https://github.com/billz/raspap-webgui/wiki/FAQs#do-i-need-the-raspap-service-to-run-at-boot) `raspapd` to determine that a managed mode AP is enabled for the Pi and restore the connection after subsequent reboots.
### What is the uap0 interface?
You may notice that a new `uap0` interface has been created. This is a virtual network interface used for AP+STA mode. This has variously been called a "hack" in some circles. We call it a feature that meets the needs of many users.