This project provides a simple solution for remotely rebooting a TP-Link AX6000 router using Selenium and Docker. The project includes a Dockerfile
, docker-compose.yml
, and a Python script for rebooting the router.
Before using this project, ensure that you have Docker and Docker Compose installed on your machine.
-
Clone this repository:
git clone https://github.com/navarro165/tp-link-AX6000-router-reboot.git
-
Navigate to the project directory:
cd tp-link-AX6000-router-reboot
-
Open the
Dockerfile
and set the following environment variables with your router's information:ENV ROUTER_REBOOT_IP=your-routers-ip ENV ROUTER_REBOOT_USERNAME=your-username ENV ROUTER_REBOOT_PASSWORD=your-password
-
Save the changes to the
Dockerfile
. -
Run the following commands to build and start the Docker containers:
chmod +x reboot.sh ./reboot.sh
Make sure to add the required environment variables (ROUTER_REBOOT_IP
, ROUTER_REBOOT_USERNAME
, and ROUTER_REBOOT_PASSWORD
) to the Dockerfile
before running the containers. Failure to do so will result in errors during execution.
- SeleniumHQ Docker Selenium - Quick Start
- Docker Python Official Image
Feel free to contribute to and enhance this project. Happy rebooting!