Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
'''{{MessageBox|backgroundcolor = #FBB|image =Warning.png|heading =WARNING: |message = This page should only be attempted by advanced users. It also needs some more proper documentation and it's for advanced users'''.}}
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 following settings can be set in customized in by creating <code>/etc/hdactl.conf</code>
* DEVICE: set it to eth1 to make services attach to eth1 (default: eth0)
* 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)
 
The syntax for <code>/etc/hdactl.conf</code> is a sequence of lines with
 
$VARIABLE="value";
 
For example, to change the dynamic IP range:
 
$DYN_LO="110";
$DYN_HI="200";
 
After settings are changed, the service has to be stopped completely and started:
 
service hdactl stop
service hdactl start
 
for the setting to be picked up. Merely restarting or reloading the service will not do it.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits