Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Wifi [Atheros AR9287] does not work on Debian 10 Live CD

Ask for help with issues regarding the Installations of the Debian O/S.
Message
Author
dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#1 Post by dcapeletti »

Hi, until a few days ago I had Debian 9 installed and my wifi works without any problems, without requiring the installation of any package. My wifi board is next:

Code: Select all

Network controller [0280]: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) [168c:002e] (rev 01)
	Subsystem: Foxconn International, Inc. T77H167.00 [105b:e034]
	Kernel driver in use: ath9k
	Kernel modules: ath9k
My current system is Linux debian-pc 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 GNU/Linux. My wifi board on this system works without problems, once you run debian 9 live, you can connect to wifi networks.

Yesterday afternoon I decided to install Debian 10, but I encountered the problem that my wifi board is not recognized, which made it impossible to connect to a network. Therefore I had to go back to Debian 9. This problem occurs with debian 10 live or installed on the hard drive.

My question is, what is the cause of the problem on debian 10? Is there a solution to it? Is my board no longer supported?
I would like to install it in my pc and that the wifi works without problems as it does debian 9.

I hope you can help me, thank you very much. :wink:

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#2 Post by 4D696B65 »

Did device name change? wlo1 vs wlan1?
https://www.freedesktop.org/wiki/Softwa ... faceNames/

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#3 Post by Head_on_a_Stick »

dcapeletti wrote:I encountered the problem that my wifi board is not recognized
You should explain exactly how you are attempting to recognise your wireless device.
deadbang

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#4 Post by dcapeletti »

4D696B65 wrote:Did device name change? wlo1 vs wlan1?
https://www.freedesktop.org/wiki/Softwa ... faceNames/
I'm in debian 10 kde live cd Linux debian 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
The output command ip a is

Code: Select all

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 20:6a:8a:5f:b7:dc brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.159/24 brd 192.168.0.255 scope global dynamic noprefixroute enp3s0f0
       valid_lft 3388sec preferred_lft 3388sec
    inet6 fe80::b98f:e0f1:6aac:3b41/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 2a:97:87:4b:c9:30 brd ff:ff:ff:ff:ff:ff

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#5 Post by dcapeletti »

Head_on_a_Stick wrote:
dcapeletti wrote:I encountered the problem that my wifi board is not recognized
You should explain exactly how you are attempting to recognise your wireless device.

Under kde Network Connections only the wired network appears. I cannot see any wifi devices. When I try to connect from the bottom panel of kde, I cannot do it either.
If I press the wifi on/off keys, the indication LED does not turn on or off, but on the lower panel of kde, the wifi appears with a line crossed out or not when I press these keys.
On Debian 9, the LED turns off or on without any problem when pressing those keys.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#6 Post by sunrat »

So you still haven't got it working since posting exactly the same question at Trisquel forums 4 months ago? https://trisquel.info/en/forum/wifi-qua ... -debian-10

What shows this command (as root or sudo)? -

Code: Select all

rfkill
Also there are a crapload of hits when you search the interwebz for "debian ar9287" . Which of those solutions have you tried? Some suggest creating a config file to disable hardware encryption may work:

Code: Select all

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
sudo modprobe -r ath9k
sudo modprobe -v ath9k
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#7 Post by dcapeletti »

Hello, thank you all for your help.
I just made a video of debian 10 live so you can see clearly what is going on with the wifi network. See https://www.youtube.com/watch?v=rNwQFVJ ... e=youtu.be
I am currently connected by network cable without any problems, but as you can see, it is impossible to activate the wifi, see the networks, etc.

I have executed the commands that have been proposed to me but nothing works, perhaps because it is in live cd mode. I have tried many solutions, I don't know how many, but my free software network board doesn't work with free software.

Greetings

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#8 Post by Head_on_a_Stick »

Please post the output requested by sunrat, your card is detected and supported so it's probably just soft-blocked.
deadbang

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#9 Post by dcapeletti »

Head_on_a_Stick wrote:Please post the output requested by sunrat, your card is detected and supported so it's probably just soft-blocked.
In the video https://www.youtube.com/watch?v=rNwQFVJ ... e=youtu.be I show the output of everything proposed by sunrat. Anyway, I copy it. It should be clarified that I am running in live cd mode.

Code: Select all

user@debian:~$ sudo rfkill
ID TYPE DEVICE             SOFT         HARD
 0 wlan acer-wireless bloqueado desbloqueado
 2 wlan phy0          bloqueado    bloqueado

Code: Select all

user@debian:~$ echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
options ath9k nohwcrypt=1
user@debian:~$ sudo modprobe -r ath9k
user@debian:~$ sudo modprobe -v ath9k
insmod /lib/modules/4.19.0-10-amd64/kernel/net/wireless/cfg80211.ko 
insmod /lib/modules/4.19.0-10-amd64/kernel/net/mac80211/mac80211.ko 
insmod /lib/modules/4.19.0-10-amd64/kernel/drivers/net/wireless/ath/ath.ko 
insmod /lib/modules/4.19.0-10-amd64/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko 
insmod /lib/modules/4.19.0-10-amd64/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko 
insmod /lib/modules/4.19.0-10-amd64/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko nohwcrypt=1 

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#10 Post by Head_on_a_Stick »

dcapeletti wrote:In the video https://www.youtube.com/watch?v=rNwQFVJ ... e=youtu.be I show the output of everything proposed by sunrat
I didn't watch your video and I don't speak Spanish(?) but this might work:

Code: Select all

sudo rfkill unblock all
If it doesn't work then stop the acer-wireless module from loading at boot:

Code: Select all

sudo tee /etc/modprobe.d/acer-wireless.conf <<<'blacklist acer-wireless'
And if that doesn't help then remove the file at /etc/modprobe.d/acer-wireless.conf to return to the stock configuration.

EDIT: and double-check the hardware switch for your wireless device, make sure it's on.
deadbang

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#11 Post by dcapeletti »

Hello, in live cd mode no proposed solution works. Maybe installing debian 10 on disk would work, but I want the wifi to work on live cd.

The wifi switch is off, I can't turn it on with the key combinations. However, in debian 9 live it works without problems the wifi switch. The problem occurs in debian 10.

Greetings

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#12 Post by sgosnell »

I don't know why, but I get no audio on your video. Other YouTube videos have excellent audio. Not that it would do any good, since I don't speak most Romance languages, unfortunately.
Take my advice, I'm not using it.

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#13 Post by dcapeletti »

Hi, sorry for the delay.
I was testing Debian 10 live. I have found that now when I connect an external ssd disk from a USB reader when I boot the PC, I can see the wireless networks and I can connect. But if I start Debian 10 live without the external ssd disk connected to the pc, I can't see the list of networks and I can't connect.

On the other hand, after installing Debian on the disk, I attach an image of what happens. I can't connect and I can't lift the network board either. When I write:

Code: Select all

sudo ip set link up wlp2s0
It tells me something related to rfkill. RTNETLINK answer: Operation not posssible due to RF-KILL

But well, now I want to understand why connecting an external USB disk in Debian 10 live recognizes the Qualcomm Atheros AR9287 Wireless board and without the disk does not.

Thanks

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#14 Post by Head_on_a_Stick »

dcapeletti wrote:RTNETLINK answer: Operation not posssible due to RF-KILL
And did the rfkill command I posted earlier allow you to overcome that problem?
deadbang

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#15 Post by dcapeletti »

Hello,

Code: Select all

sudo iwconfig wlp2s0
wlp2s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

Code: Select all

sudo rfkill list
0: acer-wireless: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes

Code: Select all

sudo rfkill unblock all
dcapeletti@diego-pc:~$ sudo rfkill list
0: acer-wireless: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes

Code: Select all

sudo ip link set wlp2s0 up
RTNETLINK answers: Operation not possible due to RF-kill
After launching rfkill it still shows the same rfkill message.

Code: Select all

sudo iw wlp2s0 scan |grep SSID
command failed: Network is down (-100)

I still can't connect to the wireless board, I have tried everything.
I have also tried all the other proposed solutions.

Code: Select all

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
sudo modprobe -r ath9k
sudo modprobe -v ath9k

Code: Select all

user@debian:~$ echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
options ath9k nohwcrypt=1
user@debian:~$ sudo modprobe -r ath9k
user@debian:~$ sudo modprobe -v ath9k

Code: Select all

sudo tee /etc/modprobe.d/acer-wireless.conf <<<'blacklist acer-wireless'
Everything proposed nothing works on Debian 10 installed.

If I enable

Code: Select all

acpi=off
in the grub configuration it works, but it takes 3 cpu cores out of my cpu. Not an acceptable solution.

Code: Select all

sudo dmesg | grep wlp2s0
[    6.859162] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
[    9.649388] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Regards

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#16 Post by Head_on_a_Stick »

dcapeletti wrote:

Code: Select all

        Hard blocked: yes
^ This usually refers to a hardware wifi switch being disabled. Have you checked any and all hardware switches for the wireless device? That setting cannot be changed by the rfkill command.

A quick search brings this up: https://forums.linuxmint.com/viewtopic.php?t=255175 ← read the EDIT bit in the first post.
deadbang

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#17 Post by dcapeletti »

Hi, I have tried several times, at startup there was no way to turn on the hardware. However, in Debian 9 you can turn on the board with Fn+F3 without problems, but in Debian 10 it doesn't work.

What could be the reason for the problem?

Regards

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#18 Post by Head_on_a_Stick »

deadbang

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#19 Post by dcapeletti »

Sorry, I don't have time and the solution is out of my reach. I hope you can report these problems and have it repaired soon.

Regards

dcapeletti
Posts: 13
Joined: 2020-09-06 17:23

Re: Wifi [Atheros AR9287] does not work on Debian 10 Live CD

#20 Post by dcapeletti »

Hi, I just downloaded debian 10.09 netinstall. https://cdimage.debian.org/debian-cd/cu ... etinst.iso

When I perform the installation the wifi network board is recognized and connects without problems to the wifi network. But when I finish the installation and boot the system with kde interface, the wifi board does not connect.

I can't understand what is the source of the problem. Please report this problem to be solved.

Regards

Post Reply