WPA-PSK for Aironet
kemas
k_henry
Tue Feb 20 21:14:15 PST 2007
cisco said that aironet 340 or 350 can do EAP-TLS, but doesn't provide
the tools to do it.
anyone tried aironet 340 or 350 with XP (or any other OS) to do EAP-TLS,
is it really work?
I tried but has no luck, because when the radius server send access-
challenge, the card seems to ignore it or maybe XP ignore it so
authentication failed.
thanks
On Tue, 2007-02-20 at 18:46 +0530, Basavaraj Arani wrote:
> Hi,
>
> I couldn't do wpa_supplicant with aironet at all.
>
> Basavaraj
>
> On 2/20/07, kemas <k_henry at ramayana.co.id> wrote:
> hi all,
>
> I'm still can't not do wpa with aironet, is there any new
> wpa_supplicant
> release for this issue?
>
> thanks
>
>
> On Fri, 2007-01-05 at 10:51 +0530, Basavaraj Arani wrote:
> > ----------------(on VirusWall Server )-------------------
> >
> > email-body was scanned and no virus found
> >
> -----------------------------------------------------------------
> > Hi Dan,
> >
> > Earlier I also tried IW_ENCODE_ALG_TKIP. But it dint work.
> Then I
> > triend the ALG_WEP. But was no use.
> >
> > Regards,
> > Basu
> >
> > On 1/4/07, Dan Williams <dcbw at redhat.com> wrote:
> > On Thu, 2007-01-04 at 11:17 +0530, Basavaraj Arani
> wrote:
> > > Hi Dan,
> > >
> > > I am using the Firmware 5.6.08. But whenever I set
> the WPA
> > key, the
> > > card somehow doesn't get associated with the
> Access Point.
> > > I am using the DLink-DWL-7100AP access point.
> >
> > Well, note that the driver modifications Matthieu
> made aren't
> > fully
> > debugged and aren't integrated upstream into the
> kernel, so
> > there are no
> > guarantees that everything works in the driver
> yet. I'm
> > working on
> > cleaning it up and integrating the WPA code into the
> existing
> > Airo
> > driver, but it's a slow process since we want the
> same driver
> > to be used
> > for all modes.
> >
> > > Here is the code for setting the WPA on/off
> > > ........
> > > if(!strcasecmp(args[0], "on"))
> > > {
> > > //wrq.u.param.flags = IW_AUTH_WPA_ENABLED
> &
> > IW_AUTH_INDEX;
> > > wrq.u.param.flags =
> IW_AUTH_DROP_UNENCRYPTED &
> > IW_AUTH_INDEX;
> > > wrq.u.param.value = 1;
> > >
> > > if(iw_set_ext(skfd, ifname, SIOCSIWAUTH,
> &wrq) < 0)
> > > return(IWERR_SET_EXT);
> > >
> > > }
> > > else if(!strcasecmp(args[0], "off"))
> > > {
> > > wrq.u.param.flags = IW_AUTH_WPA_ENABLED &
> > IW_AUTH_INDEX;
> > > wrq.u.param.value = 0;
> > >
> > > if(iw_set_ext(skfd, ifname, SIOCSIWAUTH,
> &wrq) < 0)
> > > return(IWERR_SET_EXT);
> > > }
> > > ........
> > >
> > > and for setting the WPA keys, I have the following
> code.
> > >
> > > static int
> > > set_wpakey_info(int skfd,
> > > char * ifname,
> > > char * args[],
> > > int count)
> > > {
> > > struct iwreq wrq;
> > > struct iw_encode_ext *iwee;
> > > unsigned char key[IW_ENCODING_TOKEN_MAX];
> > > int keylen = strlen(args[0]);
> > >
> > > memset(&wrq, 0x00, sizeof(wrq));
> > >
> > > memcpy(key, args[0], keylen);
> > > iwee = (struct iw_encode_ext *)malloc(sizeof
> (struct
> > iw_encode_ext)
> > > + IW_ENCODING_TOKEN_MAX);
> > >
> > > iwee->alg = IW_ENCODE_ALG_WEP;
> >
> > You appear to be telling the driver to use a WEP
> key, not a
> > WPA key.
> > You probably want IW_ENCODE_ALG_TKIP here.
> >
> > Dan
> >
> > > iwee->key_len = keylen;
> > > iwee->ext_flags = 1;
> > > memcpy(iwee->key, key, keylen);
> > >
> > > wrq.u.encoding.pointer = (caddr_t)iwee;
> > > wrq.u.encoding.flags = 1;
> > > wrq.u.encoding.length = sizeof(struct
> iw_encode_ext) +
> > keylen;
> > > if(iw_set_ext(skfd, ifname,SIOCSIWENCODEEXT,
> &wrq) < 0)
> > > {
> > > return(IWERR_SET_EXT);
> > > }
> > > return(1);
> > > }
> > >
> > > I tried to set a key of length 32.
> > > The key I set at both the ends (AP/ client
> adapater) is
> > > abcdefghijklmnopqrstuvwxyzabcdef.
> > >
> > > But the card doesn't get associated with the AP.
> > >
> > > Please help me in resolving this problem.
> > >
> > > Many thanks in advance.
> > >
> > > Regards,
> > > Basu
> > >
> > >
> > > On 1/4/07, Dan Williams <dcbw at redhat.com> wrote:
> > > On Wed, 2007-01-03 at 09:20 +0700, kemas
> henry
> > wrote:
> > > > On Tue, 2007-01-02 at 18:13 +0100,
> > castet.matthieu at free.fr
> > > wrote:
> > > > > Selon R Arani Basavaraj-a24052
> > <basavaraj at motorola.com>:
> > > > >
> > > > > >
> > > > > > Hi,
> > > > > Hi,
> > > > >
> > > > > >
> > > > > > Is the current Linux driver for
> aironet pc4500
> > driver
> > > supports WPA-PSK?
> > > > > > I downloaded the airo driver which
> claims to
> > support
> > > WPA-PSK from
> > > > > > http://castet.matthieu.free.fr/airo,
> but it
> > doesn't
> > > seems to be working well
> > > > > > for me.
> > > > > AFAIK, only 340 and 350 series with a
> recent
> > firmware
> > > support wpa. The older
> > > > > cards don't.
> > > >
> > > > did you mean cisco 340 and 350 pcmcia ?
> > >
> > > Correct, only the 340 and 350 versions, in
> both
> > MiniPCI and
> > > PCMCIA.
> > > You'll need firmware version 5.30.17 or
> later to do
> > WPA.
> > >
> > > > what kind of WPA that this card
> support ?
> > >
> > > TKIP encryption only, with either WPA or
> WPA2. The
> > hardware
> > > just cannot
> > > do AES/CCMP.
> > >
> > > Dan
> > >
> > >
> > >
> > >
> _______________________________________________
> > > HostAP mailing list
> > > HostAP at shmoo.com
> > >
> http://lists.shmoo.com/mailman/listinfo/hostap
> > >
> >
> >
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
>
>
More information about the Hostap
mailing list