Skip to content

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

License

Notifications You must be signed in to change notification settings

etabits/ppprobe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published