On Mon, Mar 11, 2019 at 11:34:54PM +0100, Arend Van Spriel wrote: > Using hostapd I was wondering whether it can deal with other user-space > processes (or users) doing ifconfig down (and up) on the network interface > in use. So would hostapd restart the AP interface upon ifconfig down and > subsequent ifconfig up. Any pointers into the code in which such a scenario > is handled would be appreciated. Will dive into that anyway, but any help is > more than welcome. While there is some code for this, I do not consider this external ifconfig down/up to be supported operation, i.e., it does not recover everything properly. > I suppose hostapd_cli disable/enable would be an alternative approach to > restart an AP interface, right? That would be highly recommended approach. If something external needs to ifconfig down, that should be followed by DISABLE/ENABLE over the control interface to make sure there is full reset of driver configuration and internal state in hostapd. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap