Date: Sun, 25 Oct 2015 12:24:14 -0700 From: Adrian Chadd <adrian.chadd@gmail.com> To: Lev Serebryakov <lev@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: What changed in rc.d infrastructure in last months? Message-ID: <CAJ-Vmok-_OPT5RAM7mb6NqzeMdnNWhn_eCf_BUTu8cYhT5qfUg@mail.gmail.com> In-Reply-To: <16610120144.20151025222025@serebryakov.spb.ru> References: <16610120144.20151025222025@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hm, poke glebius? He went and rototilled bits of net80211 recently and that did touch the rc scripts. -a On 25 October 2015 at 12:20, Lev Serebryakov <lev@freebsd.org> wrote: > Hello freebsd-current, > > > New version of -CURRENT try to configure wlan0 and run hostapd twice: > > Created wlan(4) interfaces: wlan0. > Created clone interfaces: gif0. > em0: link state changed to UP > em0: link state changed to DOWN > ifconfig: NONE: bad value > vlan0: changing name to 'skynet' > vlan1: changing name to 'eltel' > Starting hostapd. > Configuration file: /etc/hostapd-wlan0.conf > Using interface wlan0 with hwaddr 00:15:6d:85:5f:fc and ssid "home.serebryakov.spb.ru" > wlan0: interface state UNINITIALIZED->ENABLED > wlan0: AP-ENABLED > gif0: link state changed to UP > Starting Network: lo0 em0 em1 wlan0 gif0. > .... > Starting devd. > ifconfig: SIOCS80211: Device busy > hostapd already running? (pid=455). > em1: link state changed to UP > eltel: link state changed to UP > skynet: link state changed to UP > Starting Network: wlan0. > > Before this there was no second try to run hostapd. What should I change in > /etc/rc.d to eliminate this double-run and double-configuration? Now I > have: > > wlans_ath0="wlan0" > create_args_wlan0="wlanmode hostap bssid" > ifconfig_wlan0="HOSTAP inet 192.168.135.1 netmask 255.255.255.0 mode 11ng channel 3:ht/40 -bgscan ssid home.serebryakov.spb.ru country DE regdomain row txpower 30" > > I DON'T have "hostapd_enable"! > > -- > Best regards, > Lev mailto:lev@FreeBSD.org > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmok-_OPT5RAM7mb6NqzeMdnNWhn_eCf_BUTu8cYhT5qfUg>