Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-08-2005, 03:50 AM
|
#1
|
Member
Registered: Mar 2005
Posts: 38
Rep:
|
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.
|
|
|
03-08-2005, 11:46 AM
|
#2
|
Member
Registered: Sep 2003
Posts: 173
Rep:
|
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
|
|
|
03-09-2005, 05:20 PM
|
#3
|
Member
Registered: Mar 2005
Posts: 38
Original Poster
Rep:
|
Thanks, will try it.
Also, do you know how to get wlan0 up?
|
|
|
03-09-2005, 06:20 PM
|
#4
|
Member
Registered: Sep 2003
Posts: 173
Rep:
|
sorry, no
|
|
|
03-09-2005, 06:39 PM
|
#5
|
Member
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662
Rep:
|
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.
|
|
|
03-12-2005, 12:04 AM
|
#6
|
Member
Registered: Apr 2004
Distribution: Slackware 10.1 Knoppix 3.4, Damn Small Linux 0.8.0
Posts: 49
Rep:
|
Can you please type please post the output.
|
|
|
03-12-2005, 12:39 AM
|
#7
|
Member
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383
Rep:
|
You need to reinstall madwifi after updating kernel. Just do a make and make install again.
|
|
|
03-14-2005, 08:29 AM
|
#8
|
Member
Registered: Mar 2005
Posts: 38
Original Poster
Rep:
|
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
|
|
|
03-14-2005, 09:43 AM
|
#9
|
Member
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662
Rep:
|
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?
|
|
|
03-14-2005, 02:49 PM
|
#10
|
Member
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383
Rep:
|
go to your madwifi dir and make and make install. Only modprobe ath_pci
|
|
|
03-14-2005, 05:44 PM
|
#11
|
Member
Registered: Mar 2005
Posts: 38
Original Poster
Rep:
|
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.
|
|
|
03-14-2005, 07:13 PM
|
#12
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
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
|
|
|
05-18-2006, 05:24 PM
|
#13
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Perhaps these Madwifi instructions for Slackware will help.
|
|
|
All times are GMT -5. The time now is 06:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|