Linux – Arch Linux Install Cannot Enable dhcpd

arch linuxdhcplinuxparallelssystemd

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.

Best Answer

  • 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 dhcpcd@wlp3s0.service 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.

  • Related Question