Skip to content

🔩 A simple CLI tool to release and renew the DHCP lease on a DLink router.

License

Notifications You must be signed in to change notification settings

gldraphael/dlink-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unofficial Dlink Tool

Use the tool as:

$ dlink <status|release|renew|refresh|ip>

Installation (for *nix systems)

Dependencies: dotnet SDK 2.0

WARNING: Before installation, make sure you don't have a program called dlink already installed. Also ensure that /opt/dlink doesn't exist. If it does, either modify the install script to change the paths or use the tool without installing.

# Clone the repository
git clone https://github.com/gldraphael/dlink-cli.git --depth 1
cd dlink-cli
# Run the install script as root
sudo ./install.sh

You may uninstall the cli by running sudo ./uninstall.sh instead.

Running without installation

It is recommended to install the program and then use it. However if you're not on *nix systems or just don't want to install it you may run the run.sh script instead.

You'll need to restore and build the program only once after every time you update the source using:

$ dotnet restore
$ dotnet build

Updating installation

To update the installed CLI to the latest version, pull the latest source and run the ./install.sh script again.

About

🔩 A simple CLI tool to release and renew the DHCP lease on a DLink router.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published