Date: Sat, 15 Mar 2014 16:18:40 -0700 From: Adrian Chadd <adrian.chadd@gmail.com> To: Allan Jude <freebsd@allanjude.com> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: iwn(4) and WEP Message-ID: <CAJ-Vmok_dMEi-04uKVnYoKmq=U5zKXVj-nR2%2BdDONYbEx%2Bot%2Bg@mail.gmail.com> In-Reply-To: <532420D4.3020800@allanjude.com> References: <1394851922.4791.7.camel@powernoodle.corp.yahoo.com> <5323D9D4.6090204@allanjude.com> <CAJ-VmonJ03tMRHAAQxCQDKKwmWm8W_zYujy2dm1aqYp%2BcP211Q@mail.gmail.com> <532420D4.3020800@allanjude.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Please commit the wpa patch! -a On 15 March 2014 02:43, Allan Jude <freebsd@allanjude.com> wrote: > On 2014-03-15 13:46, Adrian Chadd wrote: > > Can you put this up on http or attach as .txt so I can read it in this here > phone mail app? > > Adrian > > On Mar 14, 2014 9:41 PM, "Allan Jude" <freebsd@allanjude.com> wrote: >> >> On 03/14/2014 22:52, Sean Bruno wrote: >> > It looks like the wpa_supplicant 2.0 import now checks the >> > cryptocapability mask when trying to validate WEP usage. >> > >> > iwn(4) does not populate the mask with any values so wpa_supplicant sees >> > a value of 0. >> > >> > I added the capabilites and can associate, but dhclient cannot get an IP >> > from the AP. I assume then, that once again, I don't know what I'm >> > doing. >> > >> > More or less, this is what I tried: >> > >> > Index: if_iwn.c >> > =================================================================== >> > --- if_iwn.c (revision 263173) >> > +++ if_iwn.c (working copy) >> > @@ -564,6 +564,8 @@ >> > | IEEE80211_C_PMGT /* Station-side power mgmt >> > */ >> > ; >> > >> > + ic->ic_cryptocaps = IEEE80211_CRYPTO_WEP; >> > + >> > /* Read MAC address, channels, etc from EEPROM. */ >> > if ((error = iwn_read_eeprom(sc, macaddr)) != 0) { >> > device_printf(dev, "could not read EEPROM, error %d\n", >> > >> > >> > sean >> > >> > p.s. Allan Jude came up with a hack for wpa_supplicant that seems to >> > work, so I've bcc'd him here to get a patch out of him. >> >> Attached is my (horrible) patch that no one should use. But it is >> available for those of us at the conference who just need something that >> will work for the rest of the weekend. >> >> >> >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to >> "freebsd-wireless-unsubscribe@freebsd.org" > > > Here is the web url for my patch (which no one should use): > http://www.allanjude.com/bsd/wpa_supplicant.wep.patch > > Here is the patch rpaulo sent us on IRC: > http://people.freebsd.org/~rpaulo/wpa.patch > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmok_dMEi-04uKVnYoKmq=U5zKXVj-nR2%2BdDONYbEx%2Bot%2Bg>