Linux Libre and Ath9k

3 risposte [Ultimo contenuto]
f13ticket
Offline
Iscritto: 12/30/2009

I have a very odd difficulty with getting my wireless card working.

The first thing that must be understood is that in one setup it does work. If I install Linux 2.6.28-libre-fshoppe1 and its corresponding headers for Trisquel 3.0 32bit (as this is from a .deb package on Ali's site) my wireless works. It is running ath9k. It takes no configuration. All I have to do is left click my network manager app in the bottom right hand corner and left click my wireless network connection.

That being said, when I install newer kernels from Ali's site from the .deb packages the wireless will not work. The network app will simply not list any wireless networks. I have had many e-mail exchanges with Ali and he has tried to help but it is not yet solved.

I have installed Trisquel 3.0 64bit on my laptop and have compiled even newer Linux Libre Kernels from source code. They run great. But they still do not get wireless. Nor does kernel that comes with Trisquel. And in compiling I had made sure that the proper drivers were included.

When I type in sudo modprobe ath9k, is goes through but nothing happens. When I type in lsmod | grep ath9k I get the fallowing

lsmod | grep ath9k
ath9k 244212 0
mac80211 204504 2 b43,ath9k
ath 10464 1 ath9k
led_class 5576 3 b43,ath9k,sdhci
cfg80211 102936 4 b43,ath9k,mac80211,ath

When I typed in “sudo ifconfig wlan0 up” on the newest kernel I compiled from source, it told me “ERROR while getting interface flags: No such device” When I typed the same thing into the one older kernel that works, it went through and did not say anything back.

Why would one older Linux Libre Kernel work great and newer ones installed from .deb packages or compiled from source do not work? In fact, so much that they do not even see the device?

Could someone please help.

Thank GNU.

aitux
Offline
Iscritto: 02/11/2009

I guess it should happen the same on gNewSense.

If the driver doesn't work can be for 2 simple reasons:

1.- It's not enabled on the kernel configuration
2.- It's not on the kernel

The most probably is to be the first one, maybe Ali Günduz forgot to
enable the Ath9k driver on the last kernels, you can tell him to check
it, or if you compile it from source, you can enable it from the
configuration menu, it think the command was something like "make
menuconfig".

Regards

El dl 11 de 01 de 2010 a les 22:32 +0100, en/na name at domain va
escriure:
> I have a very odd difficulty with getting my wireless card working.
>
> The first thing that must be understood is that in one setup it does work.
> If I install Linux 2.6.28-libre-fshoppe1 and its corresponding headers for
> Trisquel 3.0 32bit (as this is from a .deb package on Ali's site) my wireless
> works. It is running ath9k. It takes no configuration. All I have to do is
> left click my network manager app in the bottom right hand corner and left
> click my wireless network connection.
>
> That being said, when I install newer kernels from Ali's site from the .deb
> packages the wireless will not work. The network app will simply not list
> any wireless networks. I have had many e-mail exchanges with Ali and he has
> tried to help but it is not yet solved.
>
> I have installed Trisquel 3.0 64bit on my laptop and have compiled even newer
> Linux Libre Kernels from source code. They run great. But they still do not
> get wireless. Nor does kernel that comes with Trisquel. And in compiling I
> had made sure that the proper drivers were included.
>
> When I type in sudo modprobe ath9k, is goes through but nothing happens.
> When I type in lsmod | grep ath9k I get the fallowing
>
> lsmod | grep ath9k
> ath9k 244212 0
> mac80211 204504 2 b43,ath9k
> ath 10464 1 ath9k
> led_class 5576 3 b43,ath9k,sdhci
> cfg80211 102936 4 b43,ath9k,mac80211,ath
>
> When I typed in “sudo ifconfig wlan0 up” on the newest kernel I compiled
> from source, it told me “ERROR while getting interface flags: No such
> device” When I typed the same thing into the one older kernel that works,
> it went through and did not say anything back.
>
> Why would one older Linux Libre Kernel work great and newer ones installed
> from .deb packages or compiled from source do not work? In fact, so much
> that they do not even see the device?
>
> Could someone please help.
>
> Thank GNU.
> _______________________________________________
> Trisquel-users mailing list
> name at domain
> http://listas.trisquel.info/mailman/listinfo/trisquel-users
--
Aitor Ruano Miralles <name at domain>

_______________________________________________
Trisquel-users mailing list
name at domain
http://listas.trisquel.info/mailman/listinfo/trisquel-users

AndrewT

I am a translator!

Offline
Iscritto: 12/28/2009

Version 4.0 of Trisquel is going to come out very soon, so let's see if that will fix the issue.

f13ticket
Offline
Iscritto: 12/30/2009

I have figured it out. It seems the older Linux-Libre Kernels would simply go out and connect to the wireless networks regardless as to whether or not the hardware wireless option of the laptop was on or not. As such, I did not expect to have to check that switch. (And think that I might have back when I tried to get wireless to work with Kernels that I think did not have ath9k yet in them.) The newer Kernels, at least from the web site I was reading from, check the hardware option and pay attention to it. I enabled the option by holding down the [fn] key and hitting F2. Thank you for all of your help. It works great with the kernels now.