© Niagara Video Corporation 2016
Using /sys/boot
The /sys/boot variable allows the TECH3 unit to automatically set variables at startup, allowing you to
preserve settings across power outages or simply set the power on defaults.
The syntax for the /sys/boot consists of multiple lines of text; a variable name followed by a single space
and then the value: (there should not be any space before the variable name)
<variable1> <value of variable1>
<variable2> <value of variable2>
...
<variableN> <value of variableN>
Example (save as boot.txt):
/tuner0/channelmap us-cable
/tuner0/channel 103
/tuner0/program 4
To store the configuration to the device:
Format: hdhomerun_config <id> set /sys/boot - < filename
Example: hdhomerun_config FFFFFFFF set /sys/boot - < boot.txt
Changes will be applied the next boot; to execute the new /sys/boot immediately:
Format: hdhomerun_config <id> execute
Example: hdhomerun_config FFFFFFFF execute
Static IP assignment
A static IP address can be configured using the following command (the quotes are required as shown):
Format: hdhomerun_config <old ip> set /sys/ipaddr "<new ip> <subnet> <gateway>"
Example: hdhomerun_config 169.254.34.98 set /sys/ipaddr "10.10.20.43 255.255.255.0 10.10.20.1"
Note: The TECH requires a gateway when used to stream multicast, even if on the same subnet.
Reverting to DHCP
The TECH3 can be configured for DHCP operation (default) using the following command:
Format: hdhomerun_config <old ip> set /sys/ipaddr dhcp
Example: hdhomerun_config 169.254.34.98 set /sys/ipaddr dhcp