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:
State | Comment |
---|---|
deconfig | The device has been deconfigured. |
prerenew | The T1 timer has expired, but no renew request has been sent yet. The request will continue once the extra script has finished executing. |
postrenew | The renew request has completed. |
bound | An ip address has been obtained. |
nak | A 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'
Name | Repeat | Description | Example |
---|---|---|---|
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. |
Version | 4.3.IAP30.3 |
---|---|
Content version | - |
Branch | STABLE_iap_digitalis_3 |
Date | 20120112 |
Time | 035013 |
Architecture | All |
Rootdisk dependencies | kreatv-platform |
Execution dependencies | kreatv-platform |
Finalize dependencies | - |
Installation scripts | buildtime |
Uninstallation scripts | - |
Sanity check | true |