Hello all,<br>
<br>
I tried building up an AP (hostapd 0.4.9) with Lucent Technologies pc card (which is a prism card) on 2.6.17_fc4 machine.<br>
The following error occurs when I started hostapd.<br>
<br>
I found similar issue, &quot;Problem with Hostap Can Connect to Wlan but
can't exchange data (
<a href="http://lists.shmoo.com/pipermail/hostap/2006-January/012249.html">http://lists.shmoo.com/pipermail/hostap/2006-January/012249.html</a> ).&quot;
But i still couldn't figure my problem out.<br>
<br>
The err message, config file, and dmesg are listed below.<br>
<br>
Thanks for your help in advance.<br>
<br>
err message:<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
[root@localhost mkim]# hostapd -dd /etc/hostapd/hostapd.conf<br>
Configuration file: /etc/hostapd/hostapd.conf<br>
Opening raw packet socket for ifindex 7<br>
Using interface wlan0 with hwaddr 00:02:2d:00:24:44 and ssid 'test'<br>
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument<br>
Could not setup host-based encryption in kernel driver.<br>
IEEE 802.1X initialization failed.<br>
rmdir[ctrl_interface]: No such file or directory<br>
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument<br>
Could not disable PrivacyInvoked for interface wlan0<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
<br>
<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
config file<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
[root@localhost mkim]# cat /etc/hostapd/hostapd.conf | grep ^[a-zA-Z]<br>
interface=wlan0<br>
logger_syslog=-1<br>
logger_syslog_level=2<br>
logger_stdout=-1<br>
logger_stdout_level=2<br>
debug=4<br>
dump_file=/tmp/hostapd.dump<br>
ctrl_interface=/var/run/hostapd<br>
ctrl_interface_group=0<br>
ssid=test<br>
macaddr_acl=0<br>
auth_algs=3<br>
eap_message=hello<br>
wep_key_len_broadcast=5<br>
wep_key_len_unicast=5<br>
eapol_key_index_workaround=0<br>
eap_server=1<br>
wpa=1<br>
wpa_passphrase=xxxxxxxxx<br>
wpa_key_mgmt=WPA-PSK<br>
wpa_pairwise=TKIP CCMP<br>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>

<br>
<br>
##################################################################<br>
dmesg output after pc card inserted<br>
##################################################################<br>
pccard: PCMCIA card inserted into slot 0<br>
cs: memory probe 0xa0000000-0xa0ffffff: clean.<br>
pcmcia: registering new device pcmcia0.0<br>
ieee80211_crypt: registered algorithm 'NULL'<br>
hostap_cs: 0.4.4-kernel (Jouni Malinen &lt;<a href="mailto:jkmaline@cc.hut.fi">jkmaline@cc.hut.fi</a>&gt;)<br>
ieee80211_crypt: registered algorithm 'WEP'<br>
ieee80211_crypt: registered algorithm 'TKIP'<br>
hostap_cs: setting Vcc=33 (constant)<br>
Checking CFTABLE_ENTRY 0x01 (default 0x01)<br>
IO window settings: cfg-&gt;io.nwin=1 dflt.io.nwin=1<br>
io-&gt;flags = 0x0046, io.base=0x0000, len=64<br>
hostap_cs: Registered netdevice wifi0<br>
hostap_cs: index 0x01: , irq 3, io 0x0100-0x013f<br>
prism2_hw_init: initialized in 52 ms<br>
wifi0: NIC: id=0x01 v4.0.1<br>
wifi0: PRI: id=0x15 v4.0.1<br>
wifi0: STA: id=0x1f v7.28.1<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc33, len=2)<br>
wifi0: Beacon interval setting to 100 failed<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc10, len=2)<br>
wifi0: DTIM period setting to 1 failed<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb4, len=2)<br>
wifi0: cnfSupportedRates setting to 15 failed<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb3, len=2)<br>
wifi0: cnfBasicRates setting to 3 failed<br>
Could not read current WEP flags.<br>
wifi0: encryption setup failed<br>
wifi0: could not configure encryption<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc2d, len=2)<br>
wifi0: could not set host roaming<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc43, len=2)<br>
wifi0: cnfEnhSecurity setting to 0x0 failed<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc42, len=2)<br>
wifi0: cnfThirty2Tally setting failed<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc2a, len=2)<br>
wifi0: cnfAuthentication setting to 0x3 failed<br>
wifi0: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc82, len=2)<br>
wifi0: setting FragmentationThreshold to 2346 failed<br>
wifi0: registered netdevice wlan0<br>
dev23950: TXEXC - status=0x0004 ([Discon]) tx_control=000c<br>
&nbsp;&nbsp; retry_count=0 tx_rate=0 fc=0x0208 (Data::0 FromDS)<br>
&nbsp;&nbsp; A1=33:33:00:00:00:16 A2=00:02:2d:00:24:44 A3=00:02:2d:00:24:44 A4=00:00:00:00:00:00<br>
dev23950: Could not find STA 33:33:00:00:00:16 for this TX error (@1847625)<br>
dev23950: LinkStatus=1 (Connected)<br>
wlan0: no IPv6 routers present<br>
dev23950: LinkStatus=1 (Connected)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<br>
dev23950: LinkStatus=1 (Connected)<br>
<br>

###################################################################<br>
after hostapd started<br>

###################################################################<br>
dev23950: enabling hostapd mode<br>
dev23950: registered netdevice wlan0ap<br>
Could not read current WEP flags.<br>
dev23950: encryption setup failed<br>
Could not read current WEP flags.<br>
dev23950: encryption setup failed<br>
dev23950: LinkStatus=1 (Connected)<br>
dev23950: CMD=0x0121 =&gt; res=0x7f, resp0=0x0004<br>
dev23950: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc48, len=2)<br>
dev23950: disabling hostapd mode<br>
###########################################################################<br clear="all"><br>-- <br>Thanks,<br>Sun<br><br>