Article 5CRH5 WiFi doesn't start on boot nut only a few minutes later

WiFi doesn't start on boot nut only a few minutes later

by
MdAyq
from LinuxQuestions.org on (#5CRH5)
Upon boot, the WiFi won't start. However, after a few minutes I get Internet. What to do? I tried to adapt some configuration files; no help.

Here are some bits of my configuration in the state before WiFi is obtained with comments stripped out for the sake of space:
Code:root@PC:~# cat /etc/network/interfaces
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug wlp179s0
iface wlp179s0 inet dhcp
iface wlp179s0 inet6 auto
wpa-ssid AnonymizedSSID
wpa-psk AnonymizedWPA2Password
allow-hotplug enp6s0 enp7s0
auto wlp179s0
root@PC:~# ls -a /etc/network/interfaces.d
. .. setup
root@PC:~# cat /etc/network/interfaces.d/setup
auto lo
iface lo inet loopback
root@PC:~# lshw -c network
*-network
description: Ethernet interface
product: I210 Gigabit Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: enp6s0
version: 03
serial: d4:5d:64:ba:fb:0f
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.10.0-1-amd64 firmware=3.16, 0x80000513 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 memory:90600000-9067ffff ioport:3000(size=32) memory:90680000-90683fff
*-network
description: Ethernet interface
product: I210 Gigabit Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:07:00.0
logical name: enp7s0
version: 03
serial: d4:5d:64:ba:fb:0e
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.10.0-1-amd64 firmware=3.16, 0x800004d7 latency=0 link=no multicast=yes port=twisted pair
resources: irq:19 memory:90500000-9057ffff ioport:2000(size=32) memory:90580000-90583fff
*-network
description: Wireless interface
product: Wi-Fi 6 AX200
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:b3:00.0
logical name: wlp179s0
version: 1a
serial: c8:e2:65:ff:9c:40
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.10.0-1-amd64 firmware=59.601f3a66.0 cc-a0-59.ucode latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:96 memory:fbe00000-fbe03fff
root@PC:~# lspci -nnk | grep -A 4 -i network
06:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
Subsystem: ASUSTeK Computer Inc. I210 Gigabit Network Connection [1043:8557]
Kernel driver in use: igb
Kernel modules: igb
07:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
Subsystem: ASUSTeK Computer Inc. I210 Gigabit Network Connection [1043:8557]
Kernel driver in use: igb
Kernel modules: igb
08:00.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb [14f1:8880] (rev 04)
Subsystem: Hauppauge computer works Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb [0070:f038]
--
b3:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
Subsystem: Intel Corporation Wi-Fi 6 AX200 [8086:0084]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
root@PC:~# cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false
root@PC:~# journalctl -b | egrep -C 2 "(dhclient)|(ifup)|(network)"
Jan 13 03:33:44 PC systemd[1]: Finished Set the console keyboard layout.
Jan 13 03:33:44 PC systemd[1]: Finished Coldplug All udev Devices.
Jan 13 03:33:44 PC systemd[1]: Starting Helper to synchronize boot up for ifupdown...
Jan 13 03:33:44 PC systemd[1]: Started Rule-based Manager for Device Events and Files.
Jan 13 03:33:44 PC systemd[1]: Starting Show Plymouth Boot Screen...
--
Jan 13 03:33:45 PC cron[685]: (CRON) INFO (Running @reboot jobs)
Jan 13 03:33:45 PC systemd[1]: Starting LSB: gpm sysv init script...
Jan 13 03:33:45 PC systemd[1]: Started ifup for wlp179s0.
Jan 13 03:33:45 PC systemd[1]: Starting Initialize hardware monitoring sensors...
Jan 13 03:33:45 PC systemd[1]: Starting LSB: Load kernel modules needed to enable cpufreq scaling...
--
Jan 13 03:33:45 PC smartd[700]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Jan 13 03:33:45 PC polkitd[696]: started daemon version 0.105 using authority implementation `local' version `0.105'
Jan 13 03:33:45 PC dhclient[742]: Internet Systems Consortium DHCP Client 4.4.1
Jan 13 03:33:45 PC systemd[1]: e2scrub_reap.service: Succeeded.
Jan 13 03:33:45 PC sh[742]: Internet Systems Consortium DHCP Client 4.4.1
--
Jan 13 03:33:45 PC sh[742]: All rights reserved.
Jan 13 03:33:45 PC sh[742]: For info, please visit https://www.isc.org/software/dhcp/
Jan 13 03:33:45 PC dhclient[742]: Copyright 2004-2018 Internet Systems Consortium.
Jan 13 03:33:45 PC systemd[1]: Finished Remove Stale Online ext4 Metadata Check Snapshots.
Jan 13 03:33:45 PC dhclient[742]: All rights reserved.
Jan 13 03:33:45 PC dhclient[742]: For info, please visit https://www.isc.org/software/dhcp/
Jan 13 03:33:45 PC dhclient[742]:
Jan 13 03:33:45 PC accounts-daemon[681]: started daemon version 0.6.55
Jan 13 03:33:45 PC smartd[700]: Device: /dev/sda, type changed from 'scsi' to 'sat'
--
Jan 13 03:33:45 PC smartd[700]: Sending warning via /usr/share/smartmontools/smartd-runner to root ...
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.5486] manager[0x55666665e030]: monitoring kernel firmware directory '/lib/firmware'.
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.5486] monitoring ifupdown state file '/run/network/ifstate'.
Jan 13 03:33:45 PC dbus-daemon[686]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.8' (uid=0 pid=688 comm="/usr/sbin/NetworkManager --no-daemon ")
Jan 13 03:33:45 PC systemd[1]: Starting Hostname Service...
--
Jan 13 03:33:45 PC sensors[720]: (emerg = +135.0C, hyst = +5.0C)
Jan 13 03:33:45 PC systemd[1]: Finished Initialize hardware monitoring sensors.
Jan 13 03:33:45 PC dhclient[742]: Listening on LPF/wlp179s0/c8:e2:65:ff:9c:40
Jan 13 03:33:45 PC sh[742]: Listening on LPF/wlp179s0/c8:e2:65:ff:9c:40
Jan 13 03:33:45 PC dhclient[742]: Sending on LPF/wlp179s0/c8:e2:65:ff:9c:40
Jan 13 03:33:45 PC sh[742]: Sending on LPF/wlp179s0/c8:e2:65:ff:9c:40
Jan 13 03:33:45 PC dhclient[742]: Sending on Socket/fallback
Jan 13 03:33:45 PC sh[742]: Sending on Socket/fallback
Jan 13 03:33:45 PC dhclient[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 5
Jan 13 03:33:45 PC sh[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 5
Jan 13 03:33:45 PC dbus-daemon[686]: [system] Successfully activated service 'org.freedesktop.hostname1'
--
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6578] manager: Networking is enabled by state file
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6578] dhcp-init: Using DHCP client 'internal'
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6583] settings: Loaded settings plugin: ifupdown ("/usr/lib/x86_64-linux-gnu/NetworkManager/1.28.0/libnm-settings-plugin-ifupdown.so")
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6584] settings: Loaded settings plugin: keyfile (internal)
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6584] ifupdown: management mode: unmanaged
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6584] ifupdown: interface-parser: parsing file /etc/network/interfaces
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6584] ifupdown: interface-parser: source line includes interfaces file(s) /etc/network/interfaces.d/*
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6584] ifupdown: interface-parser: parsing file /etc/network/interfaces.d/setup
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6584] ifupdown: interface-parser: finished parsing file /etc/network/interfaces.d/setup
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6584] ifupdown: interface-parser: finished parsing file /etc/network/interfaces
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6588] ifupdown: guessed connection type (wlp179s0) = 802-3-ethernet
Jan 13 03:33:45 PC dbus-daemon[686]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.8' (uid=0 pid=688 comm="/usr/sbin/NetworkManager --no-daemon ")
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6593] ifupdown: guessed connection type (wlp179s0) = 802-11-wireless
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6593] ifupdown: update wireless settings (wlp179s0).
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6594] ifupdown: setting wpa ssid = 9
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6594] ifupdown: update wireless security settings (wlp179s0).
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6595] ifupdown: setting wpa security key: psk=<omitted>
Jan 13 03:33:45 PC udisksd[712]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Jan 13 03:33:45 PC NetworkManager[688]: <info> [1610505225.6603] device (lo): carrier: link connected
--
Jan 13 03:33:46 PC cpufrequtils[904]: CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
Jan 13 03:33:46 PC systemd[1]: Started LSB: set CPUFreq kernel parameters.
Jan 13 03:33:46 PC systemd[1]: Finished Helper to synchronize boot up for ifupdown.
Jan 13 03:33:46 PC systemd[1]: Starting Raise network interfaces...
Jan 13 03:33:46 PC ifup[913]: ifup: waiting for lock on /run/network/ifstate.wlp179s0
Jan 13 03:33:47 PC ModemManager[803]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:06:00.0': not supported by any plugin
Jan 13 03:33:47 PC ModemManager[803]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.3/0000:07:00.0': not supported by any plugin
Jan 13 03:33:47 PC ModemManager[803]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:b2/0000:b2:00.0/0000:b3:00.0': not supported by any plugin
Jan 13 03:33:50 PC systemd[1]: systemd-rfkill.service: Succeeded.
Jan 13 03:33:50 PC dhclient[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 11
Jan 13 03:33:50 PC sh[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 11
Jan 13 03:33:51 PC NetworkManager[688]: <info> [1610505231.7343] manager: startup complete
Jan 13 03:33:51 PC systemd[1]: Finished Network Manager Wait Online.
Jan 13 03:33:55 PC systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jan 13 03:34:01 PC dhclient[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 7
Jan 13 03:34:01 PC sh[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 7
Jan 13 03:34:08 PC dhclient[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 15
Jan 13 03:34:08 PC sh[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 15
Jan 13 03:34:14 PC systemd[1]: systemd-fsckd.service: Succeeded.
Jan 13 03:34:15 PC systemd[1]: systemd-hostnamed.service: Succeeded.
Jan 13 03:34:23 PC dhclient[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 16
Jan 13 03:34:23 PC sh[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 16
Jan 13 03:34:39 PC dhclient[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 7
Jan 13 03:34:39 PC sh[742]: DHCPDISCOVER on wlp179s0 to 255.255.255.255 port 67 interval 7
Jan 13 03:34:46 PC dhclient[742]: No DHCPOFFERS received.
Jan 13 03:34:46 PC sh[742]: No DHCPOFFERS received.
Jan 13 03:34:46 PC sh[742]: No working leases in persistent database - sleeping.
Jan 13 03:34:46 PC dhclient[742]: No working leases in persistent database - sleeping.
Jan 13 03:34:46 PC avahi-autoipd(wlp179s0)[964]: Found user 'avahi-autoipd' (UID 108) and group 'avahi-autoipd' (GID 117).
Jan 13 03:34:46 PC avahi-autoipd(wlp179s0)[964]: Successfully called chroot().
--
Jan 13 03:34:55 PC wpa_supplicant[1011]: Successfully initialized wpa_supplicant
Jan 13 03:34:56 PC sh[1060]: wlp179s0=wlp179s0
Jan 13 03:34:56 PC systemd[1]: Finished Raise network interfaces.
Jan 13 03:34:56 PC systemd[1]: Reached target Network.
Jan 13 03:34:56 PC systemd[1]: Reached target Network is Online.
--
Jan 13 03:34:56 PC systemd[1345]: Reached target Timers.
Jan 13 03:34:56 PC systemd[1345]: Starting D-Bus User Message Bus Socket.
Jan 13 03:34:56 PC systemd[1345]: Listening on GnuPG network certificate management daemon.
Jan 13 03:34:56 PC systemd[1345]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 13 03:34:56 PC systemd[1345]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
--
Jan 13 03:35:09 PC systemd[1832]: Reached target Timers.
Jan 13 03:35:09 PC systemd[1832]: Starting D-Bus User Message Bus Socket.
Jan 13 03:35:09 PC systemd[1832]: Listening on GnuPG network certificate management daemon.
Jan 13 03:35:09 PC systemd[1832]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 13 03:35:09 PC systemd[1832]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
--
Jan 13 03:35:11 PC pipewire[1857]: [E][000000091.766238][core.c:71 core_event_error()] core 0x55a484266fa0: proxy 0x55a4842864f0 id:4: bound:-1 seq:4 res:-2 (No such file or directory) msg:"can't create device: No such file or directory"
Jan 13 03:35:11 PC pipewire[1857]: [E][000000091.766252][media-session.c:1971 core_error()] error id:4 seq:4 res:-2 (No such file or directory): can't create device: No such file or directory
Jan 13 03:35:22 PC pulseaudio[1375]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Jan 13 03:35:22 PC dbus-daemon[686]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Jan 13 03:35:27 PC tracker-store[1517]: OKI have a PCE-AX3000 card and use Debian Bullseye with packages linux-image-5.10.0-1-amd64 and firmware-iwlwifi.

Any ideas about who is the culprit and what to do next?latest?d=yIl2AUoC8zA latest?i=vNmetcY_E_U:x4-HhUHJEqA:F7zBnMy latest?i=vNmetcY_E_U:x4-HhUHJEqA:V_sGLiP latest?d=qj6IDK7rITs latest?i=vNmetcY_E_U:x4-HhUHJEqA:gIN9vFwvNmetcY_E_U
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments