Skip to content

Instantly share code, notes, and snippets.

@andygock
Created September 10, 2013 15:17
Show Gist options
  • Save andygock/6510935 to your computer and use it in GitHub Desktop.
Save andygock/6510935 to your computer and use it in GitHub Desktop.
Rip ADSL statistics from D-Link ADSL router DSL-2870B with firmware 2.00.01 ## Example of usage $ python dlink_stats.py Logging in... Getting device info... DSL is connected! Getting stats... DSL Statistics: up_attaintable_rate 388000 down_attaintable_rate 8004000 down_data_rate 6214000 up_data_rate 350000
@andygock
Copy link
Author

Script is a bit useless, it's much better to use netcat or a shell script to communicate via telnet interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment