Congratulations, :).

2005/9/27, kasp <>:

Problem is solved! I tried to use encryption on other interface (ath3)
and it worked! So - why is this happening?
# dmesg | grep "encryption support"
ath0: H/W encryption support: WEP AES
ath1: H/W encryption support: WEP AES
ath2: H/W encryption support: WEP AES
ath3: H/W encryption support: WEP AES AES_CCM TKIP

This means, that on ath3 I can use CCMP or TKIP without any problems.
As you can see bellow - this is not working on other interfaces. OK,
if I can't use CCMP or TKIP on my other wireless cards, then what encryption
method would fit best in my case? WEP is weak as we can read in
security papers. Is it possible to use AES with hostapd? (CCMP doesn't

P.S. What is the difference between AES and AES_CCM? Are thei both
supported on hostapd & madwifi?

k> Next I've tried to use Hostapd 0.4.4 version, it did compile
k> sucessful, but strange error appears:

k> ./hostapd -dd /etc/hostapd.conf
k> Configuration file: /etc/hostapd.conf
k> madwifi_set_iface_flags: dev_up=0
k> Using interface ath1 with hwaddr 00:01:24:70:32:a0 and ssid 'blabla'
k> madwifi_set_ieee8021x: enabled=1
k> madwifi_configure_wpa: group key cipher=1
k> ioctl[IEEE80211_IOCTL_SETPARAM]: Invalid argument
k> Unable to set group key cipher to 1
k> IEEE 802.1X initialization failed.
k> madwifi_set_privacy: enabled=0
k> madwifi_set_ieee8021x: enabled=0
k> madwifi_set_iface_flags: dev_up=0

k> Configuration file:

k> hostapd.conf
k> #Configuration for wpa-psk Security profile
k> interface=ath1
k> driver=madwifi
k> logger_syslog=0
k> logger_syslog_level=0
k> logger_stdout=0
k> logger_stdout_level=0
k> debug=0
k> dump_file=/tmp/hostapd.dump
k> ssid=blabla
k> macaddr_acl=1
k> accept_mac_file=/etc/hostapd.accept
k> wpa=1
k> wpa_psk_file=/etc/hostapd.wpa_psk
k> wpa_key_mgmt=WPA-PSK
k> wpa_pairwise=CCMP TKIP
k> wpa_group_rekey=600
k> wpa_gmk_rekey=86400

Best regards,
kasp                            mailto:

SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play:
Madwifi-users mailing list