Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225143

Re: Slow wifi-reconnection when waking up

From Charles Curley <charlescurley@charlescurley.com>
Newsgroups linux.debian.user
Subject Re: Slow wifi-reconnection when waking up
Date 2020-07-23 01:30 +0200
Message-ID <Avwlr-2L9-3@gated-at.bofh.it> (permalink)
References <AvshP-ln-3@gated-at.bofh.it>
Organization occasionally

Show all headers | View raw


On Wed, 22 Jul 2020 15:04:44 -0400
Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> When I wake up from suspend, my Debian machines take a "long" time to
> reconnect to the wifi.  Looking at the `nm-applet` icon in my XFCE4
> panel, I see:
> - for about 10s the icon is "two computers" (which IIUC represents
>   just NetworkManager).

That indicates "no connection".

> - then the icon changes to the one representing a wired ethernet
>   connection and stays that way for about 10s (there's nothing
>   plugged into the ethernet port of this computer).

Which indicates that NM is trying to connect to a wired connection.

> - then the icon changes to the "two dots, with something circling
>   between them" which indicates that the system is in the process of
>   connecting to a wifi network.

NM negotiating to join a WiFi network.

> - after about 5s this changes to the bars representation of the
>   signal quality.

WiFi connection established.

> 
> IOW, while it takes about 5s to connect to the wifi network, it takes
> about 20 additional seconds for NM to decide that it should try to
> connect.

Somehow NM is convinced that it should try an Ethernet connection
first. You need a way to disabuse it of that notion.

What does your /etc/network/interfaces file look like? Is your Ethernet
device present there? If so, try commenting it out and restarting NM.

Otherwise, as Brad Rogers <brad@fineby.me.uk> mentioned,
https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html
may have some tips.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-22 21:10 +0200
  Re: Slow wifi-reconnection when waking up Dan Ritter <dsr@randomstring.org> - 2020-07-22 21:20 +0200
  Re: Slow wifi-reconnection when waking up Brad Rogers <brad@fineby.me.uk> - 2020-07-22 21:30 +0200
    Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-22 22:10 +0200
      Re: Slow wifi-reconnection when waking up Kushal Kumaran <kushal@locationd.net> - 2020-07-23 02:30 +0200
        Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-23 05:00 +0200
      Re: Slow wifi-reconnection when waking up Brad Rogers <brad@fineby.me.uk> - 2020-07-23 09:30 +0200
  Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-22 21:50 +0200
  Re: Slow wifi-reconnection when waking up David Wright <deblis@lionunicorn.co.uk> - 2020-07-23 00:30 +0200
    Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-23 00:40 +0200
  Re: Slow wifi-reconnection when waking up Charles Curley <charlescurley@charlescurley.com> - 2020-07-23 01:30 +0200
    Re: Slow wifi-reconnection when waking up Charles Curley <charlescurley@charlescurley.com> - 2020-07-23 02:10 +0200
      Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-23 05:00 +0200
        Re: Slow wifi-reconnection when waking up David Wright <deblis@lionunicorn.co.uk> - 2020-07-23 05:20 +0200
          Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-24 02:20 +0200
        Re: Slow wifi-reconnection when waking up Tixy <tixy@yxit.co.uk> - 2020-07-23 09:00 +0200
          Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-24 02:30 +0200
    Re: Slow wifi-reconnection when waking up Joe <joe@jretrading.com> - 2020-07-23 17:20 +0200
      Re: Slow wifi-reconnection when waking up Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-24 02:30 +0200
        Re: Slow wifi-reconnection when waking up Yvan Masson <yvan@masson-informatique.fr> - 2020-07-24 15:30 +0200

csiph-web