Uci Commands - Teltonika RUT950 User Manual

Lte router
Hide thumbs Also See for RUT950:
Table of Contents

Advertisement

8.1.3 UCI commands

1. uci
To check all possible uci commands type in: uci –help
Examples of use:
To check network config – uci show network
To check network config lan section – uci show network.lan
To check specific parameter, for example wan ip – uci show network.wan.ipaddr
To get parameter, for example wan ip – uci get network.wan.ipaddr
To change parameter, for example wan ip – uci set network.wan.ipaddr=192.168.90.1
To add new section of configurations – uci add network new_section
To add option in new section – uci set my_config.new_section.new_option=value
To add new listed parameter – uci add_list my_config.new_section.list_name=value (for example.: uci add_list
wireless.@wifi-iface[0].maclist=00:00:00:00:00:00 – adds blacklisted MAC address)
To rename option - uci rename my_config.my_section.old_name=new_name
To delete section – uci delete my_config.section_name
To delete option – uci delete my_config.my_section_option_name
To enable changes – uci commit
Note: in order to know exact section name it is highly recommended to check config with uci show command.
2.luci-reload
Use luci-reload command to renew changes in routers WebUI
An example of how to set up WPA-2 EAP encryption with uci commands:
uci set wireless.@wifi-iface[0].encryption=wpa2 – sets WiFi encryption to WPA2
uci set wireless.@wifi-iface[0].auth_server=188.69.236.202 - sets the Radius server address
uci set wireless.@wifi-iface[0].auth_port=99 – sets Radius server port
uci set wireless.@wifi-iface[0].auth_secret=test – sets Radius server secret
uci commit – commits all of the uci changes from RAM to flash memory
luci-reload – reloads the relevant services in order for the changes to take place
102

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RUT950 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF