kreatv-option-dhcpconfig

This IIP configures the KreaTV Application Platform's DHCP client. Including this IIP in the boo-image configuration file is not necessary unless you want to specify any of the parameters in this IIP. The IIP may be configured so that an 'extra' script is executed upon dhcp client state change. The extra script will receive the dhcp client state as the first parameter. Possible states are:

StateComment
deconfigThe device has been deconfigured.
prerenewThe T1 timer has expired, but no renew request has been sent yet. The request will continue once the extra script has finished executing.
postrenewThe renew request has completed.
boundAn ip address has been obtained.
nakA DHCP NAK message has been received.

Caution must be taken when crafting the extra script, since it will execute with root priviliges.

Example usage:

kreatv-platform-dhcpclient:extrascript=<path-to-script>

Scripts must be executable and should begin with #!/bin/sh. Example:

#!/bin/sh
echo 'State: $1'

Parameters

NameRepeatDescriptionExample
extrascript A path to a script which shall be executed at dhcp client state changes.
init-reboot The DHCP starts in the INIT-REBOOT state assuming firmware has already aquired an IP-address. changes.
process-zero-source-packet Enable processing of packets with a zero source IP-address. This option might be needed in networks where DHCP relay agents remove the DHCP server IP-address from ACK messages. The option is disabled by default, since it makes DoS attacks easier.

Details

Version4.3.IAP30.3
Content version-
BranchSTABLE_iap_digitalis_3
Date20120112
Time035013
ArchitectureAll
Rootdisk dependencieskreatv-platform
Execution dependencieskreatv-platform
Finalize dependencies-
Installation scriptsbuildtime
Uninstallation scripts-
Sanity checktrue