DHCP

Now that I have a DNS server that can be easily redirected, I needed a DHCP client that could easily redirect it. I had been using pump, but there didn’t seem to be an easy way to make it write the resolver data to somewhere other than /etc/resolv.conf. I knew that dhcpcd would be able to do it, but it always seemed to be over-complex, and I think it relies on netlink devices.

I tried udhcpc and I was pleased. It has a clear division between DHCPing and configuring the network: it will DHCP then simple sends all the information it received to a seperate configuration script. I can replace this script with anything I want, so I can do all my strange configuration. I liked this so much that I have decided to move all my non-DHCP configuration to a compatible format.

Published
Categorized as Uncategorized Tagged