LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   MadWifi Problem (https://www.linuxquestions.org/questions/linux-networking-3/madwifi-problem-346299/)

craigs1987 07-24-2005 03:05 PM

MadWifi Problem
 
I have just installed a Netgear WG311T Wireless PCI card into my desktop PC, and have got it to work fine in windows... The problem comes when I come to configure it for Linux, I first tried to configure it in SuSE 9.1 Pro running the default 2.6.4-52 kernel. When YaST didn't work, I downloaded the current CVS version of the MadWifi drivers. I built and installed the programs without any trouble at all. When I ran 'iwconfig' the ath0 device that I required did not come up, I then ran 'modprobe ath_pci', I recieved messages that the installed modules were invalid and would not work, I've tried to configure the drivers in SuSE 9.2, Fedora 3 and 4, Ubuntu and Mandriva. All of them returning the same messages. Why the hell wont it work!? Someone please help, ive followed all of the MadWiki directions, and they don't work!!! And I'm getting really p*ss*d off having to reboot to this seive of a security hole to access the internet to look for another set of instructions that wont work and reboot back to my linux distro.

Thanks in advance...
Craig.

mpeg4codec 07-25-2005 12:45 AM

First, what is the *exact* error message returned by modprobe ath_pci? Second, after you built and installed the module, did you run depmod? Third, are you sure you have the right kernel sources installed when you built the module?

craigs1987 07-25-2005 12:41 PM

I've just collected some of the error output to show to you.
After I ran make install, I ran depmod -a, that reported no errors. I then run iwconfig and this was returned...
Code:

linux:/home/user # iwconfig
lo        no wireless extensions.

sit0      no wireless extensions.

Why no ath0? I then ran modprobe ath_pci and ran iwconfig again, the same as above was returned.

If I type iwconfig ath0, I get the following...
Code:

linux:/home/useri# iwconfig ath0
ath0      No such device

And if I try to begin configuration of the device, e.g. iwconfig ath0 mode 3, I get this...
Code:

Error for wireless request "Set Mode" (8B06) :
    SET failed on device ath0 ; No such device.

This explain it more?
Craig.

craigs1987 07-25-2005 02:16 PM

Could someone possibly leave a link to a recent madwifi snapshot that actually compiles, thanks...

mpeg4codec 07-25-2005 11:48 PM

What does the dmesg say when you modprobe ath_pci? What about the relevant lines from /var/log/messages?

Darrel.Wilson 07-26-2005 11:29 AM

Craigs,
I read this thread and I am having similar problems. Then I saw a new thread today about you getting this resolved and not being able to find the router. Could you please share how you got around this initial problem? Thanks,
Darrel

craigs1987 07-26-2005 01:09 PM

The problem I had was not executing the modules correctly, all I was originally executing was
Code:

modprobe ath_pci
When actually I should have executed the modules as shown below,
Code:

modprobe wlan
modprobe ath_hal
modprobe ath_pci

Silly me...

Hope this helps...
Also, I was running Fedora Core 4 to get this up and running, I was previously unable to get it to work with this stage in SuSE 9.1.
Craig.

Darrel.Wilson 07-26-2005 04:06 PM

Thanks for the response. I did the three modprobe commands as you suggested and they show up in lsmod, but still no iwconfig. Anything else that you did after that?

craigs1987 07-27-2005 12:51 PM

It's just the iwconfig commands once the modules are up and running...
Craig.


All times are GMT -5. The time now is 02:35 PM.