Arch Linux Install Cannot Enable dhcpd

36,785

Solution 1

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.

Solution 2

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.

Solution 3

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.

Share:
36,785

Related videos on Youtube

735Tesla
Author by

735Tesla

Computers make a fun hobby. If only keybase had support for stack exchange accounts :(

Updated on September 18, 2022

Comments

  • 735Tesla
    735Tesla over 1 year

    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.

  • 735Tesla
    735Tesla over 10 years
    That did it. I had to remember because I didn't install iwconfig or ifconfig
  • Dessa Simpson
    Dessa Simpson almost 8 years
    That's not the right service. He's looking for dhcpCd.