Problem: WiFi takes a long time to connect, if it connects at all. Networking usually works if I turn WiFi off and on again.
Sometimes it "connects", but there is no throughput. Pings give 100% package loss.
Using Debian Buster with KDE. NetworkManager and wpa_supplicant are enabled. Using NetworkManager plasmoid.
I found this in the logs. It is complaining about soft block and a missing directory:
Code: Select all
jan. 10 11:42:46 debian-mini systemd[1]: Removed slice User Slice of UID 110.
jan. 10 11:43:05 debian-mini dhclient[730]: DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 11
jan. 10 11:43:06 debian-mini sh[716]: DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 11
jan. 10 11:43:16 debian-mini dhclient[730]: DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 1
jan. 10 11:43:16 debian-mini sh[716]: DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 1
jan. 10 11:43:17 debian-mini dhclient[730]: No DHCPOFFERS received.
jan. 10 11:43:17 debian-mini sh[716]: No DHCPOFFERS received.
jan. 10 11:43:17 debian-mini sh[716]: No working leases in persistent database - sleeping.
jan. 10 11:43:17 debian-mini dhclient[730]: No working leases in persistent database - sleeping.
jan. 10 11:43:17 debian-mini avahi-autoipd(enp0s25)[1321]: Found user 'avahi-autoipd' (UID 105) and group 'avahi-autoipd' (GID 112).
jan. 10 11:43:17 debian-mini avahi-autoipd(enp0s25)[1321]: Successfully called chroot().
jan. 10 11:43:17 debian-mini avahi-autoipd(enp0s25)[1321]: Successfully dropped root privileges.
jan. 10 11:43:17 debian-mini avahi-autoipd(enp0s25)[1321]: Starting with address 169.254.8.15
jan. 10 11:43:23 debian-mini avahi-autoipd(enp0s25)[1321]: Callout BIND, address 169.254.8.15 on interface enp0s25
jan. 10 11:43:23 debian-mini avahi-daemon[740]: Joining mDNS multicast group on interface enp0s25.IPv4 with address 169.254.8.15.
jan. 10 11:43:23 debian-mini avahi-daemon[740]: New relevant interface enp0s25.IPv4 for mDNS.
jan. 10 11:43:23 debian-mini avahi-daemon[740]: Registering new address record for 169.254.8.15 on enp0s25.IPv4.
jan. 10 11:43:27 debian-mini avahi-autoipd(enp0s25)[1321]: Successfully claimed IP address 169.254.8.15
jan. 10 11:43:27 debian-mini sh[716]: enp0s25=enp0s25
jan. 10 11:44:43 debian-mini NetworkManager[745]: <info> [1578653083.2024] manager: rfkill: WiFi hardware radio set disabled
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: rfkill: WLAN soft blocked
jan. 10 11:44:43 debian-mini NetworkManager[745]: <info> [1578653083.2025] device (wlp3s0): state change: disconnected -> unavailable (reason 'none', sys-iface-state: 'managed')
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: rfkill: WLAN soft blocked
jan. 10 11:44:43 debian-mini NetworkManager[745]: <info> [1578653083.2057] audit: op="radio-control" arg="wireless-enabled" pid=1152 uid=1000 result="success"
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlp3s0/drop_unicast_in_l2_multicast: No such file or directory
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: Failed to set IPv4 unicast in multicast filter
jan. 10 11:44:43 debian-mini NetworkManager[745]: <info> [1578653083.2063] manager: rfkill: WiFi now disabled by radio killswitch
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlp3s0/drop_unicast_in_l2_multicast: No such file or directory
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: Failed to set IPv4 unicast in multicast filter
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlp3s0/drop_unicast_in_l2_multicast: No such file or directory
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: Failed to set IPv4 unicast in multicast filter
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: deinit ifname=p2p-dev-wlp3s0 disabled_11b_rates=0
jan. 10 11:44:43 debian-mini wpa_supplicant[739]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
jan. 10 11:44:43 debian-mini NetworkManager[745]: <info> [1578653083.9581] manager: rfkill: WiFi hardware radio set enabled
jan. 10 11:44:44 debian-mini NetworkManager[745]: <info> [1578653084.2074] audit: op="radio-control" arg="wireless-enabled" pid=1152 uid=1000 result="success"
jan. 10 11:44:44 debian-mini kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
jan. 10 11:44:44 debian-mini NetworkManager[745]: <info> [1578653084.2079] manager: rfkill: WiFi now enabled by radio killswitch
jan. 10 11:44:44 debian-mini NetworkManager[745]: <info> [1578653084.2798] sup-iface[0x55c3698d0440,wlp3s0]: supports 5 scan SSIDs
jan. 10 11:44:44 debian-mini NetworkManager[745]: <info> [1578653084.2807] device (wlp3s0): supplicant interface state: starting -> ready
jan. 10 11:44:44 debian-mini NetworkManager[745]: <info> [1578653084.2808] device (wlp3s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed
jan. 10 11:44:44 debian-mini kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Code: Select all
root@debian-mini:~# systemctl
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\x2deDP\x2d1-intel_backlight.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
sys-devices-pci0000:00-0000:00:03.0-sound-card0.device loaded active plugged Haswell-ULT HD Audio Controller (ThinkPad X240)
sys-devices-pci0000:00-0000:00:14.0-usb2-2\x2d7-2\x2d7:1.0-bluetooth-hci0.device loaded active plugged /sys/devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/bluetooth/hci0
sys-devices-pci0000:00-0000:00:19.0-net-enp0s25.device loaded active plugged Ethernet Connection I218-LM (ThinkPad X240)
sys-devices-pci0000:00-0000:00:1b.0-sound-card1.device loaded active plugged 8 Series HD Audio Controller (ThinkPad X240)
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlp3s0.device loaded active plugged Wireless 7260 (Wireless-N 7260)
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged TS128GSSD720 1
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged TS128GSSD720 2
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda5.device loaded active plugged TS128GSSD720 5
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged TS128GSSD720
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-devices-virtual-block-dm\x2d0.device loaded active plugged LVM PV 6hbV7r-4doc-GF2m-2VLC-Oeh0-K412-n7ogt0 on /dev/dm-0
sys-devices-virtual-block-dm\x2d1.device loaded active plugged /sys/devices/virtual/block/dm-1
sys-devices-virtual-block-dm\x2d2.device loaded active plugged /sys/devices/virtual/block/dm-2
sys-devices-virtual-misc-rfkill.device loaded active plugged /sys/devices/virtual/misc/rfkill
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
sys-subsystem-net-devices-enp0s25.device loaded active plugged Ethernet Connection I218-LM (ThinkPad X240)
sys-subsystem-net-devices-wlp3s0.device loaded active plugged Wireless 7260 (Wireless-N 7260)
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
run-user-1000.mount loaded active mounted /run/user/1000
sys-kernel-debug.mount loaded active mounted Kernel Debug File System
systemd-ask-password-plymouth.path loaded active waiting Forward Password Requests to Plymouth Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
init.scope loaded active running System and Service Manager
session-3.scope loaded active running Session 3 of user hallvor
accounts-daemon.service loaded active running Accounts Service
apparmor.service loaded active exited Load AppArmor profiles
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
blk-availability.service loaded active exited Availability of block devices
bluetooth.service loaded active running Bluetooth service
console-setup.service loaded active exited Set console font and keymap
cron.service loaded active running Regular background program processing daemon
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
haveged.service loaded active running Entropy daemon using the HAVEGE algorithm
ifup@enp0s25.service loaded active exited ifup for enp0s25
keyboard-setup.service loaded active exited Set the console keyboard layout
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
lvm2-pvscan@254:0.service loaded active exited LVM event activation on device 254:0
NetworkManager.service loaded active running Network Manager
nftables.service loaded active exited nftables
polkit.service loaded active running Authorization Manager
rsyslog.service loaded active running System Logging Service
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
sddm.service loaded active running Simple Desktop Display Manager
systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:intel_backlight
systemd-cryptsetup@sda5_crypt.service loaded active exited Cryptography Setup for sda5_crypt
systemd-fsck@dev-disk-by\x2duuid-eb6a114e\x2da7bf\x2d4960\x2d91d0\x2dc638b0b580d1.service loaded active exited File System Check on /dev/disk/by-uuid/eb6a114e-a7bf-4960-91d0-c638b0b580d1
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-sysusers.service loaded active exited Create System Users
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
tlp.service loaded active exited TLP system startup/shutdown
udisks2.service loaded active running Disk Manager
unattended-upgrades.service loaded active running Unattended Upgrades Shutdown
upower.service loaded active running Daemon for power management
user-runtime-dir@1000.service loaded active exited User Runtime Directory /run/user/1000
user@1000.service loaded active running User Manager for UID 1000
wpa_supplicant.service loaded active running WPA supplicant
-.slice loaded active active Root Slice
system-getty.slice loaded active active system-getty.slice
system-lvm2\x2dpvscan.slice loaded active active system-lvm2\x2dpvscan.slice
system-systemd\x2dbacklight.slice loaded active active system-systemd\x2dbacklight.slice
system-systemd\x2dcryptsetup.slice loaded active active system-systemd\x2dcryptsetup.slice
system-systemd\x2dfsck.slice loaded active active system-systemd\x2dfsck.slice
system.slice loaded active active System Slice
user-1000.slice loaded active active User Slice of UID 1000
user.slice loaded active active User and Session Slice
avahi-daemon.socket loaded active running Avahi mDNS/DNS-SD Stack Activation Socket
dbus.socket loaded active running D-Bus System Message Bus Socket
dm-event.socket loaded active listening Device-mapper event daemon FIFOs
lvm2-lvmpolld.socket loaded active listening LVM2 poll daemon socket
syslog.socket loaded active running Syslog Socket
systemd-fsckd.socket loaded active listening fsck to fsckd communication Socket
systemd-initctl.socket loaded active listening initctl Compatibility Named Pipe
systemd-journald-audit.socket loaded active running Journal Audit Socket
systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log)
systemd-journald.socket loaded active running Journal Socket
systemd-udevd-control.socket loaded active running udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
dev-mapper-debian\x2d\x2dmini\x2d\x2dvg\x2dswap_1.swap loaded active active /dev/mapper/debian--mini--vg-swap_1
basic.target loaded active active Basic System
bluetooth.target loaded active active Bluetooth
cryptsetup.target loaded active active Local Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network-pre.target loaded active active Network (Pre)
network.target loaded active active Network
nss-user-lookup.target loaded active active User and Group Name Lookups
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
slices.target loaded active active Slices
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
time-sync.target loaded active active System Time Synchronized
timers.target loaded active active Timers
anacron.timer loaded active waiting Trigger anacron every hour
apt-daily-upgrade.timer loaded active waiting Daily apt upgrade and clean activities
apt-daily.timer loaded active waiting Daily apt download activities
fstrim.timer loaded active waiting Discard unused blocks once a week
logrotate.timer loaded active waiting Daily rotation of log files
man-db.timer loaded active waiting Daily man-db regeneration
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
127 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
Hardware:
Code: Select all
hallvor@debian-mini:~$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
Code: Select all
hallvor@debian-mini:~$ lsmod
Module Size Used by
ctr 16384 4
ccm 20480 6
acpi_call 16384 0
cmac 16384 1
bnep 24576 2
btusb 53248 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 24576 1 btusb
bluetooth 647168 26 btrtl,btintel,btbcm,bnep,btusb
uvcvideo 118784 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_common 53248 2 videobuf2_v4l2,uvcvideo
drbg 28672 1
videodev 212992 3 videobuf2_v4l2,uvcvideo,videobuf2_common
ansi_cprng 16384 0
media 45056 2 videodev,uvcvideo
ecdh_generic 24576 2 bluetooth
arc4 16384 2
intel_rapl 24576 0
iwlmvm 303104 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
msr 16384 0
joydev 24576 0
mac80211 835584 1 iwlmvm
mei_wdt 16384 0
snd_hda_codec_realtek 122880 1
kvm 749568 0
snd_hda_codec_hdmi 57344 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
iwlwifi 249856 1 iwlmvm
irqbypass 16384 1 kvm
snd_hda_intel 45056 4
nft_counter 16384 1
intel_cstate 16384 0
intel_uncore 135168 0
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
rmi_smbus 16384 0
cfg80211 774144 3 iwlmvm,iwlwifi,mac80211
wmi_bmof 16384 0
rmi_core 81920 1 rmi_smbus
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
sg 36864 0
intel_rapl_perf 16384 0
snd_hwdep 16384 1 snd_hda_codec
serio_raw 16384 0
thinkpad_acpi 106496 1
pcspkr 16384 0
rtsx_pci_ms 20480 0
snd_pcm 114688 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
iTCO_wdt 16384 0
nvram 16384 1 thinkpad_acpi
tpm_tis 16384 0
memstick 16384 1 rtsx_pci_ms
iTCO_vendor_support 16384 1 iTCO_wdt
snd_timer 36864 1 snd_pcm
rfkill 28672 7 bluetooth,thinkpad_acpi,cfg80211
mei_me 45056 1
snd 94208 17 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,thinkpad_acpi,snd_pcm
mei 118784 3 mei_wdt,mei_me
tpm_tis_core 20480 1 tpm_tis
soundcore 16384 1 snd
tpm 65536 2 tpm_tis,tpm_tis_core
nft_ct 20480 3
ac 16384 0
pcc_cpufreq 16384 0
battery 20480 1 thinkpad_acpi
nf_conntrack 172032 1 nft_ct
rng_core 16384 1 tpm
nf_defrag_ipv6 20480 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
libcrc32c 16384 1 nf_conntrack
evdev 28672 22
nf_tables_set 32768 3
nf_tables 143360 31 nft_ct,nft_counter,nf_tables_set
nfnetlink 16384 1 nf_tables
ip_tables 28672 0
x_tables 45056 1 ip_tables
autofs4 49152 2
ext4 737280 2
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 122880 1 ext4
crc32c_generic 16384 0
fscrypto 32768 1 ext4
ecb 16384 0
algif_skcipher 16384 0
af_alg 28672 1 algif_skcipher
dm_crypt 40960 1
dm_mod 155648 9 dm_crypt
sd_mod 61440 3
hid_generic 16384 0
usbhid 57344 0
hid 135168 2 usbhid,hid_generic
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 4
ghash_clmulni_intel 16384 0
pcbc 16384 0
i915 1732608 19
rtsx_pci_sdmmc 28672 0
mmc_core 176128 1 rtsx_pci_sdmmc
ahci 40960 2
libahci 40960 1 ahci
aesni_intel 200704 8
xhci_pci 16384 0
libata 270336 2 libahci,ahci
xhci_hcd 266240 1 xhci_pci
ehci_pci 16384 0
ehci_hcd 94208 1 ehci_pci
i2c_algo_bit 16384 1 i915
scsi_mod 249856 3 sd_mod,libata,sg
aes_x86_64 20480 1 aesni_intel
drm_kms_helper 208896 1 i915
crypto_simd 16384 1 aesni_intel
cryptd 28672 4 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper 16384 1 aesni_intel
psmouse 172032 0
lpc_ich 28672 0
i2c_i801 28672 0
drm 495616 10 drm_kms_helper,i915
usbcore 294912 7 xhci_hcd,ehci_pci,usbhid,uvcvideo,ehci_hcd,btusb,xhci_pci
e1000e 282624 0
rtsx_pci 73728 2 rtsx_pci_sdmmc,rtsx_pci_ms
usb_common 16384 1 usbcore
thermal 20480 0
wmi 28672 1 wmi_bmof
video 45056 2 thinkpad_acpi,i915
button 16384 0