Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instruction on how to set up WiFi before first run #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions How-to.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Some step-by-step help to get started:

* [[Offline_wifi_setup]]: Set up WiFi access before running your device
16 changes: 16 additions & 0 deletions Offline_wifi_setup.md
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions Wiki.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.