I've tried the solution to Archlinux forum post and it works right now.
The solution (more like a hack) is proposed here in the bottom message:
https://superuser.com/questions/1278234/have-to-restart-networkmanager-
to-get-wifi-autoconnect

So, is anyone interested on trying a definitive solution to this? I can
do whatever test you need, now that we know where the problem is.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1756830

Title:
  Wifi connection don't autoconnect at boot but it works afterwards

Status in network-manager package in Ubuntu:
  New

Bug description:
  I'm using Kubuntu 18.04 installed from a daily and updated to current.

  When I restart my pc, NetworkManager cannot connect to wifi. According
  to logs (autoattached and here:
  https://paste.ubuntu.com/p/fmcF6B5T6x/) the problem is that
  NetworkManager cannot get the password. If I wait until it errors out
  or click "Disconnect" then "Connect", it works perfect.

  I've seen users in some forums
  (https://bbs.archlinux.org/viewtopic.php?id=233519) telling that the
  problem is that when NetworkManager boots, KWallet is not yet
  available and so it doesn't have the password to connect to the wifi
  network. But if you click the "Connect" button, then KWallet is
  available and then it works. Maybe NetworkManager should depend on
  KWallet at boot (just Kubuntu, of course).

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: network-manager 1.10.4-1ubuntu3
  ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
  Uname: Linux 4.15.0-12-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  Date: Mon Mar 19 10:18:03 2018
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2018-03-11 (8 days ago)
  InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180310)
  IpRoute:
   default via 192.168.1.1 dev wlp58s0 proto dhcp metric 600 
   169.254.0.0/16 dev wlp58s0 scope link metric 1000 
   192.168.1.0/24 dev wlp58s0 proto kernel scope link src 192.168.1.133 metric 
600
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-con:
   NAME            UUID                                  TYPE  TIMESTAMP   
TIMESTAMP-REAL                AUTOCONNECT  AUTOCONNECT-PRIORITY  READONLY  
DBUS-PATH                                   ACTIVE  DEVICE   STATE      
ACTIVE-PATH                                         SLAVE 
   MIWIFI_2G_y36Y  602d6129-d306-4b63-9b96-aa042a710863  wifi  1521450896  lun 
19 mar 2018 10:14:56 CET  yes          0                     no        
/org/freedesktop/NetworkManager/Settings/1  yes     wlp58s0  activated  
/org/freedesktop/NetworkManager/ActiveConnection/2  --
  nmcli-dev:
   DEVICE   TYPE      STATE      DBUS-PATH                                  
CONNECTION      CON-UUID                              CON-PATH                  
                         
   wlp58s0  wifi      connected  /org/freedesktop/NetworkManager/Devices/2  
MIWIFI_2G_y36Y  602d6129-d306-4b63-9b96-aa042a710863  
/org/freedesktop/NetworkManager/ActiveConnection/2 
   lo       loopback  unmanaged  /org/freedesktop/NetworkManager/Devices/1  --  
            --                                    --
  nmcli-nm:
   RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI     WWAN-HW  WWAN    
   running  1.10.4   connected  started  full          enabled     enabled  
enabled  enabled  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1756830/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to