Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2008 15:16:13 -0800
From:      Sam Leffler <sam@freebsd.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        FreeBSD-Net <freebsd-net@freebsd.org>, Jordy Dickinson <praesentium@gmail.com>
Subject:   Re: Getting WPA2-PSK
Message-ID:  <494C2B3D.40102@freebsd.org>
In-Reply-To: <20081219224116.GE50722@lor.one-eyed-alien.net>
References:  <ca416ff40812190619i327fc582g5d30b0049cb342b@mail.gmail.com>	<BE30D816-399E-4430-A8B5-48FD0D948523@fnop.net>	<20081219164617.GC50722@lor.one-eyed-alien.net>	<ca416ff40812191433k7025c644hb4ca80b811f1e95f@mail.gmail.com> <20081219224116.GE50722@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis wrote:
> On Fri, Dec 19, 2008 at 05:33:17PM -0500, Jordy Dickinson wrote:
>   
>> On Fri, Dec 19, 2008 at 11:46 AM, Brooks Davis <brooks@freebsd.org> wrote:
>>
>>     
>>> On Fri, Dec 19, 2008 at 03:04:55PM +0000, Rui Paulo wrote:
>>>       
>>>> On 19 Dec 2008, at 14:19, Jordy Dickinson wrote:
>>>>
>>>>         
>>>>> Hey, I've never used a mailing list before, so forgive me if I'm not
>>>>>           
>>> doing
>>>       
>>>>> this right.
>>>>>
>>>>> I'm trying to set up my network card, but I keep getting this error
>>>>> message.
>>>>> I type in this:
>>>>>
>>>>> ifconfig wi0 authmode wpa
>>>>>           
>>>>> And I get this:
>>>>>
>>>>> ieee80211_load_module: load the wlan_xauth module by hand for now.
>>>>>           
>>>>>> ifconfig: SIOCS80211: Invalid argument
>>>>>>
>>>>>>             
>>>>> Can anybody tell me what I'm doing wrong?
>>>>>
>>>>>           
>>>> You're probably running a custom kernel without the wlan_xauth module
>>>>         
>>> built
>>>       
>>>> in. Either load it as a module or compile it in your kernel.
>>>>
>>>> You may also want to use wpa_supplicant instead.
>>>>         
>>> More specifically, setting "authmode wpa" with ifconfig will always be
>>> wrong (unless perhaps someday someone adds a suplicant to the kernel).
>>> If you want WPA to work, you must run wpa_supplicant.
>>>
>>> -- Brooks
>>>       
>> So how do I use wpa_supplicant? I've installed it on my machine already, and
>> the man pages are gibberish to me.
>>     
>
> You have to add appropriate entries to /etc/wpa_supplicant.conf for your
> network.  See the examples in the default file and the wpa_supplicant.conf
> manpage for details.  You would then add WPA to your ifconfig_wi0 line in
> /etc/rc.conf.  However, even if you do this, you will not actually be able to
> use WPA because wi(4) devices only support WEP (I missed that you were running
> wi(4) before).  If you have a WPA encrypted network you will need to get
> another card.
>   

Depends if he's running HEAD or something older.  HEAD supports WPA w/ 
wi but only for Intersil cards w/ firmware rev >= 1.7.
>   
>> Also, is there a way to make the mailing list stop sending me emails that
>> I'm not part of?
>>     
>
> You can not subscribe to the list.
>
> Since you have pretty basic questions you might consider asking the
> freebsd-questions list.
>
>   
There's also a section in the handbook that talks about setting up 
wireless network configs.

    Sam




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?494C2B3D.40102>