[SOLVED] dhcpd doesn't run on boot

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[SOLVED] dhcpd doesn't run on boot

Postby morphete » Sun Sep 21, 2014 12:42 am

Hi, i've a problem after install and configuring the dhcp server in my raspi.

I installed the dhcpd following the arch wiki: https://wiki.archlinux.org/index.php/Dhcpd

When i start the service typping
$this->bbcode_second_pass_code('', 'systemctl start dhcpd4@eth0.service')
the dhcpd server runs correctly. Then i enable the service on boot
$this->bbcode_second_pass_code('', 'systemctl enable dhcpd4@eth0.service')
no errors produced. However, when i reboot the dhcpd doesn't run. It's necessary the manually start. If I type:
$this->bbcode_second_pass_code('', 'systemctl is-enabled dhcpd4@eth0.service')
The response is "enabled"

Can anyone help me? Very thanks
Last edited by morphete on Sun Sep 21, 2014 3:37 pm, edited 1 time in total.
morphete
 
Posts: 2
Joined: Sun Sep 21, 2014 12:31 am

Re: dhcpd doesn't run on boot

Postby pepedog » Sun Sep 21, 2014 9:47 am

Did you disable all the prior network start stuff?
systemctl disable netctl-ifplugd@eth0
or
systemctl disable systemd-networkd
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: dhcpd doesn't run on boot

Postby morphete » Sun Sep 21, 2014 3:36 pm

Thank you pepedog, the problem has been solved.

Regards
morphete
 
Posts: 2
Joined: Sun Sep 21, 2014 12:31 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 68 guests