hostap_cs module autoload at startup
Anand S. Katti
askatti
Mon Oct 6 04:31:27 PDT 2003
> When any prism2 card is inserted in the machine, the hostap modules get
> inserted automatically.Provided i compile the drivers in that machines.
> Can you tell where is the entry in the machine that loads the driver
> dynamically when card is inserted?
>>Usually, cardmgr (pcmcia-cs) uses /etc/pcmcia/config as a configuration.
>>This file sources in *.conf from the same directory and copying
>>hostap_cs.conf to that directory should be enough to configure cardmgr
>>to load the modules and initialize the card. This file is in driver/etc
>>directory of the Host AP distribution.
I did
1.copy hostap_cs.conf to /etc/pcmcia/.
2.copy hostap_cs.o to /lib/modules/2.4.18-14/kernel/drivers/net/pcmcia/
3.copy hostap_cs.o to /lib/modules/2.4.18-14/kernel/drivers/pcmcia/
4.appened /etc/modules.conf with alias wlan0 hostap_cs
5.created ifcfg-wlan0 in /etc/sysconfig/network-scripts/ with user entered
IP & Netmask
6.service pcmcia restart
7.service network rstart
8./sbin/modprobe -a hostap_cs
when the service network restart is done, it gives the following error.
Bringing up interface wlan0:Error for Wireless request "Set Failed"
(8B2A): SET: failed on device wlan0: No Such Device.
Error for wireless request "Set ESSID" (8B1A):
SET: failed on device wlan0: No Such Device.
SIOCGIFFLAGE:No such device.
More information about the Hostap
mailing list