Installation manual
Cyclades-TS
54
Appendix A - Linux
Installation Manual
To activate the DHCP client on the Ethernet Interface, set the global parameter conf.dhcp_client to 1. All other
parameters related to the Ethernet Interface (conf.eth_ip, etc.) should be commented. If the IP addresses of
the Cyclades-TS or the default gateway are changed, the Cyclades-TS will adjust its routing table accordingly.
To inactivate the DHCP client, set the parameter conf.dhcp_client to 0. Do not forget to uncomment the Ethernet
parameters mentioned in the previous paragraph.
Two files are related to DHCP:
/bin/Handle_dhcp - the script which is run by the DHCP client each time an IP address negotiation takes place.
/etc/network/dhcpcd_cmd - command which activates the DHCP client (used by the cy_ras program). Its
factory set contents are:
/sbin/dhcpcd -c /sbin/handle_dhcp
The dhcpcd command has other options which can be used on the command line. They are:
-D This option forces dhcpcd to set the domain name of the host to the domain name parameter sent by the
DHCP server. The default option is to NOT set the domain name of the host to the domain name parameter
sent by the DHCP server.
-H This option forces dhcpcd to set the host name of the host to the hostname parameter sent by the DHCP
server. The default option is to NOT set the host name of the host to the hostname parameter sent by the DHCP
server.
-R This option prevents dhcpcd from replacing the existing /etc/resolv.conf file.
The user should not modify the -c /sbin/handle_dhcp option.
Packet Filtering using ipchains
(Note: This feature is only available for firmware versions 1.2.x and above)