Difference between revisions of "Turning off DHCP"

From Amahi Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
Here are the [http://www.amahi.org/faq#is-dhcp-server-required DHCP tradeoffs] if you would like to only use some of the functionality.</div>
 
Here are the [http://www.amahi.org/faq#is-dhcp-server-required DHCP tradeoffs] if you would like to only use some of the functionality.</div>
  
 +
= Amahi 7 or greater (Fedora) =
  
'''NOTE:''' For Ubuntu, there is a [http://bugs.amahi.org/issues/932 dhcp bug]. To work around it, it must be done manually via the /etc/init/isc-dhcp-server.conf file.
+
* Verify [[Advanced_Settings|Advanced Settings]] is enabled ( Setup > Settings and check the box labeled Advanced Settings )
 +
* Select '''Network''' tab, then '''Settings'''.
 +
* Uncheck '''DHCP Server''' check box.
  
Otherwise, the DHCP server in the HDA can be stopped by doing this:
+
= Amahi 6 (Ubuntu 12.04.x) =
  
* First turn on Advanced Settings, under Setup --> Settings
+
'''NOTE:''' See [http://bugs.amahi.org/issues/932 DHCP Server bug #932]. There is a work around included in the report.
* Then go to the Settings --> Servers
 
* Once there, find the DHCP Server and unselect both "Watchdog. DHCP Server is being monitored 24x7" and "Start at Boot time"
 
* Then stop it. It will be stopped forever
 
  
'''NOTE:'''  If this does not permanently stop it in Fedora, you can also rename the init script (dhcpd) as a work around.  On boot it cannot find it to execute, but you will see an error in the boot log.
+
The DHCP server in the HDA can be stopped by doing this:
  
In short, a few of the nicer features of your HDA will not be available. You can still point your machines to the DNS server in the HDA and get some of the benefits, like nice URLs for your HDA-provided services. This is not a supported configuration for things like [[Netboot]].
+
* Verify [[Advanced_Settings|Advanced Settings]] is enabled.
 +
* Then go to the Settings --> Servers
 +
* Once there, find the DHCP Server and unselect:
 +
** Watchdog
 +
** Start at boot time
 +
* Then stop it.

Latest revision as of 01:03, 25 March 2016

Note that a few of the benefits of your HDA, such as short names, etc. will not work if you disable DHCP on your server.


Here are the DHCP tradeoffs if you would like to only use some of the functionality.

Amahi 7 or greater (Fedora)

  • Verify Advanced Settings is enabled ( Setup > Settings and check the box labeled Advanced Settings )
  • Select Network tab, then Settings.
  • Uncheck DHCP Server check box.

Amahi 6 (Ubuntu 12.04.x)

NOTE: See DHCP Server bug #932. There is a work around included in the report.

The DHCP server in the HDA can be stopped by doing this:

  • Verify Advanced Settings is enabled.
  • Then go to the Settings --> Servers
  • Once there, find the DHCP Server and unselect:
    • Watchdog
    • Start at boot time
  • Then stop it.