FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
281 views 1 comments
by anonymous
Hello everyone, I am a new happy user of RUT955

I have been searching without finding,  how to automatically switch off rut955 (WiFi and LTE) during the night and turn it on at morning time.

I have created an RF_OFF profile but cannot find how to turn off the Mobile Radio:  any solution?

Thanks!

1 Answer

+1 vote
by anonymous

Hello,

You could utilize crontab functionality to automate periodic switching of mobile and wifi. For more details on how to configure and set up crontabs, please refer to this page. 

The specific commands to execute are below:

  • Disable mobile and Wifi:
    • ubus call network.interface.mob1s1a1 down
    • /sbin/wifi down
  • Enable mobile and Wifi:
    • ubus call network.interface.mob1s1a1 up
    • /sbin/wifi up

Best regards,

Best answer
by anonymous

I edited crontab adding 

45 00 * * 1-7 ubus call network.interface.mob1s1a1 down
45 00 * * 1-7 ubus call network.interface.mob1s2a1 down
45 00 * * 1-7 /sbin/wifi down
45 05 * * 1-7 ubus call network.interface.mob1s1a1 up
45 05 * * 1-7 ubus call network.interface.mob1s2a1 up
45 05 * * 1-7 /sbin/wifi up

It works perfectly: thanks, @ZYGIMANTASBLIU!