
On Sun, Sep 20, 2015 at 01:08:36AM +0000, James Harper wrote:
I have isc-dhcp-server running on my router, and it currently supplies info needed for booting diskless devices (mythtv boxes, etc).
The actual booting takes place on my server though, and I want the server to supply the dhcp options rather than the router, but still want the router to supply the address etc.
i have no idea how to do what you want but i'm wondering why you want to do that. you are running a perfectly capable dhcp server on your router, so why not just write your script to generate the complete config file and push it to the router with scp or whatever? in my experience, two "unsynchronised" dhcp servers on a network just causes trouble. weird, seemingly random, difficult to trouble-shoot trouble. craig ps: remember to restart the router's dhcpd (e.g. with ssh) after updating the config. isc-dhcp-server doesn't automatically notice its config has changed, nor does it interpret a HUP signal to mean reload conf. pps: if you can't use ssh or scp, you could use possibly use curl or wget to update the dhcpd config via the router's web interface. -- craig sanders <cas@taz.net.au>