Getting WPA2-PSK

Sam Leffler sam at freebsd.org
Fri Dec 19 15:16:14 PST 2008


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 at 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



More information about the freebsd-net mailing list