Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a dhcp server that is locked down so that only known hosts can obtain an IP address. I need to be able to (remotely through a script) add and remove hosts on the server with minimal impact.
I could just rebuild the host declarations in the dhcpd.conf file, upload the modified version over ftp and restart the dhcpd daemon, but I feel that leaves an awful lot of room for error (file corruption). Instead I've been looking at OMAPI which lets me add, delete and modify leases and hosts on the server without shutting it down. When I create a new host, the host declaration is written to the dhcpd.leases file (not the .conf file). This works very well....until the server restarts, at which point all the host declarations in the leases file are wiped.
Now I don't anticipate the server going down all that often, but this is a provisioning server for a network of cable modems. If the network loses power at 1 am, I need it to pop back up and resume normal operation without me having to resend the host list to the server.
Does anyone know of a way to prevent the service from deleting those declarations when it rotates the lease file? Is there a setting somewhere that I'm missing or do I need to investigate another option?