hostap_cs module autoload at startup

Jason Boxman jasonb
Mon Oct 6 13:15:56 PDT 2003

On Monday 06 October 2003 07:31, Anand S. Katti wrote:
> > 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/

Why copy to two locations?  Did you also install hostap*.o?

I think running `make` and then `make install` is now the suggested 
installation method.

> 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.

Sounds like HostAP never loaded.  What's the output of `lsmod`?  `depmod -ae`?


Jason Boxman
Administrator TrekWeb.COM - Linux Pages

More information about the Hostap mailing list