Page 1 of 2
wifi schedule plugin installation
Posted: Thu May 07, 2015 2:38 am
by erez669
how to add wifi schedule plugin to the web interface of gargoyle v1.6.2?
my wifi stop working after 6 days of runtime and i restart wifi by changing channel.
it's very important feature because if i'm using this feature i don't need to reboot all router unit i can reboot only the wifi component.
i want to schedule reboot of wifi every week at the 5th day of the week.
for example - 1.5.15 and the first reboot will in 6.5.15 and the next will 11.5.15 etc.
how to do it in simple way of install plugin to web interface?
thanks.
my router is TP-LINK TL-WR1043ND V2.1 - 1.6.2 garoyle.
thanks in advanced.

Re: wifi schedule plugin installation
Posted: Thu May 07, 2015 2:41 am
by Lantis
System > Plugins > Refresh Plugins...
Wifi Schedule > Install.
Re: wifi schedule plugin installation
Posted: Thu May 07, 2015 6:28 am
by erez669
Lantis wrote:System > Plugins > Refresh Plugins...
Wifi Schedule > Install.
thanks!!

Re: wifi schedule plugin installation
Posted: Thu May 07, 2015 8:10 am
by erez669
i have another question:
i want to know if this "crontab -l" values are correct.
look at the wifi schedule values.
i want to understand the meaning of this commands.
0 0,4,8,12,16,20 * * * date -u +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
0 3 1 * * sh /usr/lib/gargoyle/reboot.sh
0 0,4,8,12,16,20 * * * /tmp/bw_backup/do_bw_backup.sh
55 4 * * 0 /usr/lib/gargoyle/scheduled_wifi.sh down
0 5 * * 0 /usr/lib/gargoyle/scheduled_wifi.sh up
55 4 * * 3 /usr/lib/gargoyle/scheduled_wifi.sh down
0 5 * * 3 /usr/lib/gargoyle/scheduled_wifi.sh up
Re: wifi schedule plugin installation
Posted: Thu May 07, 2015 8:38 am
by Lantis
Code: Select all
* * * * * command to execute
│ │ │ │ │
│ │ │ │ │
│ │ │ │ └───── day of week (0 - 6) (0 Sunday)
│ │ │ └────────── month (1 - 12)
│ │ └─────────────── day of month (1 - 31)
│ └──────────────────── hour (0 - 23)
└───────────────────────── min (0 - 59)
Re: wifi schedule plugin installation
Posted: Tue Aug 18, 2015 10:52 am
by redsector
Sorry to resurrect an old thread, but I have the same problem: I cannot install the WifiSchedule plugin on 1.7.x.
I had been running the "official" 1.7.1 version from the main downloads page first, but the plugin page seemed to be totally non-functional. Hitting Refresh did literally nothing there. Then I switched to 1.7.x-ispy-2015-08-24, now the plugin page seems to be working, but all it shows are a bunch of language packages.
Doing "opkg list | grep plugin-gargoyle" only shows DLNA, OpenVPN, Tor, USB Printer/Storage plugins that are already installed, and the aforementioned translation packs.
Do I need to add an additional package source to get the Wifi Schedule thingy? If so, what's the URL?
Any help would be greatly appreciated.
rs
EDIT: sorry, just saw that the original post was for 1.6.2. Sorry. Question is still relevant, though, only for 1.7.x. Switching to 1.6.2 isn't possible, won't run on my Alix.2C2 (kernel panic upon boot).
Re: wifi schedule plugin installation
Posted: Tue Aug 18, 2015 6:57 pm
by Lantis
Upgrade to 1.7.2 and try there

Re: wifi schedule plugin installation
Posted: Tue Aug 18, 2015 10:03 pm
by redsector
Unfortunately, 1.7.2 doesn't work on my machine (Alix.2C2). It boots up, but all network interfaces are down and can't be started. Says something about a missing script when I try the "/etc/init.d/network reload" and similar commands (sorry, can't remember the exact message, it's been a few days since I tried - though I googled it, so I can comb my browser history if it's of any help to you).
Besides, isn't 1.7.x-ispy-
2015-08-24 newer than the "official" 1.7.2 anyway?

Re: wifi schedule plugin installation
Posted: Tue Aug 18, 2015 10:52 pm
by Lantis
yes it is newer, but the only changes are minor. Sorry, the naming convention of the iSpy builds can be slightly confusing unless you examine the dates carefully.
Can you please show a list of your plugin sources?
Re: wifi schedule plugin installation
Posted: Wed Aug 19, 2015 1:51 am
by ispyisail
did you preserve setting on upgrade?