Enable/Disable internet connection with commands

expand collapsive

Hey all,
I am looking for a way to turn Wi-Fi on/off using some commands or running some scripts. Can anyone suggest a way to do this?

All Replies

  • Hi @mees, you really have an eye for detail!

    We have not provided the script for turning Wi-Fi on since to execute custom scripts from the Hexnode portal, an active internet connection on the device is a prerequisite. Since the Wi-Fi would be off before you try to turn it on, remote actions such as running custom scripts cannot be performed on the device.

    Looking forward to seeing you more!

    Emma Jones
    Hexnode UEM