wifi watchdog n [t] [p] [target] [target2] [target3]

Enable/disable wifi watchdog.
This feature is used to ensure wifi connectivity. If the watchdog is enabled and the threshold time has expired, wifi is restarted in attempt to re-establish connectivity. The threshold time expires when wifi connectivity becomes disconnected.

The ping/target test pings up to 3 targets (servers) to validate wifi connectivity. Care must be taken to ensure the pings are sent across the correct network interface. The ping test is a reliable method to ensure connectivity status but is not required by the watchdog.

If no ping targets are defined the system performs an internal test to determine wifi connectivity.

A target can be cleared by entering either "0" or "0.0.0.0". Initially, all targets are not set to anything (NULL string). Once they have been defined, they can be cleared but will display "0" or "0.0.0.0" The wifi gateway can be pinged by specifying any of the 3 targets as "gw".

n=0 disable watchdog
n=1enable watchdog
t=31 to 65535 Watchdog threshold time in seconds (Default 120)
p = 0 to 16 number of pings per test (default = 10). If p = 0, no pings will be sent and network RX/TX traffic
target ping target : IP address or URL (default = none)
target2 additional ping target : IP address or URL (default = none)
target3 additional ping target : IP address or URL (default = none)

Examples:

  1. Enable wifi watchdog with a 5 minute threshold :
    cmd wifi watchdog 1 300
  1. Set wifi watchdog with a 5 minute threshold and ping 3 targets 10x each but do not enable:
    cmd wifi watchdog 0 300 10 1.2.3.4 5.6.7.8 a.b.c.d
  1. Enable the above watchdog:
    cmd wifi watchdog 1
  1. Ping the gateway:
    cmd wifi watchdog 1 31 2 gw
  1. Remove the all targets:
    cmd wifi watchdog 1 31 2 0 0 0

See also: Wi-Fi Networks

Last modified 4 years ago Last modified on 15-09-02 03:41:31 PM