Custom DHCP Entries

diablo581
Posts: 6
Joined: Tue Dec 07, 2010 7:48 pm

Custom DHCP Entries

Postby diablo581 » Tue Dec 07, 2010 7:53 pm

I have Mythtv setup on my Amahi box and I run Minimyth on all my frontends. Minimyth is a netboot setup that runs off of DHCP and PXE. I have added the static IP entry via the web interface, but I am worried that Amahi is going to wipe out my custom entries in my dhcpd.conf the next time it wants to.

Is there any way that I make sure they are permanent? A .custom file or some other interface to add the entries?

I need to add lines to the top level as well as things to the actual entry for the device.

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Custom DHCP Entries

Postby rgmhtt » Tue Dec 07, 2010 9:24 pm

Create your .custom file.

Edit /usr/bin/hdactl to add the .custom include line in the dhcp.conf file.

You are now good until the next hda rpm push. And then it is just a one line change.

Then put in a feature request.

diablo581
Posts: 6
Joined: Tue Dec 07, 2010 7:48 pm

Re: Custom DHCP Entries

Postby diablo581 » Wed Dec 08, 2010 10:04 am

Ok this is the first I have ever looked at the hdactl file. Any hints on where/what the line would be?

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Custom DHCP Entries

Postby rgmhtt » Wed Dec 08, 2010 10:07 am

look in

sub print_dhcp_conf :)

Who is online

Users browsing this forum: No registered users and 13 guests