From owner-freebsd-current@freebsd.org Sun Oct 25 19:24:15 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 C5B0E8EBD for ; Sun, 25 Oct 2015 19:24:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D185136C; Sun, 25 Oct 2015 19:24:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbhv6 with SMTP id hv6so44212131igb.0; Sun, 25 Oct 2015 12:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OTZppCOLGJf+67pK7DjM4wLR50n4c0AV6Mfiv2mQQk4=; b=i2mNWVHl6K7ZbUdfeOYvAQVzAPxWYuRqPyf4GPlEElTNrbjgF6iZ4RQxhiMisCV9KC j0OqLyWupUTnsEGa+MipCAbelJbgvlLcveqD4i5KW4GYlmaKkaaB6v3AbRFOfy4nUTRM VPHBifS+8aYqaN4e/lz2f6rKQRPK5prx14sjH5j07vs+lYAumcyXTYJ5QGp7NiPOy67e mJkWJ3zZJsWyiqcJ6aqkqM5yHK76Q4VYJKQx20tSJu93plekHG1KM4MfKjFr93cFt7gs JEjpCZoP4cb0Y9kenIhuIhcCqdW8dUqhevLMPLQBdJAFR0GOyaxVkklKALrwQ1PCnm7n l/mQ== MIME-Version: 1.0 X-Received: by 10.50.155.41 with SMTP id vt9mr6501532igb.22.1445801054827; Sun, 25 Oct 2015 12:24:14 -0700 (PDT) Received: by 10.36.46.66 with HTTP; Sun, 25 Oct 2015 12:24:14 -0700 (PDT) In-Reply-To: <16610120144.20151025222025@serebryakov.spb.ru> References: <16610120144.20151025222025@serebryakov.spb.ru> Date: Sun, 25 Oct 2015 12:24:14 -0700 Message-ID: Subject: Re: What changed in rc.d infrastructure in last months? From: Adrian Chadd To: Lev Serebryakov Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 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:24:15 -0000 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 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"