aboutsummaryrefslogtreecommitdiff
path: root/nixos/doc/manual/configuration/wireless.xml
diff options
context:
space:
mode:
authormatix2267 <matix2267@gmail.com>2019-03-05 03:27:15 +0100
committerDanylo Hlynskyi <abcz2.uprola@gmail.com>2019-03-05 04:27:15 +0200
commit6ab2aea0035a3540feb126b72b0568b874b97225 (patch)
tree3a8110d00492ac3269c6a86f6fdb2baebf9c8fee /nixos/doc/manual/configuration/wireless.xml
parentb421183b34799b9290313254b982fb9ae1db7711 (diff)
nixos/doc: Small updates about wireless configuration. (#55918)
* Reference networking section from installation * Add info about pskRaw option in networking.wireless.networks
Diffstat (limited to 'nixos/doc/manual/configuration/wireless.xml')
-rw-r--r--nixos/doc/manual/configuration/wireless.xml21
1 files changed, 19 insertions, 2 deletions
diff --git a/nixos/doc/manual/configuration/wireless.xml b/nixos/doc/manual/configuration/wireless.xml
index f7e99ff0e35c..dda2193dd93a 100644
--- a/nixos/doc/manual/configuration/wireless.xml
+++ b/nixos/doc/manual/configuration/wireless.xml
@@ -36,8 +36,25 @@
</para>
<para>
- If you are using WPA2 the <command>wpa_passphrase</command> tool might be
- useful to generate the <literal>wpa_supplicant.conf</literal>.
+ If you are using WPA2 you can generate pskRaw key using
+ <command>wpa_passphrase</command>:
+<screen>
+$ wpa_passphrase ESSID PSK
+network={
+ ssid="echelon"
+ #psk="abcdefgh"
+ psk=dca6d6ed41f4ab5a984c9f55f6f66d4efdc720ebf66959810f4329bb391c5435
+}
+</screen>
+<programlisting>
+<xref linkend="opt-networking.wireless.networks"/> = {
+ echelon = {
+ pskRaw = "dca6d6ed41f4ab5a984c9f55f6f66d4efdc720ebf66959810f4329bb391c5435";
+ };
+}
+</programlisting>
+ or you can use it to directly generate the
+ <literal>wpa_supplicant.conf</literal>:
<screen>
# wpa_passphrase ESSID PSK > /etc/wpa_supplicant.conf</screen>
After you have edited the <literal>wpa_supplicant.conf</literal>, you need to