Awesome
NetCheck
test network config for problems
Installation
with basher
$ basher install pforret/netcheck
or with git
$ git clone https://github.com/pforret/netcheck.git
$ cd testnetwork
Usage
Program: netcheck 1.0.0 by peter@forret.com
Updated: 2020-10-15 02:00
Usage: netcheck [-h] [-q] [-v] [-f] [-r] [-d <domain>] [-n <ns>] [-p <port>] [-t <tmp_dir>] [-l <log_dir>] <action>
Flags, options and parameters:
-h|--help : [flag] show usage [default: off]
-q|--quiet : [flag] no output [default: off]
-v|--verbose : [flag] output more [default: off]
-f|--force : [flag] do not ask for confirmation (always yes) [default: off]
-r|--rx : [flag] check for tx/rx traffic too [default: off]
-d|--domain <val>: [optn] domain to check for [default: www.google.com]
-n|--ns <val>: [optn] nameserver to use as fallback [default: 8.8.8.8]
-p|--port <val>: [optn] port to check for [default: 80]
-t|--tmp_dir <val>: [optn] folder for temporary files [default: .tmp]
-l|--log_dir <val>: [optn] folder for log files [default: log]
<action> : [parameter] action to perform: check/...
Acknowledgements
- script created with bashew
© 2020 Peter Forret