Skip to content
generated from pforret/bashew

test network: interfaces, gateway, router, internet (bash script)

License

Notifications You must be signed in to change notification settings

pforret/netcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GH Language GH stars GH tag GH License basher install

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

© 2020 Peter Forret