Limitator

Monthly quota for OpenWRT

Install

  1. Copy limitator to /etc/init.d/
scp -O limitator root@uli:/etc/init.d
  1. Run chmod +x /etc/init.d/limitator
  2. Copy config/limitator to /etc/config/
scp -O config/limitator root@uli:/etc/config
  1. Edit /etc/config/ if needed.
  2. Copy www/* to /www/
scp -rO www root@uli:/
  1. Run chmod +x /www/cgi-bin/limitator.json
  2. Run opkg update && opkg install iptables-mod-extra coreutils-date
  3. Run mkdir ~/limitator
  4. Run crontab -e and copy&paste contents in crontab file.
  5. Run /etc/init.d/limitator enable
  6. Reboot.

Additional steps for Backfire 10.03

  1. Install iptables-mod-ipopt
  2. Delete /bin/date link
Description
No description provided
Readme 129 KiB
Languages
Shell 55.4%
JavaScript 23.7%
HTML 20.9%