conn

A script repository to manage connections in Linux.
git clone git://r-36.net/conn
Log | Files | Refs | README | LICENSE

wpa_supplicant.conf.example (855B)


      1 ctrl_interface=/var/run/wpa_supplicant
      2 # You need group "users":
      3 #ctrl_interface_group=users
      4 ap_scan=1
      5 update_config=1
      6 fast_reauth=1
      7 eapol_version=1
      8 
      9 # Simple unencrypted
     10 network={
     11 	ssid="some network"
     12 	key_mgmt=NONE
     13 }
     14 
     15 # Simple WEP key
     16 network={
     17 	ssid="some WEP network"
     18 	auth_alg=SHARED
     19 	key_mgmt=NONE
     20 	wep_key0="somesecretkeyasstring"
     21 	wep_tx_keyidx=0
     22 }
     23 
     24 # Simple WPA
     25 network={
     26 	ssid="some WPA network"
     27 	psk=$encryptedkey
     28 }
     29 
     30 # Extra WPA notes:
     31 #
     32 # Use the command
     33 #	wpa_passphrase $ESSID [$key] >> wpa_supplicant.conf
     34 #	# key can be read from stdin for more security
     35 # 
     36 # Extra options for specific selections of security.
     37 #	key_mgmt=WPA-PSK
     38 #	priority=priority as number
     39 #	bssid=MAC address of AP
     40 #	group=CCMP and others
     41 #	pairwise=CCMP and others
     42 #
     43 
     44 # Connect to whatever is there with lowest priority.
     45 network={
     46 	key_mgmt=NONE
     47 	priority=-9999999
     48 }
     49