From owner-freebsd-current@FreeBSD.ORG Wed Oct 8 23:48:37 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 972771065698 for ; Wed, 8 Oct 2008 23:48:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 465598FC08 for ; Wed, 8 Oct 2008 23:48:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id m98NmaaC085417; Wed, 8 Oct 2008 16:48:36 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id m98Nmaq5085416; Wed, 8 Oct 2008 16:48:36 -0700 (PDT) (envelope-from david) Date: Wed, 8 Oct 2008 16:48:36 -0700 From: David Wolfskill To: Sam Leffler Message-ID: <20081008234836.GW41015@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , Sam Leffler , current@freebsd.org References: <20081008141444.GQ41015@bunrab.catwhisker.org> <48ED431E.6000904@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rtB7IEDY8voTVmfF" Content-Disposition: inline In-Reply-To: <48ED431E.6000904@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: wpa_suuplicant(8) & wlan(4) vs. an(4) et al. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 23:48:37 -0000 --rtB7IEDY8voTVmfF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 08, 2008 at 04:32:46PM -0700, Sam Leffler wrote: > ... > > Hmmm.... "reject, not an 802.11 device" seems a bit harsh, given: > >=20 > > g1-37(8.0-C)[7] ifconfig an0 > > ... > > but I expect that's merely an artifact of an(4) not having been > > overhauled to the new(er) wlan(4) framework or some such thing. (Though > > I could well be completely wrong about this, as I confess I've not > > actually looked at the code in a long time.) >=20 > Correct, an does not use net80211 so cannot be used to clone wlan vap's. > The "not an 802.11 device" is because the wlan clone routine checks the > ifnet's type to be sure it's IFT_IEE80211 and not IFT_ETHER. OK; makes sense. =20 > It's entirely possible to make an use net80211 and/or do wpa but noone's > made the effort. Ah.... > ...=20 > > I'm not enough of a hacker to overhaul a device driver, but I am willing > > (as some here might attest) to test patches & report back. > >=20 > > I wouldn't mind being able to delete my script -- while retaining my > > ability to have network connetivity. :-} >=20 > I guess you were also asking about using iwi and wi devices. iwi should > work; if it does not then please provide info though I'm overloaded and > may not have time to respond quickly. Submitting a PR would be useful. OK; I can certainly do that -- assuming(!) that more careful testing demonstrate that there's actually an issue. > wi was rewritten in HEAD and does support WPA but only with a subset of > the hardware (and firmware) that used to be usable. I believe the > manual page calls out what hardware is supported. Cool; I'll check -- I had dyked the driver out of my kernel config, intending to use kldload(8) for times I actually planned to use it. I certainly understand ENOTIME; thank you very much for your response. I will investigate more carefully & report (via PR if that's appropriate). Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --rtB7IEDY8voTVmfF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkjtRtIACgkQmprOCmdXAD25PQCeOxXo3u2dHh0UaQEHnqxxwAZr ov8AnicsXrvrd0Q0Ns4zQlHGKnqAfkQa =VsbF -----END PGP SIGNATURE----- --rtB7IEDY8voTVmfF--