<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><!--StartFragment --><FONT face=Arial size=2>Good'day,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am using hostapd-0.3.7 with madwifi HEAD 
branch.&nbsp;I can compile hostapd but i got errors when executing it.</DIV><PRE><TT><FONT face=Arial>Here's the error i am getting. 

ioctl[IEEE80211_IOCTL_SETPARAM]: Invalid argument</FONT></TT></PRE><PRE><TT><FONT face="Times New Roman"><FONT size=3><FONT face=Arial><FONT size=2>This operation failed: Why?

Many thanks.

victor</FONT>
</FONT></FONT></FONT></TT></PRE><PRE><TT><FONT face="Times New Roman"><FONT size=3>My error log:</FONT></FONT></TT></PRE><PRE><TT><FONT face="Times New Roman"><FONT size=3>--------------
# hostapd -d hostapd.conf
Configuration file: hostapd.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:0b:6b:34:88:d0 and
ssid 'MyWireless'
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0x2
madwifi_configure_wpa: key management algorithms=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA= 0x1
ioctl[IEEE80211_IOCTL_SETPARAM]: Invalid argument
ath0: DRIVER Error enabling WPA/802.1x!
IEEE 802.1X initialization failed.
rmdir[ctrl_interface]: No such file or directory
madwifi_set_privacy: enabled=0
madwifi_set_ieee8021x: enabled=0
madwifi_set_iface_flags: dev_up=0</FONT></FONT></TT></PRE></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>