From owner-freebsd-net@FreeBSD.ORG Fri Dec 19 22:40:33 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 36DC31065674 for ; Fri, 19 Dec 2008 22:40:33 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id BC13D8FC1C for ; Fri, 19 Dec 2008 22:40:32 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.2) with ESMTP id mBJMfGGE077210; Fri, 19 Dec 2008 16:41:16 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id mBJMfGtP077209; Fri, 19 Dec 2008 16:41:16 -0600 (CST) (envelope-from brooks) Date: Fri, 19 Dec 2008 16:41:16 -0600 From: Brooks Davis To: Jordy Dickinson Message-ID: <20081219224116.GE50722@lor.one-eyed-alien.net> References: <20081219164617.GC50722@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WK3l2KTTmXPVedZ6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Fri, 19 Dec 2008 16:41:16 -0600 (CST) Cc: Rui Paulo , FreeBSD-Net 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 22:40:33 -0000 --WK3l2KTTmXPVedZ6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > > 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 >=20 >=20 > 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 runn= ing wi(4) before). If you have a WPA encrypted network you will need to get another card. > 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. -- Brooks --WK3l2KTTmXPVedZ6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFJTCMLXY6L6fI4GtQRApz7AJ9Ul4dpIJr/2AEa8ixZUUyR6eXeZwCfQ6/q F+9MeS155Vv0+fCft1t+Gb0= =CZ3T -----END PGP SIGNATURE----- --WK3l2KTTmXPVedZ6--