60
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 4: SYSTEM CONFIGURATION
the DHCP server sends a DHCP OFFER in reply.
The console server uses the information in the DHCP OFFER to
assign itself the supplied IPv4 address.
add a default route.
prepare its DNS resolver.
If the DHCP OFFER also includes an option 43 with sub-option 1, the console server:
reads the contents of sub-option 1 as a white-space delimited list of URLs.
interprets the URLs as locations for configuration files to use as to configure itself.
temporarily stores the URLs for later use.
If the DHCP OFFER also includes an option 43 with sub-option 2, the console server:
reads the contents of sub-option 2 as a white-space delimited list of URLs.
interprets the URLs as locations for firmware images to use to flash the firmware on itself.
temporarily stores the URLs for later use.
If the DHCP OFFER also includes a URL to an NTP server, the console server:
syncronizes its system clock to the referenced NTP server.
see etc/scripts/udhcpc.script for details.
4.7.6 USING UNCONFIGURED CONSOLE SERVER ON FIRST BOOT TO UPDATE FIRMWARE
This process requires three things:
a console server running firmware 3.16.6 or later.
a file containing the current configuration of the console server to be updated available at a working URL that is declared in option
43, sub-option 1 of your DHCP server’s DHCP OFFER.
the firmware image to be applied available at a working URL that is declared in option 43, sub-option 2 of your DHCP server’s DHCP
OFFER.
The working URLs can be offered over ftp, tftp, http, and https. However, for https to work, the console server must be in secure
recovery mode. See Section 4.7.9 for secure recovery mode requirements.
When the console server having its firmware updated is unconfigured and restarted, it:
runs /etc/scripts/backup-url\ loadimage for each URL included in option 43 sub-option 2 of the DHCP OFFER.
On the first URL to return a firmware image, the console server:
runs curl to download the firmware image.
passes the image to netflash as standard input.
netflash then:
checksums and flashes the passed-in image.
reboots the console server.
NOTE: netflash will not reboot the console server unless the image passes the checksum.
Upon rebooting, the console server:
runs etc/config/.init to process the firmware image.