Not remove interface when wpa_supplicant shuts down

Pavel Roskin proski at gnu.org
Mon Jun 7 09:40:32 EDT 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.

-- 
Regards,
Pavel Roskin


More information about the HostAP mailing list