| Adding a simple wpa_supplicanf.conf example. - conn - A script repository to manage connections in Linux.
|
| Log |
| Files |
| Refs |
| LICENSE |
| --- |
| commit 8714b7d99cccf947b88d3aa3d84365afe97d4ce6 |
| parent 2527ea4eb0fb5fc77e758634bd54cb1f23e75e57 |
| Author: Christoph Lohmann <20h@r-36.net> |
| Date: Mon, 30 Jul 2012 16:23:48 +0200
Adding a simple wpa_supplicanf.conf example.
Diffstat:
examples/wifi/wpa_supplicant.conf.… | 49 +++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+), 0 deletions(-)
--- |
| diff --git a/examples/wifi/wpa_supplicant.conf.example b/examples/wifi/wpa_supplicant.conf.example |
| @@ -0,0 +1,49 @@
+ctrl_interface=/var/run/wpa_supplicant
+# You need group "users":
+#ctrl_interface_group=users
+ap_scan=1
+update_config=1
+fast_reauth=1
+eapol_versioN=1
+
+# Simple unencrypted
+network={
+ ssid="some network"
+ key_mgmt=NONE
+}
+
+# Simple WEP key
+network={
+ ssid="some WEP network"
+ auth_alg=SHARED
+ key_mgmt=NONE
+ wep_key0="somesecretkeyasstring"
+ wep_tx_keyidx=0
+}
+
+# Simple WPA
+network={
+ ssid="some WPA network"
+ psk=$encryptedkey
+}
+
+# Extra WPA notes:
+#
+# Use the command
+# wpa_passphrase $ESSID [$key] >> wpa_supplicant.conf
+# # key can be read from stdin for more security
+#
+# Extra options for specific selections of security.
+# key_mgmt=WPA-PSK
+# priority=priority as number
+# bssid=MAC address of AP
+# group=CCMP and others
+# pairwise=CCMP and others
+#
+
+# Connect to whatever is there with lowest priority.
+network={
+ key_mgmt=NONE
+ priority=-9999999
+}
+ |