Problem with Hostap Can Connect to Wlan but can't exchange data
Sun Kim
ulovecutesun
Thu Jul 20 10:13:55 PDT 2006
Hello all,
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.
The following error occurs when I started hostapd.
I found similar issue, "Problem with Hostap Can Connect to Wlan but can't
exchange data (
http://lists.shmoo.com/pipermail/hostap/2006-January/012249.html )." But i
still couldn't figure my problem out.
The err message, config file, and dmesg are listed below.
Thanks for your help in advance.
err message:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root at localhost mkim]# hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Opening raw packet socket for ifindex 7
Using interface wlan0 with hwaddr 00:02:2d:00:24:44 and ssid 'test'
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
Could not setup host-based encryption in kernel driver.
IEEE 802.1X initialization failed.
rmdir[ctrl_interface]: No such file or directory
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
Could not disable PrivacyInvoked for interface wlan0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
config file
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root at localhost mkim]# cat /etc/hostapd/hostapd.conf | grep ^[a-zA-Z]
interface=wlan0
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=test
macaddr_acl=0
auth_algs=3
eap_message=hello
wep_key_len_broadcast=5
wep_key_len_unicast=5
eapol_key_index_workaround=0
eap_server=1
wpa=1
wpa_passphrase=xxxxxxxxx
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
##################################################################
dmesg output after pc card inserted
##################################################################
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
ieee80211_crypt: registered algorithm 'NULL'
hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline at cc.hut.fi>)
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'TKIP'
hostap_cs: setting Vcc=33 (constant)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: , irq 3, io 0x0100-0x013f
prism2_hw_init: initialized in 52 ms
wifi0: NIC: id=0x01 v4.0.1
wifi0: PRI: id=0x15 v4.0.1
wifi0: STA: id=0x1f v7.28.1
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc33,
len=2)
wifi0: Beacon interval setting to 100 failed
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc10,
len=2)
wifi0: DTIM period setting to 1 failed
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb4,
len=2)
wifi0: cnfSupportedRates setting to 15 failed
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb3,
len=2)
wifi0: cnfBasicRates setting to 3 failed
Could not read current WEP flags.
wifi0: encryption setup failed
wifi0: could not configure encryption
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc2d,
len=2)
wifi0: could not set host roaming
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc43,
len=2)
wifi0: cnfEnhSecurity setting to 0x0 failed
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc42,
len=2)
wifi0: cnfThirty2Tally setting failed
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc2a,
len=2)
wifi0: cnfAuthentication setting to 0x3 failed
wifi0: CMD=0x0121 => res=0x7f, resp0=0x0004
wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc82,
len=2)
wifi0: setting FragmentationThreshold to 2346 failed
wifi0: registered netdevice wlan0
dev23950: TXEXC - status=0x0004 ([Discon]) tx_control=000c
retry_count=0 tx_rate=0 fc=0x0208 (Data::0 FromDS)
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
dev23950: Could not find STA 33:33:00:00:00:16 for this TX error (@1847625)
dev23950: LinkStatus=1 (Connected)
wlan0: no IPv6 routers present
dev23950: LinkStatus=1 (Connected)
.
.
.
dev23950: LinkStatus=1 (Connected)
###################################################################
after hostapd started
###################################################################
dev23950: enabling hostapd mode
dev23950: registered netdevice wlan0ap
Could not read current WEP flags.
dev23950: encryption setup failed
Could not read current WEP flags.
dev23950: encryption setup failed
dev23950: LinkStatus=1 (Connected)
dev23950: CMD=0x0121 => res=0x7f, resp0=0x0004
dev23950: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc48,
len=2)
dev23950: disabling hostapd mode
###########################################################################
--
Thanks,
Sun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060720/94ce261f/attachment.htm
More information about the Hostap
mailing list