Static wep keys not set

Rodolfo Giometti giometti
Tue Apr 3 01:17:35 PDT 2007


Hello,

I'm trying to set up static WEP keys with the following hostapd-0.5.7
configuration file:

interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=4
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=myssid
macaddr_acl=0
auth_algs=3
wep_default_key=0
wep_key0=0123456789

but when running hostapd with "-dd" option I get:

madwifi_del_key: addr=00:00:00:00:00:00 key_idx=0
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=1
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=2
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=3
madwifi_set_key: alg=WEP addr=00:00:00:00:00:00 key_idx=0
Using interface ath0 with hwaddr 00:0b:6b:4e:36:19 and ssid 'myssid'

and no WEP keys are set:

# iwlist ath0 key
ath0      3 key sizes : 40, 104, 128bits
          4 keys available :
                [1]: off
                [2]: off
                [3]: off
                [4]: off
          Current Transmit Key: [0]
          Security mode:open
          Authentication capabilities :
                WPA
                WPA2
                CIPHER TKIP
                CIPHER CCMP
          Current key_mgmt:0x2
          Current cipher_pairwise:0x10
          Current cipher_group:0x4

Thanks in advance,

Rodolfo

-- 
GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127






More information about the Hostap mailing list