Date: Mon, 04 Feb 2013 11:03:11 -0500 From: Nikolai Lifanov <lifanov@mail.lifanov.com> To: CeDeROM <cederom@tlen.pl> Cc: freebsd-current@freebsd.org Subject: Re: wifi and wpa_supplicant Message-ID: <510FDBBF.1070707@mail.lifanov.com> In-Reply-To: <CAFYkXj=SwN=pp420x9uFZjuP2ztkLa%2BS6DdfLP2Vh=9n8kA%2BPw@mail.gmail.com> References: <CAFYkXjkRBeV_z%2Bdcd=W1i--3CdubFzt7P07WT_1rw9jr2Na4gg@mail.gmail.com> <510FD82C.3070303@mail.lifanov.com> <CAFYkXj=SwN=pp420x9uFZjuP2ztkLa%2BS6DdfLP2Vh=9n8kA%2BPw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/04/2013 10:58 AM, CeDeROM wrote: > Thank you Nikolai! Shouldn't this be a default when > ifconfig_wlan0="WPA DHCP" in rc.conf? :-) > > Best regards :-) > Tomek > > On Mon, Feb 4, 2013 at 4:47 PM, Nikolai Lifanov > <lifanov@mail.lifanov.com> wrote: >> 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 >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > Well, ifconfig_wlan0="WPA DHCP" should connect you at boot if you have your wpa_supplicant.conf(5) configured for it. There is a good writeup for it in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html Also, this should probably have gone to freebsd-users@ and not freebsd-current@ - Nikolai Lifanov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510FDBBF.1070707>