Skip to content

00mjk/croutera

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Croutera PyPI version Build Status

Simple Cli Router Admin (CRouterA).

The missing CLI for common Routers actions like login, restart , list clientes, log, etc.

Motivation

Almost all of tools I am used to use have a CLI to handle their functionality but my WiFi router haven't. Croutera comes to supply this missing CLI for this kind of WiFi routers/modems.

Installing

pip install croutera

From Source

Clone this repo and inside this folder do:

make setup && make install

Using

croutera -h

Commands

The current commands

Show models available

croutera -list-models

Restart

croutera -restart [model] [username] [password]

Show Wifi Password

croutera -wifi-pass [model] [username] [password]

You can set this params in Environment Variables:

ROUTER_MODEL=dlink-dir610
ROUTER_IP=10.0.0.1
ROUTER_USERNAME=admin
ROUTER_PASSWORD=admin

Contributing

  • Suggesting new routers to be added.
  • Adding new routers. See Routers to get the router interface you should implement.
  • Creating issues/requests/bug fixes
  • Adding Unit Tests
  • Using! And sending feedback.

Code Contribute

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

Pull Request should have unit tests

How to test my Implementation?

See the online simulators available. Simulators

Routers available:

MIT License

About

Simple Cli Router Admin. To handle common Routers/Modems actions like login, restart, log in terminal.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.2%
  • Makefile 1.8%