Wireless problems with free software compatible hardware

17 replies [Last post]
talbers
Offline
Joined: 01/29/2017

The story goes something like this. I wanted to move to a completely Free Software distro, and when I tried a Trisquel image on my PC I couldn't get my wireless hardware to work (the problem resulted to be privative firmware dependant hardware), so I bought a card that was supposed to work without any privative firmware, a TL-WN851ND (Qualcomm Atheros AR9227 chipset), but it didn't work either, and even more strange, instead of not being able to even scan networks, as with the previous one, with this one I could scan networks without any problems, but when I tried to connect to them the connection just timed out (and yes, I did check the password).

Right now I'm running Fedora 25 and the card works just fine, but I would really like to move to any 100% Free Software distro, I have already tried with Parabola, GuixSD, Trisquel and Debian (without contrib and non-free repos), but non of them worked.

Any ideas of what the problem could be or how to solve it?

Majin Buu
Offline
Joined: 11/05/2016

The problem is that your Wifi card isn't compatible with free software (frimware) because the manufacturer decided to only provide a binary blob (propietary, of course) without the source code. Trisquel nor another FSF-endorsed distribution don't provide propietary firmware

If you have money, you can buy a portable Wireless adapter compatible with free software: https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb

talbers
Offline
Joined: 01/29/2017

The original card was not compatible but the card I'm using now is:
https://h-node.org/wifi/catalogue/en/1/1/undef/undef/undef/undef/wifi-works/undef?search_string=ar9227&submit=Search

And still, while I'm able to scan for networks, when i connect to one, it just times out

GNUbahn
Offline
Joined: 02/19/2016

I had the same issue with a usb-wifi dongle purchased at Tehnoetic. Tiberiu gave me the helpful advice to log out and in again - not rebooting, log out, then in

tct
tct

I am a member!

Offline
Joined: 10/23/2011

Actually, my workaround was suspend and resume, not log out and log in. :-)

--
https://tehnoetic.com

GNUbahn
Offline
Joined: 02/19/2016

Sorry, that may have been what I did then, as I got it to work.

Majin Buu
Offline
Joined: 11/05/2016

Excuse me! I haven't read correctly the card name. Most Qualcomm cards are freedom friendly, with exception of a few models.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

Your card should work. Indeed the very same fact you are able to "scan" for networks means the card works AFAIK. I had this behavior with a card once in Debian and the solution for me was to not write the password when the popup window requesting for it came out but instead add it in network-manager-gnome. Just right click the icon in your tray in the panel, then select "edit connections" - "wifi security", write the psswd there and retry.

welcome to the community of triskello!

talbers
Offline
Joined: 01/29/2017

Well, I have just tried to do what you told me to in both Parabola (Mate iso) and Trisquel and it still didn't work,
it continued timing out and sometimes asked again for the password, and I'm pretty sure I typed it correctly because I checked it at least twice. Is it possible that my router it's blocking my computer?, not sure how it could detect my OS, but it's just an idea.

Legimet
Offline
Joined: 12/10/2013

It should work. Maybe there is an issue with NetworkManager.

talbers
Offline
Joined: 01/29/2017

Yeah, but with three different distros each one with different versions of NetworkManager? And Parabola for example uses wifi-menu which also does not work

Geshmy
Offline
Joined: 04/23/2015

I agree if it can scan it should work. Maybe it is on the router side, like WPS enabled? But I don't imagine it cares what OS you are using.

Have you tried rebooting the router to clear it's cache?

We assign IPs manually on my LAN and recently changed the IP of one computer. The router wouldn't let that computer back on the network until we had rebooted the router effectively clearing the cache. I guess one IP for one mac is enforced.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

try also:
sudo service network-manager restart

talbers
Offline
Joined: 01/29/2017

Just tried out and did not work either. Could there be any differences between the ath9k module of linux and the one that linux-libre has? After all, the only distros not working are those with linux-libre (even when they are supposed to)

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

A brief use of searx gave me this command, can you try it and see?

echo 'options ath9k nohwcrypt=1' | sudo tee -a /etc/modprobe.d/ath9k.conf

reboot the OS and try connecting ag'in

talbers
Offline
Joined: 01/29/2017

Yeah, sorry for the delay, I tried the command but did not work either

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

Sorry to hear that. I ran out the tips on this one :(

talbers
Offline
Joined: 01/29/2017

Thanks for all your help. At the end I bought a repeater and I now use it as an external antenna so I can connect to Internet using a ethernet cable connected to it. I installed Parabola (I do like trisquel but I prefer to always have the latest packages) and everything is working now