From owner-freebsd-current@FreeBSD.ORG Mon Feb 4 15:48:04 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB32E310 for ; Mon, 4 Feb 2013 15:48:04 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) by mx1.freebsd.org (Postfix) with ESMTP id B284032E for ; Mon, 4 Feb 2013 15:48:04 +0000 (UTC) Received: from [10.1.3.40] (cnet520-windstream.mcclatchyinteractive.com [166.108.16.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id C2B0F1A0859; Mon, 4 Feb 2013 15:47:57 +0000 (UTC) Message-ID: <510FD82C.3070303@mail.lifanov.com> Date: Mon, 04 Feb 2013 10:47:56 -0500 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2 MIME-Version: 1.0 To: CeDeROM Subject: Re: wifi and wpa_supplicant References: In-Reply-To: X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 04 Feb 2013 15:48:04 -0000 On 02/04/2013 10:37 AM, CeDeROM wrote: > Hello :-) > > I am wondering how exactly the wifi interface and wpa_supplicant is > organized - is there any script at wlan0 interface up that starts > wpa_supplicant for that interface? Do I have to start wpa_supplicant > by hand any time I bring interface down and up (it looks yes for me)? > I have ifconfig_wlan0="WPA DHCP" set in rc.conf so I guess after/when > interface is up both wpa_supplicant and dhclient should be started..? > What should I make to wpa_supplicant starts automatically when I bring > wlan0 up? I am using iwn intel wifi driver. > > Any hints appreciated :-) > Tomek > If you want to do this automatically outside of rc.conf, take a look at devd(8). - Nikolai Lifanov