Re: rfkill list wlan, Hard blocked: yes
On Sun, Jan 21, 2024 at 12:59:01PM -0600, David Wright wrote:
> On Sun 21 Jan 2024 at 18:58:43 (+0100), Geert Stappers wrote:
> > On Sun, Jan 21, 2024 at 10:44:04AM -0600, David Wright wrote:
> > > On Sun 21 Jan 2024 at 17:33:57 (+0100), Geert Stappers wrote:
> > > ( https://lists.debian.org/debian-user/2024/01/msg01038.html )
> > > > [ 7.854942] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
> > > > [ 7.860452] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
> > > > [ 8.356275] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
> > >
> > > Run rfkill and, if it's blocked, unblock it.
> >
> > Installed package `rfkill` (it wasn't installed before)
> > and tried it.
> >
> > It does report "hard blocked", but rfkill can't change it.
> >
> > I always tried a "function key" on the keyboard of the laptop,
> > also without the desired effect.
>
> Has that worked in the past … on previous Debians … on
> the originally installed OS?
I think it has. Years ago.
In recent years only the ethernet interface has been used.
> Do you see any reaction in the logs (daemon.log and syslog)
> when you press that function key? Does xev show a XF86WLAN
> keysym occurring (or anything)?
The laptop doesn't run X any more. Tried `xev` anyway:
| # xev
| xev: unable to open display ''
| #
With `dmesg -w` was neither the function key press seen.
> Presumably as there's a function key, there's no button
> on the laptop, as commonly found on ones old enough.
Indeed, no dedicated "airplane switch" present.
Tried with parameter for the rfkill kernel module.
Either I did that wrong or it had not the desired effect.
Further suggestions appriciated.
What follows is the parameter attempt.
root@nero:~# modinfo -p rfkill
master_switch_mode:SW_RFKILL_ALL ON should: 0=do nothing (only unlock); 1=restore; 2=unblock all (uint)
default_state:Default initial state for all radio types, 0 = radio off (uint)
root@nero:~# echo 'rfkill master_switch_mode=2' > /etc/modules-load.d/rfkil_unblock.conf
root@nero:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.10.0-27-amd64
root@nero:~# dmesg | grep -e rfkill -e iwlwifi
[ 8.002917] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
[ 8.019804] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is blocked
[ 8.685725] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 8.768395] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-1000-5.ucode
[ 8.768624] iwlwifi 0000:02:00.0: loaded firmware version 39.31.5.1 build 35138 1000-5.ucode op_mode iwldvm
[ 8.768677] iwlwifi 0000:02:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[ 9.074938] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 9.074943] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[ 9.074946] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[ 9.074950] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[ 9.088734] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[ 9.088763] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[ 9.194253] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
root@nero:~# reboot
Connection to nero closed by remote host.
Connection to nero closed.
stappers@paddy:~
$ bong
E: Missing hostname
I: This programm reduces output of
I: Like is a hostname as parameter required
stappers@paddy:~
$ bong nero
------------
21:24:18 just_started 0:00:00
PING nero.gpm.stappers.nl (172.24.0.54) 56(84) bytes of data.
21:24:19 still_up 0:00:01
21:26:09 up_again 0:01:50
stappers@paddy:~
$ ssh nero
Linux nero 5.10.0-27-amd64 #1 SMP Debian 5.10.205-2 (2023-12-31) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Jan 21 20:25:08 2024 from 172.24.0.36
stappers@nero:~$ sudo su -
root@nero:~# dmesg | grep -e rfkill -e iwlwifi
[ 7.952756] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
[ 7.976749] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is blocked
[ 8.397512] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 8.405654] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-1000-5.ucode
[ 8.405864] iwlwifi 0000:02:00.0: loaded firmware version 39.31.5.1 build 35138 1000-5.ucode op_mode iwldvm
[ 8.405909] iwlwifi 0000:02:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[ 8.658837] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 8.658843] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[ 8.658846] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[ 8.658850] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[ 8.676689] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[ 8.702522] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[ 8.778160] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
root@nero:~# cat /etc/modules-load.d/rfkil_unblock.conf
rfkill master_switch_mode=2
root@nero:~#
> Cheers,
> David.
Groeten
Geert Stappers
--
Silence is hard to parse
Reply to: