Re: hostapd dealing with ifconfig changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux