Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 01-11-2006, 02:56 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Madwifi not working on Slackware 10.2

I am having trouble getting Madwifi to work on my Slackware 10.2 with my Cisco card.
I just bought a new Cisco AIR-CB21AG-A-K9 and it works under Windows XP. My computer boots when the card is in under linux kernel 2.4.31 and I can see that it has the Atheros AR5212 chipset. According to Madwifi it should work so I loaded Madwifi-ng and everything was fine untill I ran modprobe ath0_pci. After that my computer freezes. I tried kernel 2.6.13 that came with Slackware and it does the same thing, the only difference is that with 2.6.13, when the card is in, my computer doesent boot or it freezes when the card is inserted. I also tried loading Madwifi.SlackBuild and there is no change. I even tried reloading the operating system and starting fresh but nothing seems to work. Its as if my computer doesnt like my card. I checked all minimum requirements and I meet or exceed each one. Any suggestions? Thanks!
Old 01-11-2006, 06:48 PM   #2
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & FreeBSD
Posts: 488

Rep: Reputation: Disabled
You need to provide us with more details, but I'm getting the impression that you haven't read the README file provided with the madwifi-ng source. You don't load madwifi-ng, AFAIK that's just the new name of the project. And the module is called ath_pci, not ath0_pci: ath0 is the name of the network interface. And with the new code you need to create the ath0 interface with the wlanconfig command. You will likely also need to recompile the kernel, search google etc.
Hope that helps and good luck with it.
Old 01-11-2006, 11:39 PM   #3
LQ Newbie
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I'll try recompiling the kernel and re-reading all files carefully. ath0_pci was a typo. Thanks for your reply!
Old 01-12-2006, 06:10 PM   #4
LQ Newbie
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Still no luck.
here is what I tried.

-Started from a fresh install of Slackware 10.2 (default kernel 2.4.31)
-recompiled the kernel 2.4.31 using
# cd /usr/src/linux-2.4.31
# make
# cp /vmlinuz /boot/vmlinuz

I used all the default settings making sure pci support was enabled.

I am using a boot partition at the beginning of my HD with Grub as my boot loader

after booting with the new kernel I followed the instructions from

I downloaded all the packages for the driver for Slackware 10.2 and I downloaded all the source files directly from that page putting them in /root/madwifi
I ran
# chmod +x madwifi.SlackBuild
# ./madwifi.SlackBuild

There were no errors at all.

then I did
# cd /tmp/tmp-madwifi/ (the dir madwifi.SlackBuild created)
# installpkg madwifi-20051008_2.4.31-i486-1.tgz

again no errors.

I then edited the /etc/rc.d/rc.wireless.conf file under the cisco conf telling it my WEP key and telling it to do dhcp

I then edited the /etc/rc.d/rc.inet1.conf like it says on the website using dhcp.

then I added the lines it tells me to in the file /etc/hotplug/net.agent

under add|register I pasted
exec /etc/rc.d/rc.madwifi-ng ${INTERFACE}_start
and under remove|unregister I pasted
exec /etc/rc.d/rc.madwifi-ng ${INTERFACE}_stop

next I copied and pasted to make the new file

nothing else on that page applies to me so I rebooted and when my computer starts hotplug, the wireless card flashes its lights and my computer freezes. when I try to place the card in after I boot the computer, it freezes. Anyone have any more sugestions? I would like some ideas on what to try next. Thanks for the help!
Old 05-18-2006, 05:32 PM   #5
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
You might want to check out these Slackware Madwifi instructions also if you still haven't gotten it to work.


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
slackware 10 (2.6.10) + madwifi AP81 Slackware 12 05-18-2006 05:24 PM
madwifi-ng on boot not working futz Linux - Wireless Networking 10 01-11-2006 03:39 PM
Madwifi is it working??? Atrocity Linux - Wireless Networking 5 05-03-2005 02:00 PM
dhcp not working with madwifi cincyman12 Linux - Wireless Networking 9 05-02-2004 08:44 PM
Madwifi Ad-hoc working only when manually started a_marie2000 Linux - Wireless Networking 2 02-28-2004 08:54 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:08 AM.

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