Difference between revisions of "Network customizations"

From Amahi Wiki
Jump to: navigation, search
Line 20: Line 20:
 
   service hdactl start
 
   service hdactl start
  
for the setting to be picked up.
+
for the setting to be picked up. Merely restarting or reloading the service will not do it.

Revision as of 18:44, 21 July 2012

Warning.png WARNING
This should only be attempted by advanced users. It also needs more proper documentation.


Amahi has a daemon that helps configure the network settings. It's called hdactl.

This network daemon can de customized by advanced users. Configuring things improperly can yield an invalid configuration and a broken DNS, DHCP or network subsystem.

The followind settings can be set in customized in /etc/hdactl.conf

  • DEVICE: set it to eth1 to make services attach to eth1 (default: eth0)
  • NETMASK_SIZE: number of bits in the netmask (default: 24 ... i.e. 255.255.255.0)
  • NET_START: what's the start of your network, passed into the acl trusted group (defaults to 0)
  • DYN_LO: low end of the dynamically allocated DHCP range (defaults to 100)
  • DYN_HI: high end of the dynamically allocated DHCP range (defaults to 254)

After you change a setting, you must

  service hdactl stop
  service hdactl start

for the setting to be picked up. Merely restarting or reloading the service will not do it.