From 84fdb25016d84497282c312611920d0d4946f9a8 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Fri, 24 Jul 2020 15:07:43 +0200 Subject: [PATCH] Updated FAQs (markdown) --- FAQs.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/FAQs.md b/FAQs.md index cdd756a..59a34ce 100644 --- a/FAQs.md +++ b/FAQs.md @@ -12,6 +12,7 @@ This has been written to address some frequently asked questions among users of * [How do I create an AP 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) +* [Can I configure a managed mode AP without using the UI?](#managed) * [Managed mode AP doesn't work on the Pi Zero W. Help!](#pizero-w) * [Can I use wlan0 and wlan1 rather than eth0 for my AP?](#interfaces) * [Can I use RaspAP as a monitor only, without changing my configuration?](#monitor) @@ -162,6 +163,18 @@ network={ } ``` +## Can I configure a managed mode AP without using the UI? +Let's assume you are creating a Raspbian image (or other supported OS) with scripts that setup RaspAP at first startup. In this scenario, to configure a managed mode AP, you must manually connect via a browser, make some changes via the UI and then save your settings. This can be also be done programmatically. Assuming you have [wpa_supplicant.conf fully populated](#headless-mode), set the following values in `/etc/raspap/hostapd.ini`: + +``` +LogEnable = 0 +WifiAPEnable = 1 +BridgedEnable = 0 +WifiManaged = wlan0 +``` + +substituting `wlan0` for your AP interface, if necessary. You may then restart the raspap daemon with `sudo systemctl restart raspapd.service`. + ## Managed mode AP doesn't work on the Pi Zero W. Help! See [this walkthrough](https://github.com/billz/raspap-webgui/wiki/RPi-Zero-W-AP-STA-mode) where the installation is described in detail.