You are not logged in.
Pages: 1
A start job runs whenever I boot up my system, it is for a Ethernet to USB adapter I was using to install my system, as setting up the wifi with wpa_supplicant was not possible at the time, I no longer need to use it and I'm not sure how to disable it.
sys-subsystem-net-devices-enp0s20u2.device is the start job that runs, I have tried disabling or stopping it with systemctl, but it doesn't work.
Offline
Please paste the exact error message and the exact commands that you ran to disable it; "doesn't work" is not an error message
https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
$ systemctl list-unit-files | grep enabled
Should list units that have been manually enabled. sys-subsystem-net-devices-enp0s20u2.device should normally be a dependency of some service that is waiting for the device to appear.
Offline
No need to pipe:
systemctl list-unit-files --state enabled
Offline
No need to pipe:
systemctl list-unit-files --state enabled
I did that, I'm getting just
autovt@.service
dbus-org.freedesktop.NetworkManager.service
dbus-org.freedesktop.nm-dispatcher.service
dhcpcd@.service
NetworkManager-dispatcher.service
NetworkManager.service
Nothing else that looks related to networking at all. I'm not sure which one my problem might be caused by.
Offline
$ journalctl -b dhcpcd*@*.service
Please use code tags for commands plus their output and include the original command along with its output.
Edit:
Please also note Network_configuration#Network_managers
There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.
Last edited by loqs (2017-05-28 23:45:15)
Offline
$ journalctl -b dhcpcd*@*.service
Please use code tags for commands plus their output and include the original command along with its output.
Edit:
Please also note Network_configuration#Network_managersThere are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.
I got "Failed to add match 'dhcpcd@.service' : Invalid argument
Offline
Please use code tags for commands plus their output and include the original command along with its output.
Please post the exact command you entered and the output generated in code tags.
Please try
$ systemctl status dhcpcd*@*.service
instead of
$ journalctl -b -u dhcpcd*@*.service
Although both commands should be valid the former will provide more useful information.
Last edited by loqs (2017-05-29 00:16:05)
Offline
loqs wrote:Please use code tags for commands plus their output and include the original command along with its output.
Please post the exact command you entered and the output generated in code tags.
Please try$ systemctl status dhcpcd*@*.service
instead of
$ journalctl -b -u dhcpcd*@*.service
Although both commands should be valid the former will provide more useful information.
I used
journalctl -b dhpcd@.service
as you suggested, I got
Failed to add match 'dhcpcd@.service': Invalid argument
Offline
You missed the globs...
Offline
You missed the globs...
and the -u parameter so journalctl rightly complained dhpcd@.service is not valid argument to -b
Offline
jasonwryan wrote:You missed the globs...
and the -u parameter so journalctl rightly complained dhpcd@.service is not valid argument to -b
Done, it gave an output, It's rather too large to type in, Ill give the beginning and end.
First Line
May 26 16:41:03 archlaptop systemd[1]: Starting dhcpcd on enp0s20u2...
Last line
May 28 18:32:28 archlaptop systemd[1]: dhcpcd@enp0s20u2.service: Job dhcpcd@enp0s20u2.service/start failed with result 'dependency'.
unless this output is saved somewhere and I can post the entire thing somehow...
Offline
Offline
Pages: 1