LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-24-2005, 03:05 PM   #1
craigs1987
Member
 
Registered: May 2004
Location: England
Distribution: SuSE linux 10.0 OSS
Posts: 78

Rep: Reputation: 15
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.
 
Old 07-25-2005, 12:45 AM   #2
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
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?
 
Old 07-25-2005, 12:41 PM   #3
craigs1987
Member
 
Registered: May 2004
Location: England
Distribution: SuSE linux 10.0 OSS
Posts: 78

Original Poster
Rep: Reputation: 15
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.
 
Old 07-25-2005, 02:16 PM   #4
craigs1987
Member
 
Registered: May 2004
Location: England
Distribution: SuSE linux 10.0 OSS
Posts: 78

Original Poster
Rep: Reputation: 15
Could someone possibly leave a link to a recent madwifi snapshot that actually compiles, thanks...
 
Old 07-25-2005, 11:48 PM   #5
mpeg4codec
Member
 
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
What does the dmesg say when you modprobe ath_pci? What about the relevant lines from /var/log/messages?
 
Old 07-26-2005, 11:29 AM   #6
Darrel.Wilson
LQ Newbie
 
Registered: Jul 2005
Distribution: Fedora Core 4
Posts: 3

Rep: Reputation: 0
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
 
Old 07-26-2005, 01:09 PM   #7
craigs1987
Member
 
Registered: May 2004
Location: England
Distribution: SuSE linux 10.0 OSS
Posts: 78

Original Poster
Rep: Reputation: 15
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.
 
Old 07-26-2005, 04:06 PM   #8
Darrel.Wilson
LQ Newbie
 
Registered: Jul 2005
Distribution: Fedora Core 4
Posts: 3

Rep: Reputation: 0
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?
 
Old 07-27-2005, 12:51 PM   #9
craigs1987
Member
 
Registered: May 2004
Location: England
Distribution: SuSE linux 10.0 OSS
Posts: 78

Original Poster
Rep: Reputation: 15
It's just the iwconfig commands once the modules are up and running...
Craig.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
madwifi problem urban_hermit Linux - Wireless Networking 1 11-26-2005 04:04 PM
MadWifi Problem zephyr.zhao Linux - Networking 7 10-23-2005 01:40 PM
Wireless Newbie Problem:Madwifi newinlinux Slackware 2 02-16-2005 06:20 PM
Problem building madwifi on mdk 10.1 Elomis Linux - Software 2 01-15-2005 01:10 AM
Madwifi make problem... EduFer Linux - Hardware 7 04-22-2004 07:24 PM


All times are GMT -5. The time now is 05:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration