You are not logged in.

#1 2012-11-26 11:26:17

Bolt64
Member
Registered: 2012-11-25
Posts: 8

dhcpcd daemon not working for second network connection[SOLVED]

So i've got this arch setup on virtualbox with two network connections. First one a host-only adapter and the second one a nat adapter. I wanted both of them to start up automatically afte boot. So i used

    systemctl enable dhcpcd@eth0 (for my host only adapter)

and

    systemctl enable dhcpcd@eth1 (for my nat adapter)

However, only the eth0 connection is coming up. The other one doesn't. I can get it to start manually, however, using:

    dhcpcd eth1

Any ideas what's going wrong here and how can i fix it? I'd really appreciate some help. Thanking you.

Last edited by Bolt64 (2012-11-29 16:53:17)

Offline

#2 2012-11-26 11:51:56

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: dhcpcd daemon not working for second network connection[SOLVED]

You might want to check your work. The second enable doesn't do anything. Make the symlink yourself.

Offline

#3 2012-11-26 15:40:23

Bolt64
Member
Registered: 2012-11-25
Posts: 8

Re: dhcpcd daemon not working for second network connection[SOLVED]

Where do i make the symlinks to and from?

Last edited by Bolt64 (2012-11-26 15:42:18)

Offline

#4 2012-11-26 16:14:22

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: dhcpcd daemon not working for second network connection[SOLVED]

https://bugs.archlinux.org/task/31093

ln -s /usr/lib/systemd/system/dhcpcd@.service /etc/systemd/system/multi-user.target.wants/dhcpcd@eth1.service

Offline

#5 2012-11-26 17:47:54

Bolt64
Member
Registered: 2012-11-25
Posts: 8

Re: dhcpcd daemon not working for second network connection[SOLVED]

Thanks. That worked for me. Appreciate your help.:)

Offline

#6 2012-11-26 21:11:02

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 374

Re: dhcpcd daemon not working for second network connection[SOLVED]

Please mark as solved.Thanks.

Offline

#7 2012-11-27 17:12:17

Bolt64
Member
Registered: 2012-11-25
Posts: 8

Re: dhcpcd daemon not working for second network connection[SOLVED]

Forgive for being such a noob, but how do i mark this as closed? tongue

Offline

#8 2012-11-27 17:42:12

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 374

Re: dhcpcd daemon not working for second network connection[SOLVED]

Put [SOLVED] in title.

Offline

Board footer

Powered by FluxBB