Network configuration scripts for RUTX11 router inside Panther. Enables quick way to set WiFi client, WiFi access-point, cellular (LTE), GNSS, Husarnet network and more.
Scripts are compatible with Teltonika RUTX11 with firmware version ≥ RUTX_R_00.07.02
.
Panther can be connected to the existing WiFi network on either 2.4GHz or 5GHz using it as an uplink. Multiple SSID can be set, the router will prioritize them in descending order.
In default configuration on both radios (2.4 GHz & 5 GHz) access-point is enabled with SSID Panther_XXXX
and Panther_5G_XXXX
, where XXXX
is serial number of Panther. SSID, password, enabled radios can be changed via WebUI.
Configuration is stored in config.json
file using extended version of JSON, which enables comments and advanced error messages.
To apply new configuration, execute setup_wifi.py
which is located in the same folder as config.json
by command: ./setup_wifi.py
.
Config file is divided into sections (arrays), which are listed with possible options as below.
Section name | Multiple arrays |
---|---|
wifi_client_radio | no |
wifi_client | yes |
cellular | yes |
gnss | no |
husarnet | no |
Set radio to use with Client Mode.
Option | Required | Default value | Description / valid values |
---|---|---|---|
wifi_client_radio | no | 0 | 0 - 2.4GHz radio used for up-link 1 - 5GHz radio used for up-link |
This section can contain multiple arrays of below option:
Option | Required | Default value | Description / valid values |
---|---|---|---|
ssid | yes | - | SSID (name) of WiFi network to join. |
password | no | - | Password protecting chosen network. For open encryption not required.For psk2 length is minimum of 8 characters. |
Option | Required | Default value | Description / valid values |
---|---|---|---|
hostname | yes | - | Desired hostname in your Husarnet network. Should be unique. |
join_code | yes | - | Join code to your Husarnet network. More info how to obtain it is available here |
{
"husarnet":{
"hostname":"your_desired_hostname",
"join_code":"your_join_code"
},
"wifi_client_radio":0,
"wifi_client":[
{
"radio":"0",
"ssid":"SSID_of_your_network",
"password":"password_to_your_network",
}
]
}
{
"wifi_client_radio":1,
"wifi_client":[
{
"ssid":"SSID_of_your_network",
"password":"password_to_your_network"
},
{
"ssid":"SSID_of_your_second_network",
"password":"password_to_your_second_network",
}
]
}