[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wi-Fi broken on Dell E6520, Intel Centrino Advanced-N 6205 AGN, Debian 11.7 Xfce



On 5/4/23 14:59, zithro wrote:
On 04 May 2023 23:26, David Christensen wrote:
On 5/4/23 13:36, Christoph Brinkhaus wrote:
Am Thu, May 04, 2023 at 01:14:12PM -0700 schrieb David Christensen:

[   80.070510] iwlwifi 0000:03:00.0: reporting RF_KILL (radio disabled)
[   80.070571] iwlwifi 0000:03:00.0: RF_KILL bit toggled to disable radio.

This indicates rfkill is effectively blocking the wlan: "radio disabled"

There is a directory /var/lib/systemd/rfkill/ which holds a file named
by the Wi-Fi device. Here it is pci-0000:04:00.0:wlan. The content is
just a 0 for normal operation or 1 for Wi-Fi off which means RF_Kill.

Please check that file on your system and replace a possible 1 by a 0.


There is no /var/lib/systemd directory on the laptop:


Maybe it's elsewhere in /var ?
$ find /var -type d -name rfkill

Or in sysfs :
$ find /sys -type d -name rfkill

Else, look everywhere ^^


Thank you for replying.  :-)


D'oh!  The previous post was the wrong machine...


This is the laptop:

2023-05-04 15:10:58 root@laalaa ~
# find / -xdev -name rfkill
/var/lib/systemd/rfkill
/usr/src/linux-headers-5.10.0-22-amd64/include/config/rfkill
/usr/src/linux-headers-5.10.0-21-amd64/include/config/rfkill
/usr/lib/modules/5.10.0-21-amd64/kernel/net/rfkill
/usr/lib/modules/5.10.0-22-amd64/kernel/net/rfkill

2023-05-04 15:13:04 root@laalaa ~
# ls -l /var/lib/systemd/rfkill
total 12
-rw-r--r-- 1 root root 2 May  4 12:15 pci-0000:03:00.0:wlan
-rw-r--r-- 1 root root 2 May 24  2022 pci-0000:0b:00.0:wlan
-rw-r--r-- 1 root root 2 May  4 13:04 platform-dell-laptop:wlan

2023-05-04 15:13:13 root@laalaa ~
# file /var/lib/systemd/rfkill/*
/var/lib/systemd/rfkill/pci-0000:03:00.0:wlan:     ASCII text
/var/lib/systemd/rfkill/pci-0000:0b:00.0:wlan:     ASCII text
/var/lib/systemd/rfkill/platform-dell-laptop:wlan: ASCII text

2023-05-04 15:13:39 root@laalaa ~
# cat /var/lib/systemd/rfkill/pci-0000\:03\:00.0\:wlan
0

2023-05-04 15:14:35 root@laalaa ~
# cat /var/lib/systemd/rfkill/pci-0000\:0b\:00.0\:wlan
0

2023-05-04 15:14:48 root@laalaa ~
# cat /var/lib/systemd/rfkill/platform-dell-laptop\:wlan
0

2023-05-04 15:17:53 root@laalaa ~
# hexdump /var/lib/systemd/rfkill/platform-dell-laptop\:wlan
00000000  30 0a                                             |0.|
00000002


So, there are three (3) files matching the description offered by Christoph Brinkhaus, and they all contain "0\n".


Things to check :

Check the status via systemctl (didn't know there was a service):
# systemctl --status rfkill


2023-05-04 15:15:40 root@laalaa ~
# systemctl --status rfkill
systemctl: unrecognized option '--status'


Is the rfkill *module* loaded ?
# lsmod | grep rfkill


2023-05-04 15:15:49 root@laalaa ~
# lsmod | grep rfkill
rfkill                 32768  4 dell_laptop,dell_rbtn,cfg80211


If nothing, try loading the module :
# modprobe rfkill

Is the rfkill *tool* installed ?
# dpkg -l "*rfkill*"


2023-05-04 15:17:28 root@laalaa ~
# dpkg -l "*rfkill*"
dpkg-query: no packages found matching *rfkill*


If not, install it
# apt install rfkill


Comments or suggestions?


David


Reply to: