[mythtv-users] Diskless DHCPd
Mitch Gore
mitchell.gore at gmail.com
Fri Oct 31 17:17:20 UTC 2008
Hi,
I have a diskless frontend that is working 100%
I decided today to move my DHCP server to my Backup/Server off my DD-WRT
linksys router.
here is my dhcpd.conf file I wrote:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.199;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.0.1;
option ip-forwarding off;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option ntp-servers 192.168.0.1;
option domain-name-servers 192.168.0.1;
#static leases
host mythfe {
hardware ethernet 00:13:D4:77:B9:61;
fixed-address 192.168.0.203;
}
host maincomp {
hardware ethernet 00:0C:76:5B:B9:E1;
fixed-address 192.168.0.200;
}
#diskless boot config
allow booting;
allow bootp;
class "pxeclients" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 192.168.0.202;
filename "linux-install/pxelinux.0";
}
}
Now for DHCP this works great, the diskless box gets 203. BUT when mythfe
starts it doesn't have the right hostname (defaults to localhost).
Therefore I lost all my settings in Mythfrontend.
So, how do i set the hostname to 'mythfe' when the box graps an IP.
Thanks,
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081031/2f3af712/attachment.htm
More information about the mythtv-users
mailing list