README.md - conn - A script repository to manage connections in Linux.
 (HTM) git clone git://r-36.net/conn
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       README.md (867B)
       ---
            1 # Wifi resolving
            2 
            3 1. run.sh starts wpa-supplicant and wpa-cli.
            4 2. wpa-cli runs $interface-action.sh on an event.
            5 3. $interface-action.sh greps in networks.tbl for the ssid of the
            6    relevant network and calls the given script. (See the networks.tbl
            7    section)
            8 4. The script networks/$script is run and gets the interface and
            9    the changed state as argument. 
           10 
           11 ## networks.tbl
           12 
           13 This file describes what script to call on which ESSID. It has the form of
           14 
           15         scriptname<TAB>SSID
           16 
           17 The file "scriptname" will be called in the directory "networks" on
           18 connect and disconnect.
           19 
           20 On connect or disconnect the scripts are called this way:
           21 
           22         scriptname $interface $status
           23 
           24 $status can be of the valued "CONNECTED" or "DISCONNECTED".
           25 
           26 ## WPA Supplicant
           27 
           28 The configuration file for wpa-supplicant is given in conn/common.sh;
           29 $WPA_CONF. Nearly everything can be changed there too.
           30