1.0.0-beta.4 • Published 6 years ago

ppprobe v1.0.0-beta.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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