
Installing the VoIP Intercom
Intercom Setup
Operations Guide
930242A-D
CyberData Corporation
60
To set up a Linux DHCPD server to serve autoprovisioning information (in this case using both
option 66 and 150), here's an example dhcpd.conf:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
ddns-update-style ad-hoc;
option option-150 code 150 = ip-address;
subnet 10.0.0.0 netmask 255.0.0.0 {
max-lease-time 120;
default-lease-time 120;
option routers 10.0.0.1;
option subnet-mask 255.0.0.0;
option domain-name "voiplab";
option domain-name-servers 10.0.0.1;
option time-offset -8; # Pacific Standard Time
option tftp-server-name "10.0.0.254";
option option-150 10.0.0.254;
range 10.10.0.1 10.10.2.1;}
Autoprovisioning
Server (IP Address)
Instead of using DHCP to provide the autoprovisioning tftp server address, you can specify an
address manually.
Autoprovisioning
Autoupdate
When the device is set to autoprovision either after a period of time, or when idle, or at a time of day,
the device will do the following:
•
Re-download the autoprovisioning file.
•
Compare this new file to the one downloaded on boot, and if it finds differences, force a system
reset.
•
After rebooting, the board will configure itself according to this new file.
Autoprovisioned
Firmware Upgrades
An Autoprovisioned firmware upgrade only happens after a reboot, will take roughly three minutes,
and the web page will be unresponsive during this time.
The '
FirmwareVersion'
value in the xml file
must
match the version stored in the '
FirmwareFile
'.
<FirmwareVersion>v6.5.1</FirmwareVersion>
<FirmwareFile>651-intercom-uImage</FirmwareFile>
If these values are mismatched, the board can get stuck in a loop where it goes through the following
sequence of actions:
1. The board downloads and writes a new firmware file.
2. After the next reboot, the board recognizes that the firmware version does not match.
3. The board downloads and writes the firmware file again.