Difference between revisions of "Network customizations"
From Amahi Wiki
Line 7: | Line 7: | ||
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. | 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 | + | The following settings can be set in customized in <code>/etc/hdactl.conf</code> |
* DEVICE: set it to eth1 to make services attach to eth1 (default: eth0) | * DEVICE: set it to eth1 to make services attach to eth1 (default: eth0) |
Revision as of 19:38, 21 July 2012
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 following 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.