Not remove interface when wpa_supplicant shuts down
Mon Jun 7 06:40:32 PDT 2010
On Mon, 2010-06-07 at 14:31 +0100, Panagiotis Georgopoulos wrote:
> Hello all,
> Is there a way to force wap_supplicant not to remove
> my wireless interface (e.g. wlan0) when it shuts down?
> This is really annoying as it removes all my routes as well and even
> though I get the interface up and running when I restart
> wpa_supplicant I have to add the routes manually after that? (by the
> way, I think the same goes for hostapd? it removes the interface when
> it shuts down).
The interface is not removed. It's just brought down. That's
sufficient to remove the routes. But I don't think you want to have
active routes on an inactive interface.
More information about the Hostap