From b703aee0ec0fc9ba5212c1986a3458ba473526e7 Mon Sep 17 00:00:00 2001 From: Andraz Brodnik Date: Sun, 7 Jul 2013 15:49:50 +0200 Subject: [PATCH] Initial wireless configuration docs --- doc/manual/configuration.xml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/doc/manual/configuration.xml b/doc/manual/configuration.xml index f1f99fb70ed..84a92872d0b 100644 --- a/doc/manual/configuration.xml +++ b/doc/manual/configuration.xml @@ -135,7 +135,33 @@ always allowed.)
Wireless networks -TODO + +NixOS will start wpa_supplicant for you if you enable this setting: + + +networking.wireless.enable = true; + + +NixOS currently does not generate wpa_supplicant's +configuration file, /etc/wpa_supplicant.conf. You should edit this file +ourself to define wireless networks, WPA keys and so on (see +wpa_supplicant.conf(5)). + + + +If you are using WPA2 the wpa_passphrase tool might be useful +to generate the wpa_supplicant.conf. + + +$ wpa_passphrase ESSID PSK > /etc/wpa_supplicant.conf + +After you have edited the wpa_supplicant.conf, +you need to restart the wpa_supplicant service. + + +$ systemctl restart wpa_supplicant.service + +