LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-11-2006, 01:56 AM   #1
EsotericMatt
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, 05:48 PM   #2
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X
Posts: 488

Rep: Reputation: 31
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, 10:39 PM   #3
EsotericMatt
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks.
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, 05:10 PM   #4
EsotericMatt
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 madwifi.org/wiki/UserDocs/Distro/Slackware

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
wifi*)
exec /etc/rc.d/rc.madwifi-ng ${INTERFACE}_start
;;
and under remove|unregister I pasted
wifi*)
exec /etc/rc.d/rc.madwifi-ng ${INTERFACE}_stop
;;

next I copied and pasted to make the new file
/etc/rc.d/rc.madwifi-ng

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, 04:32 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

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


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


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

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