Add instruction on how to set up WiFi before first run

This commit is contained in:
Maxime Borges 2021-07-02 00:21:14 +02:00 committed by Maxime
parent 0a6de3656d
commit a08849e676
3 changed files with 20 additions and 0 deletions

3
How-to.md Normal file
View file

@ -0,0 +1,3 @@
Some step-by-step help to get started:
* [[Offline_wifi_setup]]: Set up WiFi access before running your device

16
Offline_wifi_setup.md Normal file
View file

@ -0,0 +1,16 @@
To quickly set up the WiFi before booting your device, you can follow this procedure in the **root/** directory of your installation (from your computer):
Copy the example configuration for a WPA connection for netctl:
cp etc/netctl/examples/wireless-wpa etc/netctl/wireless-wpa
Edit the SSID and key for your access point:
sed -i "s/ESSID=.*/ESSID='MySSID'/" etc/netctl/wireless-wpa
sed -i "s/Key=.*/Key='MyKey'/" etc/netctl/wireless-wpa
Enable the netctl-auto service (the first argument starting with `/` is on purpose):
ln -s /usr/lib/systemd/system/netctl-auto@.service etc/systemd/system/multi-user.target.wants/netctl-auto@wlan0.service
Now you can start your device and you should get automatically connected to your WiFi network.

View file

@ -4,5 +4,6 @@ Categories:
* [[Developers]] - Resources for building packages on Arch Linux ARM.
* [[Platforms]] - Additional information on supported platforms
* [[How-to]] - Some step-by-step help to get started
To contribute to this wiki, see the [[Contributing]] page. Content is available under the [GNU Free Documentation License 1.3 or later](http://www.gnu.org/copyleft/fdl.html) unless otherwise noted.