Skip to content

modouwifi/modou-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modou gem

Your modouwifi CLI.

Built based on Modou HTTP API

Work in process.

Build Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'modou'

And then execute:

$ bundle

Or install it yourself as:

$ gem install modou

Usage

available commands:

show version info

modou version

output:

Firmware Version: 0.6.04_beta4
Hardware Version: m101c
Firmware Track:   inter

check for update

modou update_check

download firmware

modou download_firmware

upgrade system

modou upgrade

reboot

modou reboot

reboot into safe mode

modou safe_reboot

show client MAC address

modou client_mac

test Internet connectivity

modou internet_test

show wired connections

modou wired_connections

output:

+------+-------+
| lan1 | false |
| lan2 | true  |
| code | 0     |
| wan  | false |
| usb  | false |
+------+-------+

show system time of router

modou system_time

show flash info

modou flash_info

output:

+------------------+-----------------+
| ddr2_total_size  | 127999.99904633 |
| ddr2_remain      | 72420           |
| flash_remain     | 48256           |
| flash_total_size | 128000          |
+------------------+-----------------+

firmware

modou firmware info

modou firmware check

modou firmware download

modou firmware upgrade

backlight control

modou backlight lock

modou backlight unlock

modou backlight wakeup

security

modou security info

modou security on

modou security off

WAN

modou wan info

modou wan traffics

Wi-Fi

modou wifi info

modou wifi enabled

LAN

modou lan info

disk

modou disk info

modou disk eject

devices

modou devices wired

modou devices wifi

modou devices whitelisted

modou devices blacklisted

modou devices graylisted

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

魔豆路由器命令行客户端 Ruby 版

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages