Talk:Dhcpd

From ArchWiki
Jump to: navigation, search

service change

Thanks for this article. I have found that the service file needs `Requires` instead of `Wants`. Rizsotto (talk) 18:38, 2 July 2015 (UTC)

Use for PXE

It would be great if there was a little more on using dhcpd with a tftp server to enable pxe network installs. I realise there's a link here to the Arch Wiki PXE page, but that page only talks about dnsmasq, not dhcpd+tftpd. pxeboot installs are in fact the only area I've ever found otherwise superb Arch documentation to be lacking. Even some sort of cross-correlation between how it's done with dnsmasq and equivalent procedures with dhcp/tftp would be helpful, if that's possible. --Bananabrain (talk) 00:02, 7 August 2015 (UTC)

"pid" files for services

"Service file." If we are going to run separate instances for network interfaces, we should use different "pid" files for them, is not it? So the service file should contain the following.

/etc/systemd/system/dhcpd4@.service
[Service]
PIDFile=/run/dhcpd4-%I.pid
ExecStart=/usr/bin/dhcpd -4 -q -cf /etc/dhcpd.conf -pf /run/dhcpd4-%I.pid %I

--Beroal (talk) 06:52, 8 November 2016 (UTC)