I'm trying kamikaze with atheros wireless card and wep. When I tried wep 
encryption with shared network authentication, the kamikaze based client 
didn't connect to the access point, also using last trunk madwifi package.

My config/wireless is:
config wifi-device  wifi1
        option type     atheros
        option country  it
        option channel  140
config wifi-iface
        option device   wifi0
        option network  wlan0
        option mode     sta
        option ssid     test
        option encryption wep
        option key1     s:xxxxxxxxxxxx

I verified the authmode parameter and the value was 1, instead of 2, as 
indicated in
 http://madwifi.org/wiki/UserDocs/iwpriv.

I added the  option to configure authmode parameter in 
/lib/wifi/madwifi.sh as reported in the attached patch.

andrea

file: trunk/package/madwifi/files/lib/wifi/madwifi.sh
==============
--- package/madwifi/files/lib/wifi/madwifi.sh    2008-02-21 
14:01:21.000000000 +0100 (revision 10513)
+++ madwifi.sh    2008-02-29 22:53:28.000000000 +0100 (working copy)
@@ -214,7 +214,10 @@
 
         config_get_bool doth "$vif" doth 0
         [ -n "$doth" ] && iwpriv "$ifname" doth "$doth"
-
+       
+        config_get authmode "$vif" authmode
+        [ -n "$authmode" ] && iwpriv "$ifname" authmode "$authmode"
+       
         config_get maclist "$vif" maclist
         [ -n "$maclist" ] && {
             # flush MAC list

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to