LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Atheros wireless does not work with MadWifi and generic SMP kernel (12.2) (http://www.linuxquestions.org/questions/slackware-14/atheros-wireless-does-not-work-with-madwifi-and-generic-smp-kernel-12-2-a-693995/)

Nylex 12-31-2008 12:25 AM

Atheros wireless does not work with MadWifi and generic SMP kernel (12.2)
 
Hardware: Acer Aspire One, PCI-E Atheros wireless chipset.
lspci: 03:00.0 Ethernet controller: Atheros Communications Inc. Unknown device ff1b (rev 01)

I recently installed Slackware 12.2 and downloaded the testing MadWifi HAL snapshot from http://snapshots.madwifi-project.org/. I was using the huge kernel at this point and lo and behold, my wireless worked.

Today, I've switched to the generic SMP kernel, reinstalled the MadWifi drivers and nothing. An ath0 device isn't created at all. The only (relevant) output from dmesg is the following:

ath_hal: module license 'Proprietary' taints kernel.
AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)

What's also weird (to me, anyway!) is that the lspci entry with the generic kernel is different to when I was using the huge kernel:

03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Any ideas anyone? I suppose I could go back to the huge kernel, since it doesn't really impair performance that much. However, I would still quite like to know where the problem is (and why the lspci entries are different), if possible.

Thanks!

gargamel 12-31-2008 02:52 AM

As far as I know, most Atheros chipset based wireless hardware is
supported by the current kernels by default. I am using a Netgear
PC Card in my laptop with an Atheros chipset, too.

Slackware 12.2 supports my card out of the box, I didn't have to
install MADWIFI (which was necessary in 12.1 and earlier).

So you might try to remove the MADWIFI stuff, and just see, if the
ath5k support of the generic SMP kernel is good enough for you.

I am not sure, if ath9k support is integrated in the stock kernel.
But if not, they are reports, that Slackware 12.2 runs quite well
with kernel 2.6.28, which should have this (to be verified).

Also, if you haven't seen it, yet, this helped me a lot:
Alien Bob's Wiki article on wireless networks in Slackware

gargamel

Rupa 12-31-2008 03:40 AM

Quote:

Originally Posted by gargamel (Post 3392352)
As far as I know, most Atheros chipset based wireless hardware is
supported by the current kernels by default.

Not this one. The HAL won't load. You need madwifi with the HAL from OpenWRT.

I would try to rebuild madwifi with the running kernel.

Nylex 12-31-2008 06:10 AM

Thanks for the replies. Yeah, ath5k doesn't work for that chipset. I did try rebuilding MadWifi, to no avail. I've also tried switching back to the huge kernel and have the same problem. I don't know why it won't work any more :/. I'll try some other things when I have time.

Nylex 01-02-2009 10:59 AM

I've fixed it. All I needed to do was flick the switch for the wireless on the front of the netbook.

BCarey 01-03-2009 11:54 AM

I have the same chip. ath5k kind of worked, in the sense that iwconfig showed the interface. But to actually connect (at least to secured networks, I didn't try unsecured ones) I did need to install madwifi.

Brian

Nylex 01-03-2009 12:11 PM

I'm not sure what happened when I tried ath5k. I may have had the same results as you, but I don't remember.

okos 01-03-2009 11:15 PM

Quote:

Originally Posted by Nylex (Post 3394709)
I've fixed it. All I needed to do was flick the switch for the wireless on the front of the netbook.

How did you fix it? I had not problem with 12.1.

I just upgraded to 12.2 and I now get the following compile errors:
Quote:

make[3]: *** [/home/me/downloads/madwifi-ng/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [/home/me/downloads/madwifi-ng/net80211] Error 2
make[1]: *** [_module_/home/me/downoads/madwifi-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7'
make: *** [modules] Error 2
Thanks

Nylex 01-04-2009 12:28 AM

Quote:

Originally Posted by okos (Post 3396355)
How did you fix it? I had not problem with 12.1.

I flicked the switch on the netbook..

Quote:

I just upgraded to 12.2 and I now get the following compile errors:

Quote:

make[3]: *** [/home/me/downloads/madwifi-ng/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [/home/me/downloads/madwifi-ng/net80211] Error 2
make[1]: *** [_module_/home/me/downoads/madwifi-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7'
make: *** [modules] Error 2
Thanks
I didn't use madwifi-ng, but you need to post the actual compile errors. They'll be listed somewhere above those lines (exactly where, I can't tell you). Do you see any complaints about something missing?

okos 01-04-2009 01:00 AM

Im sorry, I don't mean to hijack this thread.

I will start a new thread.

Nylex 01-04-2009 01:46 AM

Personally, I wouldn't consider it hijacking as it's a similar problem.


All times are GMT -5. The time now is 02:14 PM.