dhcpcd can't startup at boot

14,285

Solution 1

systemctl enable dhcpcd.service works for me.

Solution 2

Maybe the ethernet device name is not eth0. Mine is enp3s0. This varies with the ethernet device.

Share:
14,285

Related videos on Youtube

micnyk
Author by

micnyk

Trust me, I'm an engineer.

Updated on September 18, 2022

Comments

  • micnyk
    micnyk over 1 year

    when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable [email protected], after each boot it's inactive

    [email protected]       loaded inactive dead      start dhcpcd on eth0
    
    • micnyk
      micnyk almost 11 years
      the same, symbolic link is created, service starts but it's dead. I run Arch Linux in VirtualBox on Windows 7 if that matters.
    • uzsolt
      uzsolt almost 11 years
      systemctl status [email protected]? Shows any error message?
    • micnyk
      micnyk almost 11 years
      Ohh, I didn't try this command. Yes, it says no such file or directory.
    • micnyk
      micnyk almost 11 years
      @don_crissti: thanks, changing name worked for me ;)
  • jasonwryan
    jasonwryan over 8 years
    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post.
  • eccstartup
    eccstartup over 8 years
    @jasonwryan Although you don't think it is an answer, it is the solution to the problem.