[Solved]Activate / deactivate WAN with timetable / Schedule

Started by hirschferkel, September 14, 2020, 05:06:51 PM

Previous topic - Next topic
September 18, 2020, 07:54:18 PM #15 Last Edit: September 18, 2020, 08:18:23 PM by hirschferkel
There was a wrong set up in the files...
You named it Interface_up_down.sh


An wrote
/usr/local/etc/rc.d/interface_up_down.sh up

Now it works! Thanks for your help.


Just seeing if you were awake. :)


OK,,, it works now, that's good.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

September 19, 2020, 01:35:59 PM #17 Last Edit: September 19, 2020, 01:37:43 PM by hirschferkel
:D
Quote from: marjohn56 on September 18, 2020, 11:17:17 PMJust seeing if you were awake. :)

One more question: The whole procedure was to save energy by stopping the Wifi activity while it is not being used. So I'm little bit unsure if this works this way, as the interface is down, now, but the interface still shows as being "active" in the GUI?
Any idea why it is still marked active although it was shut down by the cron job?


Hence I asked in an earlier message if it was an external IF. Not sure either, but if it's built in to the gateway maybe not, as the Kernel will enable it. So test it, take the interface down and see if the SSID is still visible.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

I think you got me wrong. The Wifi is down, everything o.k it is not visible for devices anymore.
But in the Web GUI of OPNsense under Interfaces, the SSID is still marked as being active (See the screenshot)
I would have expected that it should be marked inactive, as it was switched of by the cron-job, wasn't it?

Best

Quote from: marjohn56 on September 19, 2020, 02:06:13 PM
Hence I asked in an earlier message if it was an external IF. Not sure either, but if it's built in to the gateway maybe not, as the Kernel will enable it. So test it, take the interface down and see if the SSID is still visible.

if the SSID is down that's the best you can hope for, it's not transmitting. I suspect it's the same as the WAN interface, could be enabled, but could still be down.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member