From owner-freebsd-net@FreeBSD.ORG Fri Dec 19 23:16:14 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16EF2106564A for ; Fri, 19 Dec 2008 23:16:14 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id B8E3A8FC16 for ; Fri, 19 Dec 2008 23:16:13 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id mBJNGDeM041045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Dec 2008 15:16:13 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <494C2B3D.40102@freebsd.org> Date: Fri, 19 Dec 2008 15:16:13 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Brooks Davis References: <20081219164617.GC50722@lor.one-eyed-alien.net> <20081219224116.GE50722@lor.one-eyed-alien.net> In-Reply-To: <20081219224116.GE50722@lor.one-eyed-alien.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: FreeBSD-Net , Jordy Dickinson Subject: Re: Getting WPA2-PSK X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2008 23:16:14 -0000 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 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