Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Brian Barber on May 24, 2002, 08:44:36 PM
-
Can I edit /etc/dhcpd.conf directly (i.e. in a text editor) or must I use one the custom templates?
BB
-
The last one (custom templates)
-
OK, I'll bite. How do I do that?
BB
-
Please explain what exactly you want to change --- that will determine which template frag you need to create.
Dan
-
http://www.e-smith.org/custom/
-
I have an HP J2382 EX print server that can only issue BOOTP requests. It doesn't know DHCP, nor can I configure a static IP address. I would like to reserve 192.168.1.10 for it and have it retrieve this address via BOOTP. I know what lines I need to add to /etc/dhcpd.conf for a "regular" distribution; however, doing this with e-smith baffles me.
If anyone can give me some pointers, I would really appreciate it.
Cheers,
BB
-
You don't have to edit dhcpd.conf. Just make a new entry in the hostnames and addresses panel, give the MAC address and the IP address you want to use.
-
Thanks for pointing this out. I now have the hardware reservation configured. I just have to figure out how to enable BOOTP.
Thanks,
BB
PS: I think that I should document this in a HOWTO.
-
I gave my head a good shake and simply edited /etc/e-smith/templates/etc/dhcpd.conf/25DenyBootp.
Originally, 25DenyBootp read:
deny bootp;
Now it reads:
# deny bootp;
I suppose that I could have deleted the text, but I prefer to comment unwanted lines out in case I need to change them back.
Thanks for all your help.
Cheers,
BB
Summary:
To configure DHCPD to respond to BOOTP requests on any version of E-Smith or SME Server (or any Linux/UNIX for that matter), the hardware address of the BOOTP device in question must be listed in /etc/dhcpd.conf and BOOTP must be enabled. With E-Smith/SME Server, BOOTP is disabled by default. To enable it edit /etc/e-smith/templates/etc/dhcpd.conf/25DenyBootp to read:
# deny bootp;
To create a reservation for the device, navigate to Hostnames and Addresses in the Configuration section of the Web-based Server Manager. Click on the link at the top of the page that reads, "Click here to create a new hostname for a local host.", and on the page that follows, enter the hostname, local IP address and the hardware (MAC) address of the BOOTP device. When finished, click on the "Create" button to commit your changes.
I needed to restart my device (an HP J2382 EX print server) to retieve the IP address.