fc2 & hostap & xsupplicant
Morgan Read
mstuff
Fri Aug 20 18:50:40 PDT 2004
Hi,
I'm using a Allied Telesyn AT-WCL452 with a prism 3 chipset (now at the
bottom of hostap_cs.conf, thanks), apparently also with Intersil firmware.
I'm using hostap v 0.2.4 which seems to work fine, up to running
xsupplicant.
From the fact that I don't seem to be getting an IP address, but do get
a MAC address I assume there's something not happening between
xsupplicant & the driver (should be something showing IP under
ifconfig?), or xsupplicant & the AP?
Copied below is the output of ifconfig, iwconfig,
/var/log/xsupplicant.log, dmesg (bit long). Attached is the
xsupplicant.conf file I've been using.
The set up commands I used are a hybrid of my uni's preliminary howto
<http://www.ece.auckland.ac.nz/~tcol036/wireless/wireless.html> and one
I found here <http://www.cs.vu.nl/~mklencke/wlan.php> that describes use
of the hostap driver with xsupplicant, all be it earlier versions. They
are as follows:
/sbin/ifconfig wlan0 up
/sbin/iwconfig wlan0 mode Managed
/sbin/iwconfig wlan0 essid uoa
/sbin/iwconfig wlan0 enc abcdef0123456789abcdef0123 open
/usr/local/sbin/xsupplicant -i wlan0
All seemed to go well except for the last.
Hoping you might have some ideas.
Regards,
Morgan.
***************************************
[root at morgansmachine morgan]# /sbin/iwconfig wlan0
wlan0 IEEE 802.11b ESSID:"uoa"
Mode:Managed Frequency:2.437GHz Access Point:
00:0D:ED:99:37:C0
Bit Rate:11Mb/s Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:ABCD-EF01-2345-6789-ABCD-EF01-23 Security
mode:open
Power Management:off
Link Quality:27/70 Signal level:-65 dBm Noise level:-93 dBm
Rx invalid nwid:0 Rx invalid crypt:730 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:52 Missed beacon:0
[root at morgansmachine morgan]# /sbin/ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:30:84:1F:AE:F7
inet6 addr: fe80::230:84ff:fe1f:aef7/64 Scope:Link
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1560 (1.5 Kb) TX bytes:792 (792.0 b)
Interrupt:3 Base address:0x100
[root at morgansmachine morgan]#
***************************************
ADDING INTERFACE : wlan0
Interface initalized!
ADDING INTERFACE : wifi0
No configuration information for network "(null)" found. Using default.
Connection established, authenticating...
Connection established, authenticating...
Connection established, authenticating...
***************************************
hostap_cs: 0.2.4 - 2004-07-17 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
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
divert: not allocating divert_blk for non-ethernet device wifi0
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
prism2_hw_init: initialized in 199 ms
wifi0: NIC: id=0x801b v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.4.9
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in
Host AP mode WDS
divert: allocating divert_blk for wlan0
wifi0: registered netdevice wlan0
prism2: wlan0: operating mode changed 3 -> 2
hostap_cs: CS_EVENT_CARD_REMOVAL
wifi0: card already removed or not configured during shutdown
wifi0: Interrupt, but dev not OK
divert: freeing divert_blk for wlan0
divert: no divert_blk to free, wifi0 not ethernet
hostap_cs: Driver unloaded
hostap_cs: 0.2.4 - 2004-07-17 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
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
divert: not allocating divert_blk for non-ethernet device wifi0
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
prism2_hw_init: initialized in 199 ms
wifi0: NIC: id=0x801b v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.4.9
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in
Host AP mode WDS
divert: allocating divert_blk for wlan0
wifi0: registered netdevice wlan0
wlan0: no IPv6 routers present
prism2: wlan0: operating mode changed 3 -> 2
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:30:84:1f:ae:f7
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: invalid skb->cb magic (0x00000000, expected 0xf08a36a2)
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: invalid skb->cb magic (0x00000000, expected 0xf08a36a2)
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: invalid skb->cb magic (0x00000000, expected 0xf08a36a2)
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:ed:99:37:c0
[root at morgansmachine morgan]#
****************************************
--
Morgan Read
<mailto:mstuffATplDOTnet>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xsupplicant.conf
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20040820/93e183ea/attachment.txt
More information about the Hostap
mailing list