Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Very slow WiFi connect after resume from suspend [Solved]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 151 times
Been thanked: 212 times

Very slow WiFi connect after resume from suspend [Solved]

#1 Post by Hallvor »

I have had this problem several times after resuming from suspend.* The WiFi will be connected to the network, but no traffic comes through. After a few minutes, everything works as usual. It is not a dealbreaker, just annoying.

The computer is a Lenovo Thinkpad X240 (not the one in my signature) with Intel 7260 WiFi.

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
Errors from journalctl from the time this was happening:

Code: Select all

des. 19 11:56:34 debian-mini wpa_supplicant[815]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlp3s0/drop_unicast_in_l2_multicast: No such file or directory
des. 19 11:56:34 debian-mini wpa_supplicant[815]: nl80211: Failed to set IPv4 unicast in multicast filter
des. 19 11:56:34 debian-mini nm-dispatcher[20246]: req:5 'down' [wlp3s0]: new request (2 scripts)
des. 19 11:56:34 debian-mini nm-dispatcher[20246]: req:5 'down' [wlp3s0]: start running ordered scripts...
des. 19 11:56:34 debian-mini nm-dispatcher[20246]: req:6 'connectivity-change': new request (2 scripts)
des. 19 11:56:34 debian-mini wpa_supplicant[815]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlp3s0/drop_unicast_in_l2_multicast: No such file or directory
des. 19 11:56:34 debian-mini kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
des. 19 11:56:34 debian-mini wpa_supplicant[815]: nl80211: Failed to set IPv4 unicast in multicast filter
[...]
des. 19 11:59:30 debian-mini root[21300]: /etc/dhcp/dhclient-exit-hooks.d/zzz_avahi-autoipd returned non-zero exit status 1
It complains about a missing file. This is a very minimal install, so I may lack something important... Any ideas?

* I very rarely reboot the computer, so it is possible that there is a problem on fresh boots as well, as the problem comes and goes.
Last edited by Hallvor on 2019-12-27 16:55, edited 1 time in total.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Very slow WiFi connect after resume from suspend

#2 Post by Head_on_a_Stick »

Is this with NetworkManager?

Please post the output of

Code: Select all

systemctl list-unit-files --state=enabled
deadbang

shep
Posts: 423
Joined: 2011-03-15 15:22

Re: Very slow WiFi connect after resume from suspend

#3 Post by shep »

The other thing to look at is power saving features:
https://wiki.archlinux.org/index.php/Po ... _(iwlwifi)
My realtek card dropped connections until I disable powersaving with a /etc/modprobe.d entry.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 151 times
Been thanked: 212 times

Re: Very slow WiFi connect after resume from suspend

#4 Post by Hallvor »

Yes, NetworkManager is installed and enabled. I am puzzled by the random loss of traffic. The computer worked fine when I woke up the computer from suspend now - and it usually works fine, like I mentioned.

Code: Select all

root@debian-mini:~# systemctl list-unit-files --state=enabled
UNIT FILE                                  STATE  
accounts-daemon.service                    enabled
anacron.service                            enabled
apparmor.service                           enabled
autovt@.service                            enabled
avahi-daemon.service                       enabled
blk-availability.service                   enabled
console-setup.service                      enabled
cron.service                               enabled
dbus-fi.w1.wpa_supplicant1.service         enabled
dbus-org.freedesktop.Avahi.service         enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.timesync1.service     enabled
getty@.service                             enabled
haveged.service                            enabled
keyboard-setup.service                     enabled
lvm2-monitor.service                       enabled
ModemManager.service                       enabled
network-manager.service                    enabled
networking.service                         enabled
NetworkManager-dispatcher.service          enabled
NetworkManager-wait-online.service         enabled
NetworkManager.service                     enabled
nftables.service                           enabled
pppd-dns.service                           enabled
rsyslog.service                            enabled
syslog.service                             enabled
systemd-timesyncd.service                  enabled
tlp-sleep.service                          enabled
tlp.service                                enabled
udisks2.service                            enabled
unattended-upgrades.service                enabled
wpa_supplicant.service                     enabled
avahi-daemon.socket                        enabled
dm-event.socket                            enabled
lvm2-lvmpolld.socket                       enabled
remote-fs.target                           enabled
anacron.timer                              enabled
apt-daily-upgrade.timer                    enabled
apt-daily.timer                            enabled
fstrim.timer                               enabled
logrotate.timer                            enabled
man-db.timer                               enabled

43 unit files listed.

Code: Select all

root@debian-mini:~# systemctl status NetworkManager
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-12-20 08:28:24 CET; 13min ago
     Docs: man:NetworkManager(8)
 Main PID: 814 (NetworkManager)
    Tasks: 4 (limit: 4915)
   Memory: 17.6M
   CGroup: /system.slice/NetworkManager.service
           ├─ 814 /usr/sbin/NetworkManager --no-daemon
           └─1547 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /run/dhclient-wlp3s0.pid -lf /var/lib/NetworkManager/dhclient-92909545-2a78-4268-838d-60fa21ae1e65-wlp3s0.

des. 20 08:29:18 debian-mini dhclient[1650]: XMT: Solicit on wlp3s0, interval 16790ms.
des. 20 08:29:34 debian-mini dhclient[1650]: XMT: Solicit on wlp3s0, interval 34970ms.
des. 20 08:29:47 debian-mini NetworkManager[814]: <warn>  [1576826987.2806] dhcp6 (wlp3s0): request timed out
des. 20 08:29:47 debian-mini NetworkManager[814]: <info>  [1576826987.2807] dhcp6 (wlp3s0): state changed unknown -> timeout
des. 20 08:29:47 debian-mini NetworkManager[814]: <info>  [1576826987.2829] dhcp6 (wlp3s0): canceled DHCP transaction, DHCP client pid 1650
des. 20 08:29:47 debian-mini NetworkManager[814]: <info>  [1576826987.2829] dhcp6 (wlp3s0): state changed timeout -> done
des. 20 08:38:24 debian-mini NetworkManager[814]: <info>  [1576827504.3732] device (wlp3s0): supplicant interface state: completed -> authenticating
des. 20 08:38:24 debian-mini NetworkManager[814]: <info>  [1576827504.3762] device (wlp3s0): supplicant interface state: authenticating -> associating
des. 20 08:38:24 debian-mini NetworkManager[814]: <info>  [1576827504.3883] device (wlp3s0): supplicant interface state: associating -> associated
des. 20 08:38:24 debian-mini NetworkManager[814]: <info>  [1576827504.3948] device (wlp3s0): supplicant interface state: associated -> completed
shep wrote:The other thing to look at is power saving features:
https://wiki.archlinux.org/index.php/Po ... _(iwlwifi)
My realtek card dropped connections until I disable powersaving with a /etc/modprobe.d entry.
I tried disabling the WiFi power saving feature on TLP. It was disabled on AC power, but enabled on battery. I'll let you know how it works out.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 151 times
Been thanked: 212 times

Re: Very slow WiFi connect after resume from suspend

#5 Post by Hallvor »

No trouble after disabling WiFi power saving. Marking thread as solved for now. Thanks!
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Post Reply