wpa_supplicant: how do you connect to a particular essid from a script?

Posted by Veek.M on Super User See other posts from Super User or by Veek.M
Published on 2014-04-30T08:38:30Z Indexed on 2014/05/27 3:33 UTC
Read the original article Hit count: 437

Filed under:
network={
       ssid="ana"
       bssid=xx:xx:xx:xx:xx:xx
       key_mgmt=NONE
       auth_alg=OPEN
       wep_key0=xxxxxxxxxxxxx
       #identity 0 ana
       disabled=1
}

How do i modify this to support connecting via a script by manually doing:
dial ana or dial gremlin
Right now, when I start wpa_supplicant, it autoconnects based on priority or disabled and I'd like to turn that behavior off and manually specify the ESSID I want.

© Super User or respective owner

Related posts about linux