hostap_cs module autoload at startup

Anand S. Katti askatti
Wed Oct 22 00:19:38 PDT 2003


Hello,

As discussed earlier on installing hostap_cs modules not via make/make
install, but from copying the compiled hostap_cs.o module to
/lib/modules/kerel-verrsion/pcmcia location.

But that didn't work even after copying hostap_cs.conf to /etc/pcmcia and
saying depmod -ae(there is no output from this command).
It always loads orinoco_cs driver , but lsmod shows hostap_cs being used
by yenta_socket along with orinoco_cs. Why is the machine not taking
hostap_cs ? have i left any place where i shud copy this modules manually?
or do some changes in the configuration? Please shed light on this.

Does anybody know how to install hostap_cs without compiling from source ?


For your reference below is the earlier mail...

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`?




More information about the Hostap mailing list