> On Oct 25, 2015, at 12:39, Lev Serebryakov <lev_at_FreeBSD.org> wrote: > > Hello NGie, > > Sunday, October 25, 2015, 10:30:47 PM, you wrote: > > >> This [the hostapd start/stop logic] all gets triggered whenever the interface goes up and down. > So, first time hostapd is started by /etc/rc.d/netif before devd, and > second time devd call /etc/rc.d/netif again on interface up, am I right? > > It looks weird. It depends on how it’s setup. Is your interface is using DHCP and are you using the stock devd.conf file? From etc/devd.conf: 55 notify 0 { 56 match "system" "IFNET"; 57 match "type" "LINK_UP"; 58 media-type "ethernet"; 59 action "/etc/rc.d/dhclient quietstart $subsystem"; 60 }; … 74 notify 0 { 75 match "system" "IFNET"; 76 match "type" "LINK_UP"; 77 media-type "802.11"; 78 action "/etc/rc.d/dhclient quietstart $subsystem"; 79 }; Thanks! -NGieReceived on Sun Oct 25 2015 - 18:45:12 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC