Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: albatroz on August 13, 2007, 05:24:23 PM
-
Does anybody if it is possible to enable and configure the DHCP server included in SME Server from the command line? So reboot is not required?
-
there used to be a contrib called dhcp manager that did just that, not sure if it is maintained for version 7.....
-
Does anybody if it is possible to enable and configure the DHCP server included in SME Server from the command line? So reboot is not required?
Yes, but it depends on what you want to configure.
smeserver stores many of it's parameters in flat file databases that are used from within templates to generate/regenerate the various application configuration files (in this case /etc/dhcpd.conf). If what you want to change is in one of those datbases you can change the db setting, expand the template and restart the service (or use an event to do this if it exists).
From DB Variables Configuration (http://wiki.contribs.org/DB_Variables_Configuration#DHCP_daemon_.28dhcpd.29) in the wiki... db configuration setprop dhcpd bootp allow
signal-event remoteaccess-update
To learn more about the templating system used in smeserver, please read the Developers Guide (http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual) (especially the SME Server Internals section)
Trevor B