diff --git a/FAQs.md b/FAQs.md index f339c2d..85b5bab 100644 --- a/FAQs.md +++ b/FAQs.md @@ -8,6 +8,7 @@ This has been written to address some frequently encountered issues among users * [How do I integrate RaspAP with Pi-hole?](#pihole) * [Can I configure RaspAP to work with a captive portal?](#captive) * [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) ### My custom rc.local/networking configuration/wpa configuration is gone! Currently, RaspAP generates a few of its own files so that it starts with a known configuration. Your custom configurations haven't been lost however, they've been moved to the backups directory in `/etc/raspap/backups`. @@ -143,4 +144,21 @@ RaspAP: Transmit Rate: 73 ``` -If using TKIP for encryption with WPA, you will be restricted to 54 Mb/s. This is because the IEEE 802.11n draft prohibits using high throughput with WEP or TKIP ciphers. \ No newline at end of file +If using TKIP for encryption with WPA, you will be restricted to 54 Mb/s. This is because the IEEE 802.11n draft prohibits using high throughput with WEP or TKIP ciphers. + +### How do I prepare the SD card to connect to WiFi in headless mode? +Since [May 2016](https://www.raspberrypi.org/blog/another-update-raspbian/), Raspbian has been able to copy wifi details from `/boot/wpa_supplicant.conf` into `/etc/wpa_supplicant/wpa_supplicant.conf` to automatically configure wireless network access. + +An example `wpa_supplicant.conf` file is shown below. Replace the fields with your settings: + +``` +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev +update_config=1 +country=your_ISO-3166_two-letter_country_code + +network={ + ssid="my_SSID" + psk="my_PSK" + key_mgmt=WPA-PSK +} +``` \ No newline at end of file