From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 17:36:18 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C60C516A4CE for ; Wed, 9 Mar 2005 17:36:18 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55EC943D31 for ; Wed, 9 Mar 2005 17:36:18 +0000 (GMT) (envelope-from arvind1@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so271736wra for ; Wed, 09 Mar 2005 09:36:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=g1IAlDNJQot1wo7liBbuU0gA3tlMCPOUVa7/Jzi1X1dsL4mEZ5+3+0+p8HMJ/0T3Z85Lk3Ant2rekvIjb5d/1iN+TrqkiPzeFRCvd3gsg6qu13h089YMQLjbaX4GeT+fbhrXonnrunq5gm2Oh0twqDKhaJGY3BbOQoywWct/NKs= Received: by 10.54.84.20 with SMTP id h20mr453447wrb; Wed, 09 Mar 2005 09:36:17 -0800 (PST) Received: by 10.54.26.41 with HTTP; Wed, 9 Mar 2005 09:36:17 -0800 (PST) Message-ID: Date: Wed, 9 Mar 2005 09:36:17 -0800 From: Arvind Srinivasan To: freebsd-mobile@freebsd.org In-Reply-To: <2fd864e05030906332fb7c65e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <2fd864e05030906332fb7c65e@mail.gmail.com> Subject: Re: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Arvind Srinivasan List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 17:36:19 -0000 Good idea - I'll add the sysctls this weekend. I also need to figure out why the link is up but cannot get anything to transmit over it. Maybe the 6-CURRENT code has some pointers .... On Wed, 9 Mar 2005 08:33:20 -0600, Astrodog wrote: > On Tue, 8 Mar 2005 23:41:11 -0800, Arvind Srinivasan = wrote: > > I hacked a custom ndis driver to use WPA-PSK. The driver pretends to > > be WEP (so that I can continue to use the existing API's) but under > > the covers it actually calls the ndis wrapper with WPA OIDs instead of > > the WEP OIDs. > > > > The essential changes I made are a call to OID_802_11_ADD_KEY instead > > of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of > > NDIS_80211_WEPSTAT_ENABLED. > > All the changes are in if_ndis.c:ndis_setstate_80211. > > > > I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. > > Both cards associate fine, but do not get much further than that. I am > > unable to get an IP address from the NETGEAR router via DHCP, even > > though the link is up. > > Note that both cards work fine with the same router in Windows..... > > > > Is there anything else I need to do besides provide the right key and > > encryption method in ndis_setstate_80211? > > > > Thanks. > > -----------------------------------------------------------------------= -------------------------------- > > > > >>>>> "Sam" =3D=3D Sam Leffler writes: > > > > Hi, > > > > Sam> I have no intention. I believe it is more valuable to spend time > > Sam> on importing support for newer devices that can support WPA > > Sam> natively (like Intel). > > > > Fully understandable and logical. > > > > Sam> OTOH there's nothing to stop someone else from doing it; it shoul= d > > Sam> not be a lot of work. > > > > Wish I could code... > > > > =C9ric > > > > -- > > TP> Les binaires sur fr.* ne sont pas envisageables pour diverses > > TP> raisons techniques qui ont d=E9j=E0 =E9t=E9 =E9voqu=E9es des centa= ines de fois. > > Les techniques que tu =E9voques sont des techniques de ta m=E8re. > > -+- C in GNU - Ta m=E8re en short elle administre un serveur de niouze= s - > > _______________________________________________ > > freebsd-mobile@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.or= g" > > >=20 > Might want to see if you can make it a sysctl/tunable to switch > between the two modes, if it was, I could atleast give it a shot on my > laptop. Lemme know if you get it to that point, even if it isn't > entirely functional, and I'll be all over it. :) >