You are not logged in.
Hi, I would like some advice on the proper way to setup on boot wifi connection. Currently, I have it running using systemd, but it slowed down my boot time considerably (about 1min 30s more time.) This is due to the fact, I guess, that it waits on the job to exit, which it never does.
Here is the relevant part of my log:
http://ix.io/4zMy
Any idea on how I should improve this? Is there a way to tell systemd to not wait on this?
Edit: Broken journal paste bin. Relevant part is around 21:57:00.
Last edited by duuumbo (2023-08-17 17:07:26)
Offline
how have you set up your network using systemd ? i can see dhcpcd running as well, maybe try disabling that as they look to be fighting over the network connection.
Note: There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.
Offline
The problem is not that it is taking time for the networkto come up, but rather some dependency of your networking is failing and the system hangs for the 90second default timeout. Identify / fix whatever is failing, don't brush it under the rug.
This all appears related to a VPN. What vpn are you using and how is it configured?
Last edited by Trilby (2023-07-05 05:24:44)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
jui 04 21:56:24 DumboPC kernel: rtl8821ae 0000:06:00.0 wlp6s0: renamed from wlan0
jui 04 21:56:24 DumboPC kernel: rt2800usb 2-1.1:1.0 wlp0s29u1u1: renamed from wlan0
jui 04 21:57:53 DumboPC systemd[1]: sys-subsystem-net-devices-wlan0.device: Job sys-subsystem-net-devices-wlan0.device/start timed out.
jui 04 21:57:53 DumboPC systemd[1]: Timed out waiting for device /sys/subsystem/net/devices/wlan0.
jui 04 21:57:53 DumboPC systemd[1]: Dependency failed for Wireless network connectivity (wlan0).
jui 04 21:57:53 DumboPC systemd[1]: network-wireless@wlan0.service: Job network-wireless@wlan0.service/start failed with result 'dependency'.
jui 04 21:57:53 DumboPC systemd[1]: sys-subsystem-net-devices-wlan0.device: Job sys-subsystem-net-devices-wlan0.device/start failed with result 'timeout'.(likely) netctl and there's a profile for wlan0 around, but wlan0 is gone thanks to https://wiki.archlinux.org/title/Networ … face_names
NOTA! BENE!
You've two wlan devices what means this is actually a valid scenario for somewhat_but_less_than_predictable interface names, just get rid of the bogus profile.
Edit: looks like Costco… err Cisco anyconnect ![]()
Last edited by seth (2023-07-05 06:04:52)
Online
Hi, it looks like you guys nailed it. There are some files left from an old cisco anyconnect uninstall script. Some clean up should speed up the boot time, I will follow up.
Offline
Hi, I cleaned up the messy uninstall of cisco anyconnect, but that was not totaly it.
jui 05 12:25:54 DumboPC kernel: rtlwifi: rtlwifi: wireless switch is on
jui 05 12:25:54 DumboPC kernel: rtl8821ae 0000:06:00.0 wlp6s0: renamed from wlan0
jui 05 12:25:54 DumboPC kernel: usbcore: registered new interface driver rt2800usb
jui 05 12:25:54 DumboPC kernel: rt2800usb 1-1.1:1.0 wlp0s29u1u1: renamed from wlan0
jui 05 12:26:06 DumboPC dhcpcd[387]: wlp6s0: adding route to 192.168.2.0/24
jui 05 12:26:06 DumboPC dhcpcd[387]: wlp6s0: adding default route via 192.168.2.1
jui 05 12:26:13 DumboPC dhcpcd[387]: wlp6s0: no IPv6 Routers available
jui 05 12:27:22 DumboPC systemd[1]: sys-subsystem-net-devices-wlan0.device: Job sys-subsystem-net-devices-wlan0.device/start timed out.
jui 05 12:27:22 DumboPC systemd[1]: Timed out waiting for device /sys/subsystem/net/devices/wlan0.
jui 05 12:27:22 DumboPC systemd[1]: Dependency failed for Wireless network connectivity (wlan0).
jui 05 12:27:22 DumboPC systemd[1]: network-wireless@wlan0.service: Job network-wireless@wlan0.service/start failed with result 'dependency'.
jui 05 12:27:22 DumboPC systemd[1]: sys-subsystem-net-devices-wlan0.device: Job sys-subsystem-net-devices-wlan0.device/start failed with resultHere it says that it waits on device wlan0, but it does not exist, since my interface is named wlp6s0.
Here is the service I set up
$ systemctl list-units --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
network-wireless@wlp6s0.service loaded active exited Wireless network connectivity (wlp6s0)Which was generated with https://wiki.archlinux.org/title/Wpa_supplicant, the section on systemd boot.
Last edited by duuumbo (2023-07-05 16:45:21)
Offline
find /etc/systemd/ -iname '*wlan0*'
netctl listOnline