How to bind hostap_cs to my PCMCIA card ?

chr.m at habmalnefrage.de chr.m at habmalnefrage.de
Tue Mar 16 05:09:47 EST 2004



I have installed hostap-driver-0.1.3 on a fresh Suse 9 Installation on my
laptop, but whenever I insert the PCMCIA card, it is bound to prism2_cs.
I use a ZyAIR B-101; "cardctl ident" recognized manfid: 0xd601, 0x0005.

Therefore I controlled the entries in /etc/pcmcia/config and in
/etc/pcmcia/hostap_cs.conf.
In /etc/pcmcia/config was one Card description which binds the mentioned
manfid
to "orinoco_cs":


card "D-Link DCF660"
   manfid 0xd601, 0x0005
   bind "orinoco_cs"


In /etc/pcmcia/hostap_cs.conf also was a Card description entry
with this manfid, but bound to "hostap_cs":


card "Zcomax XI-325H 200mW"
#   version " ", "IEEE 802.11 Wireless LAN/PC Card"
   manfid 0xd601, 0x0005
   bind "hostap_cs"


So I expected that all would be fine after deleting the unwanted entry in
etc/pcmcia/config, so that there remains only one Card description with the
desired
binding to hostap_cs in /etc/pcmcia/hostap_cs.conf.

But after restarting pcmcia the same behaviour occurs, i.e. cs automatically
loads prism2_cs, referring to a "D-Link DCF-660W  11Mbps 802.11b WLAN Card"
which
is mentioned neither in /etc/pcmcia/config nor in
/etc/pcmcia/hostap_cs.conf.



Output of "tail -f /var/log/messages", starting pcmcia service:

Mar 16 08:52:46 wardriver2 cardmgr[1191]: modpath =
/lib/modules/2.4.21-99-default/
Mar 16 08:52:46 wardriver2 cardmgr[1191]: modsubdir = pcmcia
Mar 16 08:52:46 wardriver2 cardmgr[1191]: watching 2 sockets
Mar 16 08:52:46 wardriver2 kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Mar 16 08:52:46 wardriver2 kernel: cs: IO port probe 0x0820-0x08ff: clean.
Mar 16 08:52:46 wardriver2 kernel: cs: IO port probe 0x0800-0x080f: clean.
Mar 16 08:52:46 wardriver2 kernel: cs: IO port probe 0x03e0-0x04ff:
excluding 0x4d0-0x4d7
Mar 16 08:52:46 wardriver2 kernel: cs: IO port probe 0x0100-0x03af:
excluding 0x378-0x37f
Mar 16 08:52:46 wardriver2 kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Mar 16 08:52:46 wardriver2 cardmgr[1193]: starting, version is 3.2.4



Output of "tail -f /var/log/messages", after inserting the card:

Mar 15 12:58:26 wardriver2 kernel: cs: memory probe 0xa0000000-0xa0ffffff:
clean.
Mar 15 12:58:26 wardriver2 cardmgr[2193]: socket 1: D-Link DCF-660W  11Mbps
802.11b WLAN Card
Mar 15 12:58:26 wardriver2 cardmgr[2193]: module
/lib/modules/2.4.21-99-default//pcmcia/p80211.o not available
Mar 15 12:58:26 wardriver2 cardmgr[2193]: executing: 'modprobe -v p80211'
Mar 15 12:58:26 wardriver2 cardmgr[2193]: + /sbin/insmod
/lib/modules/2.4.21-99-default/kernel/drivers/net/wireless/p80211.o
Mar 15 12:58:26 wardriver2 cardmgr[2193]: + Using
/lib/modules/2.4.21-99-default/kernel/drivers/net/wireless/p80211.o
Mar 15 12:58:26 wardriver2 cardmgr[2193]: + Symbol version prefix ''
Mar 15 12:58:26 wardriver2 cardmgr[2193]: executing: 'insmod -v
/lib/modules/2.4.21-99-default//pcmcia/prism2_cs.o'
Mar 15 12:58:26 wardriver2 /sbin/hotplug[2197]: no runnable
/etc/hotplug/wlan.agent is installed
Mar 15 12:58:26 wardriver2 cardmgr[2193]: + Using
/lib/modules/2.4.21-99-default//pcmcia/prism2_cs.o
Mar 15 12:58:26 wardriver2 cardmgr[2193]: + Symbol version prefix ''
Mar 15 12:58:26 wardriver2 kernel: prism2_init: prism2_cs.o: 0.2.1-pre9
Loaded
Mar 15 12:58:26 wardriver2 kernel: prism2_init: dev_info is: prism2_cs
Mar 15 12:58:26 wardriver2 kernel: prism2_cs: index 0x01: Vcc 5.0, irq 5, io
0x0100-0x013f
Mar 15 12:58:26 wardriver2 cardmgr[2193]: executing: './network start wlan0'
Mar 15 12:58:26 wardriver2 /sbin/hotplug[2207]: no runnable
/etc/hotplug/wlan.agent is installed
Mar 15 12:58:26 wardriver2 ifup: No configuration found for wlan-pcmcia-1
wlan0
Mar 15 12:58:27 wardriver2 /etc/hotplug/net.agent[2222]: Interface wlan0 is
handled by service PCMCIA    ... exiting



How can I achieve, to load hostap_cs ?


regard

chr. mayer







-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz




More information about the HostAP mailing list