WPA on laptops running FreeBSD 5.3 (hacked a custom driver but
having trouble)
Arvind Srinivasan
arvind1 at gmail.com
Wed Mar 9 09:36:19 PST 2005
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 <astrodog at gmail.com> wrote:
> On Tue, 8 Mar 2005 23:41:11 -0800, Arvind Srinivasan <arvind1 at gmail.com> 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" == Sam Leffler <sam at errno.com> 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 should
> > Sam> not be a lot of work.
> >
> > Wish I could code...
> >
> > Éric
> >
> > --
> > TP> Les binaires sur fr.* ne sont pas envisageables pour diverses
> > TP> raisons techniques qui ont déjà été évoquées des centaines de fois.
> > Les techniques que tu évoques sont des techniques de ta mère.
> > -+- C in GNU - Ta mère en short elle administre un serveur de niouzes -
> > _______________________________________________
> > freebsd-mobile at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"
> >
>
> 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. :)
>
More information about the freebsd-mobile
mailing list