Wifi not working in the system - AR9845, debian

TestikCZ

New Member
Joined
Apr 21, 2025
Messages
5
Reaction score
1
Credits
44
I’m having an issue with the functionality of WiFi in the system itself (GUI). I’ve tried both the Gnome and KDE Plasma environments. I’m experiencing problems connecting to a password-protected network. The dialog for entering the password keeps appearing. If the network is unsecured, it connects without any issues. However, during the Debian installation, there was no problem connecting—I was able to connect to WiFi normally.


My WiFi card is an AR9845, and it's an older laptop. I also tried connecting via a USB WiFi adapter, and that works perfectly fine, even on secured networks. The USB adapter is actually older than the internal WiFi card – it's an Asustek WL-167g USB WLAN adapter.

I am newbie to Linux, a windows user.
 


Hi and welcome to the forums.

You can try running the following commands:
Bash:
lsmod | grep ath9k
Does it list anything?

If not run:
Bash:
sudo modprobe ath9k
Does it result in error?

Then again run:
Bash:
lsmod | grep ath9k
Does it list this time?
If yes try connecting to wifi.

edit:
The dialog for entering the password keeps appearing
Please share output of:
Bash:
setxkbmap -print
echo $XDG_SESSION_TYPE
 
Last edited:
Atheros [now Qualcomm] should run ok with the ath9k Linux kernel driver
 
lsmod | grep ath9k
ath9k 143360 0
ath9k_common 24576 1 ath9k
ath9k_hw 512000 2 ath9k_common,ath9k
ath 36864 3 ath9k_common,ath9k,ath9k_hw
mac80211 1175552 3 ath9k,rt2x00lib,rt2x00usb
cfg80211 1146880 5 ath9k_common,ath9k,rt2x00lib,ath,mac80211
rfkill 36864 11 ath9k,rt2x00lib,bluetooth,ideapad_laptop,cfg80211
setxkbmap -print echo $XDG_SESSION_TYPE
WARNING: Running setxkbmap against an XWayland server
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
wayland
 
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_symbols { include "pc+us+inet(evdev)" };
You're using US keyboard layout, note that if that's not your native keyboard layout then wifi password may not work if you type it in your native language.

This could be another reason why password box keeps appearing, try to switch to X11 desktop session and try again.

To switch to X11, log out and then on login screen somewhere should be drop down option to change from wayland to X11, then login with your password.
 
Last edited:
You're using US keyboard layout, note that if that's not your native keyboard layout then wifi password may not work if you type it in your native language.
Used password does not contain czech characters, also always check it if it match. Tried to switch to CZ keyboard layout and it does not help.

This could be another reason why password box keeps appearing, try to switch to X11 desktop session and try again.
i have found only gnome xorg, but it does not help.
 
Tried without success.
Also tried linux mint live usb with same results - not working.
Its strange.
 


Follow Linux.org

Members online


Top