You are not logged in.
Pages: 1
Hi there,
I'm trying to start wpa_supplicant automatically when starting multi-user.target without going through something fancy like netcfg or NetworkManager. So I have done
systemctl enable wpa_supplicant@wlan0
Unforutnately, this doesn't work. I get the following message in my journal
systemd[1]: Job sys-subsystem-net-devices-wlan0.device/start timed out.
systemd[1]: Timed out waiting for device sys-subsystem-net-devices-wlan0.device.
systemd[1]: Dependency failed for WPA supplicant daemon (interface-specific version).
systemd[1]: Job wpa_supplicant@wlan0.service/start failed with result 'dependency'.
systemd[1]: Job sys-subsystem-net-devices-wlan0.device/start failed with result 'timeout'.
However, listing the devices recognised through [tt]systemctl --all --type device[/tt] I get:
sys-devices-pci0000:00-0000:00:14.2-sound-card1.device loaded active plugged SBx00 Azalia (Intel HDA)
sys-devices-pci0000:00-0000:00:15.1-0000:03:00.0-net-eth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet controller
sys-devices-pci0000:00-0000:00:15.2-0000:04:00.0-0000:05:01.0-net-wlan0.device loaded active plugged AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn]
sys-subsystem-net-devices-wlan0.device loaded inactive dead sys-subsystem-net-devices-wlan0.device
SystemD seems to be unable to make the connection between the detected device and the subsystem. Can anybody tell me what I'm doing wrong?
Offline
Use sys-devices-pci0000:00-0000:00:15.2-0000:04:00.0-0000:05:01.0-net-wlan0.device in the service file instead of sys-subsystem-net-devices-wlan0.device.
Yes, I know, that doesn't tell you what's going wrong, it just gets you working.
FWIW, my laptop (with perfectly functioning wifi) does not have that sys-subsystem-net-devices-wlan0.device, so if I were to try what you're trying, I would have to use sys-devices-pci00....device as well. I use "fancy" netcfg, btw - you really should too.
Offline
Thank you, tomk. That indeed solves the problem. It seems, that this is a known problem: https://bugs.freedesktop.org/show_bug.cgi?id=52580
Last edited by Hazzl (2012-10-06 10:34:52)
Offline
Pages: 1