npm.io
1.0.0-beta.4 • Published 8 years agoCLI

ppprobe

Licence
MIT
Version
1.0.0-beta.4
Deps
4
Vulns
2
Weekly
0
Stars
2

ppprobe

(Formerly connection-prober)

Drops and reconnects router's PPP connection until certain conditions are met (packet loss and ping time)

Requirements

Node.js v8+

Installation

npm install -g ppprobe

Usage

ppprobe [router access] [formula]
  • [router access] defaults to telnet://admin:admin@192.168.1.1
  • [formula] defaults to (ping + loss * 10) < 150
SSH Example (with a different formula)
ROUTER_PK=~/.ssh/router/id_rsa ppprobe ssh://admin@192.168.1.1:22 '(ping < 120) and (loss < 2)'
Telnet Example
ppprobe telnet://admin:admin@192.168.1.1