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

Re: Re: rfkill geht nicht persistent



> On 07.09.21 12:42, Christian Knoke wrote:
> > On Mon, 6 Sep 2021 18:04:24 +0200
> > Ulf Volmer <u.volmer@u-v.de> wrote:
> 
> >> Schreib Dir halt eine Unit, die den Status wegspeichert und nach dem
> >> Reboot wieder restauriert.
> > 
> > Glücklicherweise hat das schon jemand gemacht:
> > 
> > ~$ apropos rfkill
> > rfkill (8)           - Werkzeug zum Aktivieren und Deaktivieren von
> Drahtlosgeräten
> > systemd-rfkill (8)   - Laden und Speichern des RF-Kill-Schalters beim
> Systemstart...
> 
> Danke, kannte ich noch nicht.
> 
> > chris@localhost:~$ ls -l /var/lib/systemd/rfkill/*
> > -rw-r--r-- 1 root root 2  7. Sep 11:43 /var/lib/systemd/rfkill/pci-
> 0000:00:14.0-usb-0:10:1.0:bluetooth
> > -rw-r--r-- 1 root root 2  7. Sep 11:44 /var/lib/systemd/rfkill/pci-
> 0000:02:00.0:wlan
> > chris@localhost:~$ cat /var/lib/systemd/rfkill/*
> > 1
> > 1
> > 
> > Beide sind als "enabled" gespeichert. Das sind sie aber nicht:
> > 
> > root@localhost:~# LANG= rfkill
> > ID TYPE      DEVICE    SOFT      HARD
> >  0 bluetooth hci0   blocked unblocked
> >  1 wlan      phy0   blocked unblocked
> 
> Bist Du sicher, dass das 1 für enabled steht?

1 bedeuted disabled. Das passt zu dem output von rfkill, der beide geräte
als soft-blocked anzeigt.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: