6

I am trying to setup internet with arch linux. I just installed it using parallels and got the following error:

[root@singularity ~]# systemctl enable dhcpd.service
Failed to issue method call: No such file or directory

So I tried linking it manually:

[root@singularity ~]# ln -s /usr/lib/systemd/system/dhcpd.service /usr/lib/systemd/system/multi-user.target.wants/dhcpd.service

It was then that I realized that the file didn't even exist:

[root@singularity ~]# ls /usr/lib/systemd/system/dhcpd.service
ls: cannot access /usr/lib/systemd/system/dhcpd.service: No such file or directory

Is there any way I can fix this? I do not have any internet access because I cannot enable dhcpd. I am running OSX 10.9 and using parallels.

3 Answers 3

4

Welcome to Arch. I believe this has the answers, it's what I used for the install on my laptop. In my case I ran systemctl start [email protected] since my wifi card is identified as wlp3s0, if you don't know for yours you can run ifconfig or specifically for wireless devices iwconfig.

1
  • That did it. I had to remember because I didn't install iwconfig or ifconfig
    – 735Tesla
    Jan 11, 2014 at 23:20
19

While the question has been answered, I must add that the client daemon is called dhcpcd, not dhcpd (dhcpd is the DHCP server daemon). I spent twenty minutes trying to figure out why that was happening, and it was all because of a simple typo.

2

Looking at the wiki page for dhcpd, the actual name of the service file is dhcpd4.service. Also make sure the dhcp package is installed.

1
  • That's not the right service. He's looking for dhcpCd. Jul 29, 2016 at 18:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .