Your modouwifi CLI.
Built based on Modou HTTP API
Work in process.
Add this line to your application's Gemfile:
gem 'modou'
And then execute:
$ bundle
Or install it yourself as:
$ gem install modou
available commands:
modou version
output:
Firmware Version: 0.6.04_beta4
Hardware Version: m101c
Firmware Track: inter
modou update_check
modou download_firmware
modou upgrade
modou reboot
modou safe_reboot
modou client_mac
modou internet_test
modou wired_connections
output:
+------+-------+
| lan1 | false |
| lan2 | true |
| code | 0 |
| wan | false |
| usb | false |
+------+-------+
modou system_time
modou flash_info
output:
+------------------+-----------------+
| ddr2_total_size | 127999.99904633 |
| ddr2_remain | 72420 |
| flash_remain | 48256 |
| flash_total_size | 128000 |
+------------------+-----------------+
modou firmware info
modou firmware check
modou firmware download
modou firmware upgrade
modou backlight lock
modou backlight unlock
modou backlight wakeup
modou security info
modou security on
modou security off
modou wan info
modou wan traffics
modou wifi info
modou wifi enabled
modou lan info
modou disk info
modou disk eject
modou devices wired
modou devices wifi
modou devices whitelisted
modou devices blacklisted
modou devices graylisted
- 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
) - Create new Pull Request