1

I have two dhcp directories in /etc: /etc/dhcp and /etc/dhcp3 Which one is the correct direcotry for editing my dhcp client configuration?

I want to send the hostname with dhcp and so was trying to set the correct hostname in the dhclient.conf. But this file only exists in /etc/dhcp but not in /etc/dhcp3.

Georg Leber
  • 135
  • 1
  • 5

1 Answers1

1

Find out which packages own (are responsible for the creation of) each directory: dpkg -S /etc/dhcp;dpkg -S /etc/dhcp3. I would guess that, if the /etc/dhcp3/dhclient.conf file does not exist, you cannot edit it. Edit the one you have.

waltinator
  • 36,399