You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can configure its behavior using a file in
"~/printer_data/config/sonar.conf". But you don't have to. Defaults are
hardcoded and Sonar will run without any configuration.
Hint: The Sonar's configuration file syntax is based on TOML
other than in TOML colons are also valid (and prettier). Therefore, a leading
section descriptor is crucial!
[sonar]
Options
enable: true
If set to "false" service will exit on startup, use this option to disable Sonar
service. It will restart on reboot but exiting as long you don't change it to
"carview.php?tsp=true".
debug_log: false
If set to "carview.php?tsp=true" service will log every attempt to reach its target.
NOTE: That will highly increase log size, this is intended for debugging
purposes only.
persistent_log: false
This option allows you to store a persistent log file "/var/log/sonar.log".
Otherwise, it will be only readable by journalctl -u sonar and it's not
persistent!
target: auto
Your target defines which of your network devices should be the target of used
ping command. You can use either IP Address or a URL. auto will ping your
default gateway (router).
INFO: Avoid using prefixes like https:// or https://
count: 3
Number of ping attempts.
interval: 60
Sets interval in seconds, how long it should wait for next connection check.
restart_threshold: 10
Delay in seconds before attempting to restart the WiFi connection after a
connection loss.
That's it. It isn't the best method to keep your WiFi up and running, but it is
the easiest solution without changing firmware files or similar.
I hope you will find sonar useful, and it blows away your connection lost :)