Skip to content

A simple script in python that allows to periodically interrogate a router (TP Link TD-W8970) about Internet connection status

License

Notifications You must be signed in to change notification settings

antpas14/routerStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

routerStats

A simple script in python that allows to interrogate a router (TP Link TD-W8970) about Internet connection status

Tested with python 2.7.10

Usage:

  • Copy the template file default.cfg and edit it with credentials and ip address of your router
  • Call the script with the command: ./router_stats.py -f

The results are written (for now!) in a file called connection.txt in the same directory of the script This file includes:

To call it periodically (every five minutes) just add an entry in your cronjob file like this: */5 * * * * /home/myhome/routerStats/router_stats.py -f /home/myhome/routerStats/my_config.cfg

About

A simple script in python that allows to periodically interrogate a router (TP Link TD-W8970) about Internet connection status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages