Using DHCP¶
Setting up DHCP-server.¶
In case of using dhcp3-server, it is necessary to add the following lines to /etc/dhcp3/dhcpd.conf:
option space WRT;
option WRT.homepage code 1 = text;
option WRT.timezone code 2 = text;
option WRT.uconf_address code 3 = ip-address;
option WRT.uconf_port code 4 = integer 16;
class "WRT" {
match if (option vendor-class-identifier="WR200");
vendor-option-space WRT;
option WRT.timezone "Asia/Yekaterinburg";
option WRT.homepage "http://10.197.195.24:80/portal-ng/";
option WRT.uconf_address 239.98.3.8;
option WRT.uconf_port 1301;
}
Variables has the following values:
- WRT.timezone - Time zone
- WRT.homepage - The URL of start page of STB
- WRT.uconf_address - UDP address for getting update settings
- WRT.uconf_port - UDP port for getting update settings