API - Mesh setup?

Hi,

Does anyone know if its possible to setup mesh by using api calls?

Greetings,

We are currently working on your query and will get back to you as soon as possible.

Best Regards,
Justinas

Greetings,

Apologies for the delayed response, and thank you for your patience.

To begin, you’ll need to authenticate with the router. You can follow the authentication instructions here:

For the following POST requests, use the /api/wireless/interfaces/config endpoint.

On the mesh gateway (master), start by creating a WiFi access point with a POST request similar to:

{
    "data": {
        "enabled": "1",
        "device": ["radio0"],
        "mode": "ap",
        "ssid": "MESH_DEMO",
        "encryption": "sae",
        "key": "password"
    }
}

Next, create a mesh instance using a POST request like the following:

{
    "data": {
        "enabled": "1",
        "mode": "mesh",
        "mesh_id": "DEMO_1",
        "encryption": "sae",
        "key": "password"
    }
}

Repeat these same POST requests on each mesh node. If a mesh node requires internet access, you will also need to configure a static route accordingly.


On the IPv4 Gateway – enter the LAN IP address of the mesh gateway.

You can find more information about the wireless mesh setup here:
Wireless Mesh configuration example - Teltonika Networks Wiki

You can find more information on how to use the API here:

Best Regards,
Justinas

1 Like

This topic was automatically closed after 60 days. New replies are no longer allowed.