MadWifi drivers


Forum: Networking
Topic: MadWifi drivers
started by: jpeters

Posted by jpeters on Nov. 05 2006,08:30
Many thanks to Roberts for the MadWifi drivers. I had several 802.11A cards that connected using iwconfig, but then wouldn't load any content into the browser. In order to get the MadWIfi drivers working, I had to boot the computer WITHOUT the card (so that the default drivers don't load), and then plug in the card after loading the MadWifi modules.  I don't know why, but the default drivers worked for a while, and then suddenly quit.
Posted by roberts on Nov. 05 2006,16:35
What default modues are loading?
Perhaps you could rmmod them and that way not have to boot without the card? If it works then add the rmmod to your /opt/bootlocal.sh  You may also need to boot with nodhcp as well.

Posted by jpeters on Nov. 05 2006,17:52
When I type "iwconfig" it shows info for ath0. I'm not sure how to remove the loaded module; "rmmod iwconfig" doesn't work ( I'm familiar with "rmmod ndiswrapper")  When booting with the card installed, I get warning messages about "tainted" licenses for the /lib/modules/2.4.26/net/ath_hal.o module.  Both it and ath_pci.o are listed in the /lib/modules/2.4.26/net directory.  THANKS
Posted by ^thehatsrule^ on Nov. 05 2006,21:22
rmmod ath_hal

tainted licenses just mean that's its not under GPL, so it doesn't matter.

Posted by jpeters on Nov. 06 2006,03:20
Typing rmmod ath_hal lets me know the device is busy.  I tried unplugging the card...same thing.  Seems like I have to reboot without the card  in to begin with, unless there is a way to first relieve it of whatever it is trying to do.  

Thanks

Posted by ^thehatsrule^ on Nov. 06 2006,04:34
Try to stop whatever's using it.. maybe "iwconfig ath0 down" might work.
Posted by jpeters on Nov. 06 2006,06:56
Correct code appears to be "ifconfig ath0 down" for deactivating the card. That still doesn't stop getting "device busy" when typing "rmmod ath0,"  but perhaps removing the module is not neccessary for next loading the MadWifi drivers and getting the card working using iwconfig. I tried it and it worked, although for some reason now even the default drivers are working, so I can't tell which drivers are loading.  Go figure!

Thanks for the suggestion.

Posted by Winter Knight on Nov. 10 2006,15:56
rmmod is used to remove modules. rmmod iwconfig doesn't make sense. Neither does rmmod ath0. iwconfig is a program/utility. ath0 is a network interface.

Try this, you may or may not have to modify it.

Boot computer with card in slot.

Run the following as root:

Code Sample
ifconfig ath0 down
rmmod ath_hal
rmmod ath_pci
mydsl-load madwifi.dsl
modprobe ath_hal


Does that work? You might not need the rmmod ath_pci line, especially if it gives errors. I just included it because it can't hurt.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.