You are not logged in.
Pages: 1
Topic closed
I just did my first install of Arch, and I am getting the two messages below about a minute after I login to console:
[ TIME ] Timed out waiting for device sys-subsystem-net-devices-<interface>.device.
[DEPEND] Dependency failed for <Description='description of manual netctl profile'>.
I have read the required reading in the netctl ArchWiki and, specifically, have performed the wiki recommendations as per below:
SPECIAL UNITS
-------------
netctl.service::
When started, this unit tries to start the profiles that were
running when the unit was last stopped. In some cases, the interface
a profile binds to might not be available yet, when netctl.service
tries to bring a profile up. A simple, hackish, solution is to do:
--------------------------------------------------------------------
echo "[[ -t 0 ]] || sleep 3" > /etc/netctl/interfaces/<interface>
chmod 755 /etc/netctl/interfaces/<interface>
--------------------------------------------------------------------
A more concise solution is to first enable a profile through netctl
and then disable it again through systemctl:
--------------------------------------------------------------------
netctl enable <profile>
systemctl disable netctl@<profile>
--------------------------------------------------------------------
This way the unit configuration file for the profile remains in
existence, while the profile is not enabled.
The interface that is giving notice is an external usb wifi adapter I used during initial installation. It is no longer plugged in because I have successfully activated the builtin wifi adapter and no longer need it.
I have researched this quite a bit and cannot seem to find a solution.
Any help would be greatly appreciated.
edit: changed tags
Last edited by mc33 (2013-07-12 20:44:33)
Offline
Please use quote tags and code tags rather than bold and italics.
Presumably, you have something enabled to a given interface that doesn't exist. In this case, it is likely that you have netctl set up to start a profile that is bound said non-existent interface. Please compare the enabled services (particularly the netctl ones) with the actual inteface names (you can see what you really have with "ip a").
Keep in mind that you may not have known you enabled a systemd.service if you are using netctl. This is because netctl is designed to interface with systemd, so that if you do something like "netctl enable <profile>", that is the same as doing "systemctl enable netctl@profile.service". The netctl profiles use the BindsTo= systemd configuration to ensure that the profile in question is not started before the given interface is up. Hence it is timing out, waiting for something that doesn't exist.
Welcome to the forums. Remember, code tags and quote tags!
Offline
Thanks for the reply.
After reading your suggestions and rereading the netctl - ArchWiki, I was able to resolve the issue with the following command:
netctl disable <profile>
Simple fix, but I'm quite new with a lot to learn. Thanks, again!
Offline
Hey, no problem... and those are some very nice code and quote blocks!
Offline
I recently changed interface naming scheme (wlan0 doesn't exist anymore), now i get similar error message after one minute:
[ TIME ] Timed out waiting for device sys-subsystem-net-devices-wlan0.device.
I set up my netctl configuration for automatic operation with netctl-ifplugd for wired interface (enp2s0) and netctl-auto for wireless interface (wlp6s5), described here: Netctl-Archwiki-Automatic-operation; it's working perfectly.
I am not able to examine, why above message appears, cause there is no systemctl unit file for it; there is only:
netctl-auto@wlp6s5.service loaded active exited Automatic wireless network connection using netctl profiles
netctl-ifplugd@enp2s0.service loaded active running Automatic wired network connection using netctl profiles
netctl@wlan\x2dtest.service loaded active exited Networking for netctl profile wlan-test
Additionly, any profile in /etc/netctl contains the old interface name "wlan0".
So, how to stop this timeout message?
Thanks,
Stefan
Offline
Have you tried disabling the profile that wlan0 was originally configured to? Using this command:
netctl disable <profile>
Offline
Have you tried disabling the profile that wlan0 was originally configured to? Using this command:
netctl disable <profile>
I cannot remember what profile it was, cause there are too much in my /etc/netctl-folder; additionally, I converted all old interface names into new ones in all profile-files, so maybe disabling via above command wouldn't work?
How can I examine, which profile i have to disable?
Thanks,
Stefan
Offline
To determine which profile your missing interface is bound to, we can follow the recommendations found in this post. Here is the pertinent command:
grep -ir <interface> /etc/systemd/*
If it returns, for example:
/etc/systemd/system/netctl@test\x2dnetwork.service:BindsTo=sys-subsystem-net-devices-<interface>.device
/etc/systemd/system/netctl@test\x2dnetwork.service:After=sys-subsystem-net-devices-<interface>.device
This tells us we need to disable the test-network profile. [test\x2dnetwork]
To do this, we would simply:
netctl disable test-network
Offline
Many thanks mc33,
examination of profile causing the messages one minute after startup was successful, also disabling that profile.
Stefan
Offline
You're welcome. Glad to help.
Offline
I am having the same issue, the above did not solve it, it was after a kernel update to version 4.5 that I saw this happening
Offline
I am having the same issue, the above did not solve it, it was after a kernel update to version 4.5 that I saw this happening
Same issue, but what exact error message? https://bbs.archlinux.org/viewtopic.php?id=57855
What is "the above"? Please describe what you have tried.
Offline
Don't bother. Necro.
Closing...
Offline
Pages: 1
Topic closed