63
APPENDIX A
DHCP readme
The advanced DHCP server setup for automatically upgrading Firmware and configuration
file is described below.
WLAN VoIP Residential Gateway Auto-Provisioning Function
The WLAN VoIP Residential Gateway supports the DHCP option 60 to work as a DHCP
client. The system includes ISC DHCP server, FTP file server, and the WLAN VoIP
Residential Gateway.
DHCP server includes the following vendor-specific options (by 43) to respond to the
Wireless Gateway.
1. Option 43: Protocol (0: TFTP or 1: FTP)
2. Option 43: IP (TFTP or FTP server)
3. Option 43: User (Server login name)
4. Option 43: Password (Server login password)
5. Option 43: Filename (Firmware image)
6. Option 43: MD5 Code (Firmware image MD5 code)
7. Option 43: Filename (Configuration image)
8. Option 43: MD5 Code (Configuration image MD5 code)
9. Option 43: 16 Bits Option (Bit 0: Urgency and Bit 1~15: Reserved)
File server includes the following items:
1. Firmware image
2. Configuration image
3. User account for the WLAN VoIP Residential Gateway
With auto-provisioning function, the WLAN VoIP Residential Gateway is setting-free which
means that it will automatically upgrade Firmware and download configuration file. Its
upgrading procedure is as follows:
1. Add the content of dhcpd.txt into dhcpd.conf. Then the ISC DHCP server will
recognize the WLAN VoIP Residential Gateway whenever it sends an IP address
request to the server. When ISC DHCP server receives the request, it will tell the
WLAN VoIP Residential Gateway how to get a new Firmware or configuration.
2. The WLAN VoIP Residential Gateway will compare the Firmware and configuration
MD5 code form of DHCP option every time when it communicates with DHCP server.
3. If MD5 code is different, the WLAN VoIP Residential Gateway will still upgrade the
Firmware or configuration. However, it will not be activated right after.
4. If the Urgency bit is set, the WLAN VoIP Residential Gateway will be reset to activate
the new Firmware or configuration immediately.
5. The WLAN VoIP Residential Gateway will retry for three times if the file is incorrect,
then it gives up until getting another DHCP ACK packet again.