You are not logged in.

#1 2013-05-09 21:38:20

utvk
Member
Registered: 2013-05-09
Posts: 6

[solved] dhcpcd not autostarting

Hi, I have added dhcpcd to systemd according to docs, and there are  symbolic links under /etc/systemd/system/multi-user.target.wants

lrwxrwxrwx 1 root root   39 May  9 23:09 dhcpcd@emp0s3.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root   39 May  9 23:27 dhcpcd@eth0.service -> /usr/lib/systemd/system/dhcpcd@.service

(for some reason eth0 is renamed to emp0s3 on boot, so I have added both)

# systemctl start dhcpcd@emp0s3

doesn't seem to run, only hang forever.

And when I do systemctl status dhcpcd@emp0s3 it looks like

May 09 23:13:31 localhost systemd[1]: Dependency failed for dhcpcd on emp0s3.
May 09 23:30:28 localhost systemd[1]: Dependency failed for dhcpcd on emp0s3.

I have also added the ethernet module in /etc/modules-load.d and it seems to load fine

But for some reason: no traces of dhcpcd in startup.

Any idea on what to look on next for autostart of dhcpcd?

Last edited by utvk (2013-12-26 23:04:53)

Offline

#2 2013-05-09 21:46:27

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [solved] dhcpcd not autostarting

1. The rename happened with systemd-197. 2. If you don't have an interface named eth0 anymore, you shouldn't have a service for it. 3. I'll bet anything that it's "enp0s3" not "emp0s3". 4:

code tags are your friends

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

#3 2013-05-09 22:37:03

utvikl
Member
Registered: 2011-07-07
Posts: 17

Re: [solved] dhcpcd not autostarting

Thanks for advices! The error was the spell mistake.

Offline

#4 2013-05-10 11:45:42

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [solved] dhcpcd not autostarting

I'm glad you got the problem worked out. Please add [Solved] to the beginning of your thread title.

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

Board footer

Powered by FluxBB