Greetings!
I have set up an USB wifi stick so that it acts as an access point with WPA enabled (WEP's just too insecure).
Now, when I remove and then replug the stick (or plug it some time after system boot) the WPA security is lost, and I have to restart hostapd manuallyto regain it.
Is there a way to automatically kill hostapd when the stick is unplugged and relaunch it after the device has come up again? FYI: I'm using the traditional scheme using ifup/ifdown...
I have set up an USB wifi stick so that it acts as an access point with WPA enabled (WEP's just too insecure).
Now, when I remove and then replug the stick (or plug it some time after system boot) the WPA security is lost, and I have to restart hostapd manuallyto regain it.
Is there a way to automatically kill hostapd when the stick is unplugged and relaunch it after the device has come up again? FYI: I'm using the traditional scheme using ifup/ifdown...