From owner-freebsd-current@freebsd.org Sun Oct 25 19:20:31 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB1D08C8C for ; Sun, 25 Oct 2015 19:20:31 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9B79A1E9B for ; Sun, 25 Oct 2015 19:20:31 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:3c23:bcdc:5292:fa5f]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 8AC772C99 for ; Sun, 25 Oct 2015 22:20:27 +0300 (MSK) Date: Sun, 25 Oct 2015 22:20:25 +0300 From: Lev Serebryakov Reply-To: lev@FreeBSD.org Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <16610120144.20151025222025@serebryakov.spb.ru> To: freebsd-current Subject: What changed in rc.d infrastructure in last months? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2015 19:20:32 -0000 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