Ronniej
December 12, 2021, 8:19pm
1
I got my Flint but couldn’t found the package for auto wifi off in luci.
I have ar750 where i can install it and it works beautifully. I copied the script to scheduled tasks of Flint from ar750 but it refuses to work.
There is a system log but it don’t clearly mention the error.
@alzhao any ideas?
Ronniej
December 12, 2021, 8:21pm
2
Mon Dec 13 00:35:00 2021 cron.info crond[2947]: USER root pid 7283 cmd /usr/bin/wifi_schedule.sh forcestop
The log generates but it doesn’t turnoff the wifi
David
December 12, 2021, 8:29pm
3
Hello. I don’t have a Flint.
If luci-app-wifischedule doesn’t work for you like it used to on AR750, you may find the solution on this page.
Bye.
Ronniej
December 12, 2021, 8:41pm
4
Obviously, I have already tried these solutions if you have read my question
David
December 12, 2021, 9:25pm
5
You only mention the script relative to wifischedule, that’s why I send you to that page, I didn’t know you have tried all scripts relative to on/off wifi without wifischedule installed.
alzhao
December 13, 2021, 3:18am
6
I am not sure what is the in the script /usr/bin/wifi_schedule.sh
, but for Flint, here is the command to turn on/off wifi
on
uci set wireless.wifi0.disabled=1
uci set wireless.wifi1.disabled=1
uci commit wireless
wifi
off
uci set wireless.wifi0.disabled=0
uci set wireless.wifi1.disabled=0
uci commit wireless
wifi
A simple wifi on
an wifi off
seems does not work.
David
December 13, 2021, 5:08pm
7
This is the script made by luci-app-wifischedule in Scheduled Tasks. Working fine for me in one AR750S and two AR750.
Ronniej
December 14, 2021, 3:20am
8
Thanks
How can i use it to put it in a schedule?
alzhao
December 14, 2021, 8:04am
9
I mean, you can change the wifi_schedule.sh script and do as @David 's screenshot
David
December 15, 2021, 2:08am
10
Yes you are right, my English is very bad, I did not understand everything. Sorry if I didn’t help much.
1 Like
Ronniej
December 15, 2021, 10:46pm
11
Is there an easier way like it’s in AR750?
That’s GUI based with an installed package or something?
i tried to follow your instructions and given code but not sure how to put it all together.
Ronniej
December 29, 2021, 8:20am
12
@alzhao any update on this mate?
alzhao
December 29, 2021, 10:59am
13
Sorry there is no easy way. Basic script is needed.
But we do take this idea into consideration and may put this in development.
1 Like
Ronniej
December 29, 2021, 10:44pm
14
Exciting !
This should not be hard.
I’ll check back after few months.
oneiro
June 7, 2022, 7:34pm
15
Is there any updates to this conversation? I cannot find the luci-app-wifischedule in the plugins that can be downloaded through the backend of the router/luci. What is the best way to set this up to shut off all WiFi from 11pm-630am EST?
If I was watching a show past 11 is there a way to keep it on atumatically or will I have to manually turn on the WiFi after that time and shut it off when I am done? If I shut it off manually will it turn back on at 630?
Thank you
oneiro
June 8, 2022, 2:12am
16
This should be a simple enough feature to add. Please do so in the next updates.
Thank you