
Reboot interval overrides all reboot requests.Skip reboot overrides all reboot requests.Reboot settings: request reboot on any number of failed checks.Connection settings (preferred band, eNB ID, etc.).Ping settings (target host/interface, number of pings, interval).Command line options have the highest precedence and override both default settings and environment settingsĮnvironment settings are meant to be declarative.Environment settings-whether in the shell environment or a.Default settings have the lowest precendence.When a user knows that the reboot is needed they might specify -reboot for an immediate reboot. When messing with the settings, a user might want to specify -skip-reboot. env file to reboot on 5G band and wifi check. Interactive command-line options are meant to be used as overrides to defaults or environment settings.Ī common usage pattern would be to configure the script using a. The script is normally run in batch mode, such as scheduled through a cron job. Write connection details to logfile on change of any configuration setting or long ping time. Defaults to tmo-monitor.logĪlways write connection details to logfile. is a helpful resource for finding eNB ID values for nearby cell sites. Specify the desired cell site you expect the gateway to be connected to. Repeat the flag to allow multiple acceptable bands. Case-sensitive.ĭefaults to n41 - Specify a 5G band you expect the gateway to be connected to. Specify a 4G band you expect the gateway to be connected to. Setting is used to avoid boot looping, but is not respected when the -reboot flag is used. Intended to allow sufficient time to establish a connection and stabilize band selection. Skip health checks and immediately reboot gateway.ĭefaults to 90 seconds - Specify a required uptime for an implicit reboot to occur. Will reboot if all fail.ĭefaults to 10 seconds - override if you'd like to use a different interval. Short-circuits if a successful ping is encountered. Must specify a host if flag is provided - you can simply omit the flag if you'd like to use the default ping check.ĭefaults to 1 - override if you'd like to perform multiple ping checks before rebooting. On Windows, pass the source IP address to use.ĭefaults to - override if you'd like to ping an alternate host to determine internet connectivity. Useful if T-Mobile Home Internet is not your default network interface: e.g., this is running on a dual WAN router. log-delta write connection details to logfile on changeĬan be used to specify the network interface used by the ping command. log-all always write connection details to logfile print-config output configuration settings enbid ENBID check for a connection to a given eNB ID The 5g band(s) to check (defaults to n41)
