problems, problems

Praedor Tempus praedor
Wed Nov 20 08:22:40 PST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a Zoomair Prism2-based pcmcia card.  I am running Mandrake 8.2 with 
kernel-2.4.18 that I built without pcmcia support, building and installing 
the pcmcia-cs-3.2.0 package.  

If I use the linux-wlan-ng prism2_cs package, the card works.  I am unable to 
get hostap_cs to work properly thus far.  

The module loads fine but I get this in my /var/log/messages:

Nov 20 11:10:08 lapdog /etc/hotplug/net.agent: NET unregister event not 
supported
Nov 20 11:10:17 lapdog cardmgr[12348]: socket 1: Intersil PRISM2 Reference 
Design 11Mb/s WLAN Card
Nov 20 11:10:17 lapdog cardmgr[12348]: executing: 'modprobe hostap_cs'
Nov 20 11:10:17 lapdog kernel: hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH 
Communications Security Corp, Jouni Malinen)
Nov 20 11:10:17 lapdog kernel: hostap_cs: (c) Jouni Malinen 
<jkmaline at cc.hut.fi>
Nov 20 11:10:17 lapdog kernel: hostap_cs: index 0x01: Vcc 5.0, irq 3, io 
0x0100-0x013f
Nov 20 11:10:17 lapdog kernel: hostap_cs: Registered netdevice wlan0
Nov 20 11:10:27 lapdog kernel: wlan0: could not get own MAC address
Nov 20 11:10:29 lapdog kernel: wlan0: Port type setting to 6 failed
Nov 20 11:10:31 lapdog cardmgr[12348]: executing: './network start wlan0'
Nov 20 11:10:31 lapdog kernel: wlan0: MAC port 0 enabling failed
Nov 20 11:10:34 lapdog /etc/hotplug/net.agent: invoke ifup wlan0
Nov 20 11:10:41 lapdog kernel: hostap_cs: release postponed, 'wlan0' still 
open
Nov 20 11:10:41 lapdog cardmgr[12348]: executing: './network stop wlan0'
Nov 20 11:10:41 lapdog cardmgr[12348]: executing: 'modprobe -r hostap_cs'
Nov 20 11:10:41 lapdog kernel: hostap_cs: detach postponed, 'wlan0' still 
locked
Nov 20 11:10:41 lapdog kernel: hostap_cs: Netdevice wlan0 unregistered
Nov 20 11:10:41 lapdog kernel: hostap_cs: Driver unloaded
Nov 20 11:10:41 lapdog /etc/hotplug/net.agent: NET unregister event not 
supported

If I run "iwconfig wlan0" I get:

[root at lapdog pcmcia-cs]# iwconfig wlan0
Warning: Driver for device wlan0 recommend version 13 of Wireless Extension,
but has been compiled with version 12, therefore some driver features
may not be available...

wlan0     IEEE 802.11-DS  Mode:Master  Tx-Power:15 dBm
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

What's with the wireless extensions message?  I have just about the latest 
kernel available (2.4.18) and I have built and installed the latest available 
wireless-tools.  Surely I don't need to use 2.4.19?  That kernel is terribly 
buggy (in my experience) and breaks a number of things on my laptop.  

Running "ifconfig wlan0" produces:

[root at lapdog pcmcia-cs]# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet addr:10.0.0.1  Bcast:10.0.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0x100

Not suprizingly, given the message in /var/log/messages, the HWaddr is 
screwed.  I also find that virtually no command will work with regards to 
this card, not wireless extension commands using iwconfig nor any commands 
issued via ifconfig (I tried to manually set the HWaddr to the correct 
setting but it fails). 

With the prism2_cs driver from linux-wlan-ng there is no problem obtaining the 
MAC address of the card, this is exclusive to hostap_cs.  

Can anyone help me out here?  What can I do to get this thing working?



- -- 
Conservatives of all times are adventitious liars.
- - Friedrich Nietzsche.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE927bQ1i/6R1B/Yh0RAnHgAKCkyurL0bE0CWZtHqoCIE+a/QCimQCeIf6T
ThJM+F5/1bAh/JUwRtwRpNM=
=RnRS
-----END PGP SIGNATURE-----




More information about the Hostap mailing list