Skip to content

python scripts to control dlink router. Tested on Dlink GO-RT-AC750

License

Notifications You must be signed in to change notification settings

greatramu/dlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

18cc3e6 · Sep 22, 2014

History

7 Commits
Sep 22, 2014
Sep 22, 2014
Sep 22, 2014
Sep 22, 2014

Repository files navigation

dlink

Python scripts to control dlink router. Tested on Dlink GO-RT-AC750

Dependencies
These python packages are required to run this script
  • requests
  • json
  • hmac
dlink_dhcp_release_renew.py
This is a very simple python script created to release and renew the IP address of the router. This work can be further extended to automate basic router tasks. A number of services are available at disposal and can be digged using firefox firebug in router's web management.

The script will first authenticate using the user id and password. Then the events "WAN-1.DHCP.RELEASE" and "WAN-1.DHCP.RENEW" are issued to request for a new IP address.

Authentication is performed using simple post methods. HMAC library is used for generating the hex codes required for password encoding. Requests package is used for the get and post methods.

About

python scripts to control dlink router. Tested on Dlink GO-RT-AC750

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages