Skip to content

Latest commit

 

History

History
66 lines (31 loc) · 1.99 KB

README.md

File metadata and controls

66 lines (31 loc) · 1.99 KB

Wake Wifi On Mac detection

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.

Install on Openwrt

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

Manual Installation

You can install manually on your openwrt:

Check that you have installed iw and tcpdump or tcpdump-mini on your openwrt.

First run

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

Build on Openwrt

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:

License

This is the License.