RE: hostapd dealing with ifconfig changes

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

 



Hi Arend,

> -----Original Message-----
> From: Hostap [mailto:hostap-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Arend
> Van Spriel
> Sent: Tuesday, March 12, 2019 00:35
> To: hostap@xxxxxxxxxxxxxxxxxxx
> Subject: hostapd dealing with ifconfig changes
> 
> 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.
> 

Have a look at wpa_supplicant_event() which includes handling for EVENT_INTERFACE_ENABLED/EVENT_INTERFACE_DISABLED. Also look at wpa_driver_nl80211_event_rtm_newlink().

Regards,

Ilan.



_______________________________________________
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