<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
im struggling all day to get wpa running on my LinuxBox/AP.<br>
Ive tried and compiled many different versions of hostapd (up to 0.6.3)
to different versions of&nbsp; madwifi (madwifi-ng, madwifi-0.9.4,madwifi
svn 3456).<br>
All resulting in the same error over and over<br>
First let me list my hardware<br>
<b><br>
Hardware</b><br>
Supermicro P4SGE (in 1U)<br>
Intel P4 3,2Ghz @ 2,6Ghz (166x16)<br>
2x 1GB DDR333<br>
Intel Corporation 82845G/GL[Brookdale-G]<br>
2x 82540EM Gigabit Ethernet Controller (ETH0+1)<br>
*1x Atheros Communications, Inc. AR5212/AR5213 Multiprotocol
MAC/baseband processor*<br>
2x 80GB Raid 1<br>
3x 500GB Raid 5<br>
<br>
<b>Software </b><br>
Linux CentOS 4.6 (2.6.18-53.1.13-SMP)<br>
Loaded Modules<br>
wlan
wlan_ccmp,wlan_wep,wlan_scan_ap,wlan_tkip,wlan_xauth,wlan_scan_sta,ath_rate_sample,ath_pci<br>
<br>
<i><br>
<br>
Before i list my hostapd.con let me clarify up front :<br>
I do not bring wlanconfig up using ath0, but using eth2 (to keep
uniform eth nrs)</i><br>
wlanconfig eth2 create wlandev wifi0 wlanmode ap<br>
<br>
<b><br>
<br>
hostapd.conf</b><br>
bridge=wifi0<br>
# Enable this for standard bridging, leave disabled for netfilter
firewalls<br>
interface=eth2<br>
#interface=ath0<br>
driver=madwifi<br>
logger_syslog=-1<br>
logger_syslog_level=2<br>
logger_stdout=-1<br>
logger_stdout_level=2<br>
ctrl_interface=/var/run/hostapd<br>
ctrl_interface_group=0<br>
own_ip_addr=11.0.0.1<br>
macaddr_acl=0<br>
eap_message=hello<br>
#deny_mac_file=/etc/hostapd.deny<br>
#test setting to see if works<br>
auth_algs=1<br>
#eapol_key_index_workaround=0<br>
#eap_server=0<br>
#dump_file=/tmp/hostapd.dump<br>
ssid=test ssid<br>
wpa=1<br>
#wpa_psk=0ddb70b8d4dec9f8d9922b45d0e3d5f6195d4851f51c669e7c05bd7fdf0b618e<br>
wpa_key_mgmt=WPA-PSK WPA-EAP<br>
wpa_pairwise=TKIP CCMP<br>
<br>
<br>
<b>The PROBLEM</b><br>
Now for the problem itself !<br>
After starting hostapd i can see the wifi AP fine(can even see its
secure) , and even try to connect.<br>
Whenever i proceed to connect it will disconnect after a while (ia 20
sec)<br>
<br>
<b>hostapd output</b><i> (for -dd&nbsp; output see <a
 class="moz-txt-link-freetext" href="http://pastebin.org/27857">http://pastebin.org/27857</a>)</i><br>
Configuration file: /etc/hostapd.conf<br>
ioctl[SIOCGIFFLAGS]: No such device<br>
Using interface eth2 with hwaddr 06:13:f7:11:b6:d0 and ssid 'AP
iNSOMNiA'<br>
l2_packet_receive - recvfrom: Network is down<br>
l2_packet_receive - recvfrom: Network is down<br>
eth2: STA 00:c0:a8:dd:10:07 IEEE 802.11: associated<br>
eth2: STA 00:c0:a8:dd:10:07 WPA: pairwise key handshake completed (WPA)<br>
eth2: STA 00:c0:a8:dd:10:07 WPA: group key handshake completed (WPA)<br>
eth2: STA 00:c0:a8:dd:10:07 IEEE 802.11: disassociated<br>
ioctl[IEEE80211_IOCTL_DELKEY]: No such file or directory<br>
ioctl[IEEE80211_IOCTL_DELKEY]: No such file or directory<br>
ioctl[IEEE80211_IOCTL_SETMLME]: No such file or directory<br>
Could not set station 00:c0:a8:dd:10:07 flags for kernel driver
(errno=29).<br>
<br>
How can guide me through this wifi hell ?<br>
Thnx in advance for all the input <br>
<br>
<br>
<br>
<br>
</body>
</html>