Can I have one configuration that can handle both OPEN and SHARED WEP authentication?

Lixin Song zjujoe
Sun Jul 6 18:41:39 PDT 2008


Dear Jouni,
     I searched in the kernel driver and found marvell
driver doesn't support setting OPEN & SHARED at same
time. I will try to advice them your suggestion. Thx!

     Lixin Song     
--- Jouni Malinen <j at w1.fi>??:

> On Tue, Jul 01, 2008 at 03:53:00PM +0800, Lixin Song
> wrote:
> >      I tried and failed. wpa_supplicant just use
> OPEN
> > setting when I set auth_alg as OPEN & SHARED.
> 
> Are you sure wpa_supplicant did that and not the
> driver you used? If you
> set auth_alg to OPEN SHARED, wpa_supplicant should
> try to configure the
> driver to allow both authentication algorithms.
> However, not all drivers
> support such configuration. With Linux wireless
> extensions, the driver
> would need to support SIOCSIWAUTH ioctl to set
> IW_AUTH_80211_AUTH_ALG.
> If it does not, wpa_supplicant falls back to using
> SIOCSIWENCODE which
> allows only one (either OPEN or SHARED) to be
> enabled.
> 
> >      Maybe we can implement a logic in
> wpa_supplicant
> > which try OPEN and SHARED one by one.
> 
> That would be one workaround. Though, it might be
> cleaner to extend the
> driver to support setting of IW_AUTH_80211_AUTH_ALG
> and take care of
> trying each algorithm there, not in wpa_supplicant.
> 
> -- 
> Jouni Malinen                                       
>     PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



      ___________________________________________________________ 
 ???????????? 
http://cn.mail.yahoo.com/



More information about the Hostap mailing list