From a08849e676b813207b7810cd63aef2b3eb5a4cc1 Mon Sep 17 00:00:00 2001 From: Maxime Borges Date: Fri, 2 Jul 2021 00:21:14 +0200 Subject: [PATCH] Add instruction on how to set up WiFi before first run --- How-to.md | 3 +++ Offline_wifi_setup.md | 16 ++++++++++++++++ Wiki.md | 1 + 3 files changed, 20 insertions(+) create mode 100644 How-to.md create mode 100644 Offline_wifi_setup.md diff --git a/How-to.md b/How-to.md new file mode 100644 index 0000000..e269998 --- /dev/null +++ b/How-to.md @@ -0,0 +1,3 @@ +Some step-by-step help to get started: + +* [[Offline_wifi_setup]]: Set up WiFi access before running your device \ No newline at end of file diff --git a/Offline_wifi_setup.md b/Offline_wifi_setup.md new file mode 100644 index 0000000..656bea1 --- /dev/null +++ b/Offline_wifi_setup.md @@ -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. \ No newline at end of file diff --git a/Wiki.md b/Wiki.md index a168a67..c996105 100644 --- a/Wiki.md +++ b/Wiki.md @@ -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.