How do i know that i am using Host-AP for my PCMCIA Card...
Fawad Nazir
fawad.nazir
Mon May 15 18:50:25 PDT 2006
Hi Dan,
I am thankful to you indeed. Your command to know which driver a
device is using really worked for me and it solved my problem. I could
not manage to make that blacklist to work, but anyways i solved my
problem and now my wireless adaptor is running hostap_cs driver.
These are the following steps i did:
fawad at Ubuntu-01:~$ ls -al /sys/class/net/eth2/device/driver
lrwxrwxrwx 1 root root 0 2006-05-16 11:19
/sys/class/net/eth2/device/driver ->
../../../../../bus/pcmcia/drivers/orinoco_cs
fawad at Ubuntu-01:~$ more /etc/modprobe.d/blacklist
blacklist orinoco_cs
blacklist orinoco
fawad at Ubuntu-01:~$ ps -ef | grep cardmgr
root 6755 1 0 11:19 ? 00:00:00 /sbin/cardmgr
fawad 7278 7235 0 11:23 pts/0 00:00:00 grep cardmgr
fawad at Ubuntu-01:~$ sudo kill 6755
fawad at Ubuntu-01:~$ sudo /sbin/cardmgr
cardmgr[7316]: watching 1 socket
fawad at Ubuntu-01:~$ modprobe -r orinoco_cs
FATAL: Module orinoco_cs is in use.
<Here i took my PCMCIA card out>
fawad at Ubuntu-01:~$ ls -al /sys/class/net/eth2/device/driver
ls: /sys/class/net/eth2/device/driver: No such file or directory
fawad at Ubuntu-01:~$ modprobe -r orinoco_cs
FATAL: Error removing orinoco_cs
(/lib/modules/2.6.16.5-killer-fawad/kernel/drivers/net/wireless/orinoco_cs.ko):
Operation not permitted
fawad at Ubuntu-01:~$ sudo modprobe -r orinoco_cs
fawad at Ubuntu-01:~$ sudo modprobe hostap_cs
<Here i inserted my card again and it worked>
fawad at Ubuntu-01:~$ ls -al /sys/class/net/eth2/device/driver
lrwxrwxrwx 1 root root 0 2006-05-16 11:27
/sys/class/net/eth2/device/driver ->
../../../../../bus/pcmcia/drivers/hostap_cs
fawad at Ubuntu-01:~$
it worked :))), I am very happy user now. Thank your very much again.
Best Regards,
Fawad.
On 5/15/06, Dan Williams <dcbw at redhat.com> wrote:
> On Mon, 2006-05-15 at 15:28 +1000, Fawad Nazir wrote:
> > Can anyone please tell me that am i doing the right thing, how do i
> > confirm that my card is using Host-AP driver?
>
> ls -al /sys/class/net/eth1/device/driver
>
> (where of course eth1 is replaced with your device name). Which will
> tell you which driver the card is using:
>
> <...snip...> /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/ipw2100
>
> You can blacklist orinoco if you like by adding this to /etc/modprobe.d/blacklist:
>
> blacklist orinoco_cs
> blacklist orinoco
>
> Dan
>
>
>
--
Fawad Nazir
More information about the Hostap
mailing list