How to load hostap_cs modules at boot time using pcmciautils??

Nguyễn Việt Hải gnuzilla
Sun Apr 1 02:53:22 PDT 2007


Hi men,

I'm now having a Netgear 401RA wireless PCMCIA card. When I inserted
my card into my T21, linux always load orinoco* for it. After
rebuilding the kernel and chosing not to compile orinoco modules, my
computer only loaded with this info:

[   14.281878] pccard: PCMCIA card inserted into slot 0

When issueing 'lsmod' command, the result is:
lp                        9448    0
3c59x                  37736  0
usbhid                 20064  0

Realized that hostap_cs is not loaded, I issued 'modprobe hostap_cs'.
The results conclude that hosta-cs is loaded successfully:
hostap_cs              53236  3
hostap                102884  1 hostap_cs
lp                      9448  0
3c59x                  37736  0
usbhid                 20064  0

And in the output of 'ifconfig', there are 2 new interfaces: wlan0 and wifi0.

The 'pcmciautils -status' is:
Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "hostap_cs"
Socket 1:
  no card

So the only thing I need now is the way to configigure the system in
order to get hostap modules loaded at boot time.

I have searched the Internet, follow some site like
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/PCMCIA.txt
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/HOTPLUG.txt
but all I found is about setting up with hotplug and pccardmgr.

I'm now running slackware-current with hotplug and pcmcia-cs packages
uninstalled, and using udev instead of hotplug.

So please anyone has experience in that problem can help me??

Another questions: is /etc/hotplug* folders is nessessary when hotplug
package uninstalled (/sbin/hotplug is no longer exist)??

-- 
sOs : say open source.




More information about the Hostap mailing list