DIS/CONNECT event not triggerd ?!
Fri Aug 29 00:53:34 PDT 2008
I want to receive the following sequence:
If plug in my usb wlan stick wpa_supplicant should start making a
connction with given parameters.
If I unplug my usb stick wpa_supplicant should close this connection
and reconnect if the usb stick is plugged in again.
I have tried the following:
(Once at startup:) wpa_supplicant -g/var/run/wpa_supplicant-global -B
Now, when I enter:(later this should be automaticalley done, when a usb
wlan stick is inserted right ?)
wpa_cli -g/var/run/wpa_supplicant-global interface_add wlan0 "" wext
wpa_cli -a/etc/wpa_supplicant/detect.h -B
wpa_cli -iwlan0 add_network
wpa_cli -iwlan0 set_network 0 ssid '"obid3"'
wpa_cli -iwlan0 set_network 0 key_mgmt NONE
wpa_cli -iwlan0 enable_network 0
A connection is established, but the script detect.sh isn?t executed
If I unplug my usb-stick and plug it again - no connection .....
what?s wrong ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Hostap