Tplink Cli
Ruby cli tool for tplink dsl modem.
Total alpha + WIP - tested on: 0.6.0 2.10 TD-W8970B
Most useful for traffic statistics for individual hosts.
gem install tplink-cli
Commands
Create config file and open in $EDITOR
tplink-cli config
Show DSL connection infos
tplink-cli status
Show traffic consumption of all connected hosts (traffic control need to be activated in Router menu (statistics))
tplink-cli traffic
Resolve hostnames of connected mac-addresses (saves to config file, so traffic command will display that hostnames for the next commands)
tplink-cli hosts
All commands use & modify ~/.tplinkcli
. change the url / password of your router.
You can also add :name: "..."
attributes to hosts, if you want to overwrite the host_name
in traffic view