User guide

87
requested by the CPE. Otherwise communication with the internal CPU of the CPE can’t be obtained.
For more information about DHCP options in dhcp3, please refer to: http://pwet.fr/man/linux/formats/
dhcp_options
ToeditDHCPServerSetupfordhcp3,edittheDHCPsetupcongurationle:
sudo kate /etc/dhcp3/dhcpd.conf
# DHCP SECTION: insert the following
default-lease-time <SECONDS>;
# Ex: default-lease-time 600
max-lease-time <SECONDS>;
# Ex: max-lease-time 7200
# --------------FIRMWARE UPGRADE PART -----------------
class “Upgrade Firmware after boot loader upgrade” {
match if option vendor-class-identifier = “DKT_BF_firstboot”;
filename = “dkt_fw_02_01.img”;
}
# DHCP request in U-boot has got an option 43 field with bootloader/U-boot
software version information (ex. the text string “14” for revision 1.4). This
information is available from boot loader revision 2_00 and forward
---# --------------- END OF UPGRADE -------------------
# The following is needed in order for the CPE to download the configuration.
Remember to place this configuration file in TFTPBOOT directory. Remember to
assign correct eth interface, subnet/mask, IP address range, TFTP-server name
and bootfile-name below
subnet <Subnet> netmask <Subnet mask> #
Ex: subnet 192.168.1.0 netmask 255.255.255.0
{
interface <Ethernet Interface>;
# Ex. interface eth0
range <Min IP Address> <Max IP Address>;
# Ex: range 192.168.1.10 192.168.1.30
option tftp-server-name “<TFTP Server IP Address>”;
# Ex: option tftp-server-name “192.168.1.1”
option bootfile-name “<Configuration_File_Name”;
# Ex: option bootfile-name “cpe_settings.txt”
option broadcast-address <Broadcast IP Address>;
# Ex: option broadcast-address 192.168.1.255
option routers <Router IP Address>;
# Ex: option routers 192.168.1.1
server-name “<Server IP Address Name>”;
# Ex: server-name “192.168.1.1”
option next-server <Server IP Address Name>;
# Ex: next-server 192.168.1.1
option subnet-mask <Subnet Mask>;
# Ex: option subnet-mask 255.255.255.0
}
To restart DHCP Server
Anychangeinthedchpcongurationimpliesaserverreset.FortheDHCPserverusedforthispurpose
the following instruction is necessary:
sudo /etc/init.d/dhcp3-server restart