This is a script for openwrt. The idea is auto power on the wifi when you are going to use it, and auto power off when you are not going to use it. Your router power on the wifi when you activate the wifi on your device.
- It powers on the wifi when detects one or more hardware address previously configurated.
- It powers off the wifi when there is no client connected in a time. This time is configurable too.
It needs that your wifi card supports monitor mode.
You can download the installable file from downloads section
Now you have to upload to your openwrt and execute:
opkg install wakewom_1.0.0-1_all.ipk
You can install manually on your openwrt:
- Copy wakewom.init to /etc/init.d/wakewom
- Copy wakewom.config to /etc/config/wakewom
Check that you have installed iw and tcpdump or tcpdump-mini on your openwrt.
First check the configuration file has your info and the mac of your devices:
/etc/config/wakewom
Start the service:
/etc/init.d/wakewom start
If you want to install the service, so you have the service running after reboot:
/etc/init.d/wakewom enable
This project if prepared to run in Openwrt. This repo has the struct of new feed in openwrt. You can add the line to your feeds.conf file:
src-git wakewom https://github.com/chanilino/wakewom.git
Now you can add the feed and create the package for install.
For more info visit:
This is the License.