Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

winny-/wifi-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservice to toggle a RouterOS device’s wifi

Start the service

Be sure to set up the environment as mentioned below.

set -a
. .env
docker-compose up -d

.env

Environment variableContents
WIFI_TOGGLE_SSH_USERHOSTyouruser@yourhost.inet
WIFI_TOGGLE_SSH_PRIVKEYbase64 encoded contents of an openssh private key to use for key authentication.
WIFI_TOGGLE_SSH_KNOWN_HOSTSbase64 encoded contents of the known hosts file.

The privkey is used to authenticate the client with the server. The known hosts is needed to validate the remote host is what host the microservice thinks it is.

License

ISC

About

Small silly microservice to toggle wifi on my router

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published