LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   madwifi problem (https://www.linuxquestions.org/questions/linux-wireless-networking-41/madwifi-problem-423603/)

everyonebleeds 03-10-2006 02:53 PM

madwifi problem
 
alright well i got a netgear WG511T and im trying to install the madwifi driver using this http://madwifi.org/wiki/UserDocs/FirstTimeHowTo guide and i get to the part where it says type in as root:

wlanconfig ath0 create wlandev wifi0 wlanmode sta

once i hit enter i get something that says:

wlanconfig: ioctl: No such device

DrEwMoNeY 03-10-2006 04:44 PM

edit hwconf and replace ath0 with wifi0, you may need to reboot

everyonebleeds 03-10-2006 05:38 PM

where is hwconf?

JunctaJuvant 03-11-2006 06:02 PM

If you are using a recent svn snapshot (it would help to know which version of the madwifi-ng code you're using), there should be no need to manually create VAPs anymore. Just load the module and it automagically creates a VAP in station mode by default.

everyonebleeds 03-11-2006 07:37 PM

im not quite sure the version but i ran:
svn checkout http://svn.madwifi.org/trunk madwifi-ng
about a day or two ago, so i guess its the latest one out, and i really have no idea what your talking about w/ VAPs, like the power light to my card blinks, but i dont think my computer recongnizes it, and by the way i found my hwconfig and i think my wirless device was eth1, but i did change eth1 to wifi0, and nothing happened still

JunctaJuvant 03-12-2006 06:48 AM

Since you are using a recent version of madwifi-ng, you do NOT need to execute the command "wlanconfig ath0 create wlandev wifi0 wlanmode sta". This was only necessary with the code before january 23rd 2006, just like it says clearly on the page you posted. You only need to load the ath_pci module, as instructed on the madwifi page.

everyonebleeds 03-12-2006 05:55 PM

well it didnt work when i did that either so i figure i'd give wlanconfig ath0 create wlandev wifi0 wlanmode sta a shot, well i posted my entire install and my hwconf file on my site, http://piratesofsnellville.freewebspace.com/, the stuff i saw that looked weird i wrote on the bottom

JunctaJuvant 03-12-2006 07:15 PM

I perceive the following
Code:

desc: "Broadcom Corporation: Unknown device 4318"
This does not look right, because "Broadcom Corporation" is not "Atheros Communications", thus not supported by madwifi. That would certainly explain why madwifi isn't working for you.

everyonebleeds 03-12-2006 11:17 PM

thats weird because i looked at the supported list on the madwifi site and this card was on it, and i just tried ndiswrapper w/ it, and that didnt work either

JunctaJuvant 03-13-2006 05:34 AM

You could also try using the rpm method described here and here. When you reboot, try "lspci | grep Atheros". You should see something like this:
Code:

01:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
If you don't see anything like that, check wether the module is loaded with "lsmod | grep ath_pci". If the module is loaded and the output of lspci is not like I posted above, then I think we have a big problem.
Hope that helps.

PS
Regarding ndiswrapper: AFAIK that should work with this card as well. Although madwifi is preferable.

DrEwMoNeY 03-13-2006 03:03 PM

Drivers for Broadcom 4318 can be found here:

http://bcm43xx.berlios.de/

everyonebleeds 03-13-2006 05:16 PM

well i just updated my kernel so i tried to see if that helped, but now i get this error:

[root@localhost madwifi-ng]# make
/bin/sh: line 0: cd: /lib/modules/2.6.15-1.1833_FC4/build: No such file or directory
Makefile.inc:104: *** KERNELPATH: does not exist. Stop.

DrEwMoNeY 03-13-2006 05:58 PM

Do you have the kernel source installed? It looks like it is telling you the folder that it is supposed to be in does not exist. Or maybe there is no link to it, if it is there.

everyonebleeds 03-13-2006 10:01 PM

i just installed it with yum, i just reinstalled FC4 and tried it again, but it was the same thing

DrEwMoNeY 03-13-2006 10:48 PM

You seem to be having quite a bit of trouble. I don't normally suggest a distro as a fix, but I read that Ubuntu should recognize your wireless card. Maybe you could try the Ubuntu live CD, just to see if it works.


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