LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-08-2005, 03:50 AM   #1
AP81
Member
 
Registered: Mar 2005
Posts: 38

Rep: Reputation: 15
slackware 10 (2.6.10) + madwifi


Hey guys,

Just trying to configure Wifi. I've installed 10.1 then installed the 2.6 kernel from the testing/packages/linux-2.6.10 directory. I am using madwifi (as I have found ndiswrapper a little flakey at times).

iwconfig outputs the following:
l0 : no wireless extensions
eth0: no wireless extensions
sit0: no wireless extensions

Were is wlan0? I tried modprobing it to find an error saying FATAL: module wlan0 does not exist (or something similar). As for ath0, it compiles okay but doesn't load at boot. Any ideas? Add them to modules.conf?

Thanks heaps.
 
Old 03-08-2005, 11:46 AM   #2
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
Put a line like this in /etc/rc.d/rc.modules or rc.local:

/sbin/modprobe ath_pci

I also set up my card by in rc.local with:

/sbin/iwconfig ath0 essid "accesspointname" key xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
/sbin/ifconfig ath0 up
/sbin/dhcpcd ath0
 
Old 03-09-2005, 05:20 PM   #3
AP81
Member
 
Registered: Mar 2005
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks, will try it.

Also, do you know how to get wlan0 up?
 
Old 03-09-2005, 06:20 PM   #4
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
sorry, no
 
Old 03-09-2005, 06:39 PM   #5
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Have you installed madwifi since updating the kernel? On my laptop (Atheros chipset branded as a D-Link DWL-G650), I just had to install the drivers and make sure that hotplug was on. If the card's plugged in at boot time, device ath0 is automatically loaded, with no configuration changes needed at all.
 
Old 03-12-2005, 12:04 AM   #6
eloyj88
Member
 
Registered: Apr 2004
Distribution: Slackware 10.1 Knoppix 3.4, Damn Small Linux 0.8.0
Posts: 49

Rep: Reputation: 15
Can you please type
Code:
ifconfig -a
please post the output.
 
Old 03-12-2005, 12:39 AM   #7
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
You need to reinstall madwifi after updating kernel. Just do a make and make install again.
 
Old 03-14-2005, 08:29 AM   #8
AP81
Member
 
Registered: Mar 2005
Posts: 38

Original Poster
Rep: Reputation: 15
No Luck

To clear things up: I have never got Madwifi working at all with 2.4.26 kernel or the 2.6.10 kernel. The problem is purely to do with not being able to get ath0 up.

I did a fresh Slackware install today. I have compliled a 2.6.10 kernel with all the options needed to support madwifi:

* Loadable module support → Module versioning support: disabled
* Device Drivers → Networking support → Wireless LAN (non-hamradio) → Wireless LAN drivers (non-hamradio) & Wireless Extensions: enabled
* Cryptographic options → Cryptographic API: enabled
* Cryptographic options → Cryptographic API → HMAC support: enabled

After compiling the new kernel, I compiled the Madwifi drivers perfectly (with no warnings). After a make and a make install I did the following:
/sbin/modprobe wlan
/sbin/modprobe ath_hal
/sbin/modprobe ath_pci
These also modprobed with no errors.

Now I try iwconfig and and get the following:
l0 : no wireless extensions
eth0: no wireless extensions

I tried an ifconfig -a and it only outputted information for l0 and eth0. So there is no wlan0 or ath0.

I have spend more than two weeks trying to get this working, and all it has got me is very frustrated. I think I just may have to use Windows for the meantime...

Thanks to all that tried.
Adam
 
Old 03-14-2005, 09:43 AM   #9
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Did you reboot after installing the madwifi drivers, and is hotplug enabled?

Also, what kind of card is it? Is it PCMCIA or PCI? If it's PCMCIA, did you remember support for it in the kernel? Is rc.pcmcia running at startup?
 
Old 03-14-2005, 02:49 PM   #10
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
go to your madwifi dir and make and make install. Only modprobe ath_pci
 
Old 03-14-2005, 05:44 PM   #11
AP81
Member
 
Registered: Mar 2005
Posts: 38

Original Poster
Rep: Reputation: 15
I did reboot after Madwifi was installed and HotPlug is enabled.

My card is a D-link DWL-G520+ PCI wireless network card 802.11G (54Mbps). My soundcard is working properly, so I know PCI support in the kernel is okay. The card is also listed when i do a lspci.

I removed the Madwifi modules and did a make && make install. I then modprobed ath_pci only and it made no difference. alias ath0 ath_pci is also present in /etc/modporbe.conf and /etc/modules.conf.

Thanks again, but no difference. I guess if I can somehow get wlan0 working, I may use ndiswrapper.
 
Old 03-14-2005, 07:13 PM   #12
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
i'm using linux-wlan-ng with a d-link dwl-122
works fine under 2.6.7
haven't gotten it to work for 2.6.10
haven't tried 2.6.11 yet
 
Old 05-18-2006, 05:24 PM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Perhaps these Madwifi instructions for Slackware will help.
 
  


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
(athernos) netgear WG311, slackware, madwifi dave bean Linux - Wireless Networking 18 11-05-2006 05:16 AM
cisco air-cb21ag-a-k9 on slackware 10 with madwifi is naughty katoom187 Linux - Hardware 0 02-15-2005 11:53 PM
Can someone email me "madwifi-2.6.8_and_-mm-040821.patch.bz2"? (madwifi 2.6.8 patch) 95se Linux - Wireless Networking 0 09-01-2004 11:34 AM
installing slackware over nfs with madwifi drivers? TheOneAndOnlySM Slackware 0 06-25-2004 09:17 PM
MADWIFI Configuration on Slackware 9.0 with DWL-G520 tsgbaer Slackware 0 10-05-2003 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration