Changes

30 bytes removed ,  12:10, 24 July 2019
m
Line 308: Line 308:  
| style="text-align: left; vertical-align: top;" | Stores SAMBA configuration settings
 
| style="text-align: left; vertical-align: top;" | Stores SAMBA configuration settings
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | /etc/config/simThis section contains no values yet_idle_protection
+
! style="text-align: left; vertical-align: top;" | /etc/config/sim_idle_protection
 
| style="text-align: left; vertical-align: top;" | Stores SIM Idle Protection configuration settings
 
| style="text-align: left; vertical-align: top;" | Stores SIM Idle Protection configuration settings
 
|-
 
|-
Line 405: Line 405:  
[[File:Uci ls config.png]]
 
[[File:Uci ls config.png]]
   −
So when you plan on obtaining specific parameters or setting parameter values, you should always start with find out option and section names. To accomplish this, we recommend using the uci show <sonfig> commands.
+
So when you plan on obtaining specific parameters or setting parameter values, you should always start with finding out option and section names. To accomplish this, we recommend using the uci show <config> commands.
    
==Setting parameters==
 
==Setting parameters==
Line 428: Line 428:  
===UCI add_list===
 
===UCI add_list===
 
----
 
----
Some variables hold more than one value unlike options. These variables are called '''lists'''. For example, if you use MAC filter on your Wi-Fi Acsess point, the MAC addresses are saved not as options but as a list.
+
Some variables hold more than one value, unlike options. These variables are called '''lists'''. For example, if you use MAC filter on your Wi-Fi Access point, the MAC addresses are saved not as options but as a list.
    
Example of maclist (cmd: uci show wireless):
 
Example of maclist (cmd: uci show wireless):
Line 451: Line 451:  
With all that we have learned lets try a more complicated example: lets you want to create an OpenVPN server. The server will be called '''MyServer''', will use a '''TUN''' type interface and '''TLS''' authentication. In order to create this server we will first have to create a section for the server in the openvpn config:
 
With all that we have learned lets try a more complicated example: lets you want to create an OpenVPN server. The server will be called '''MyServer''', will use a '''TUN''' type interface and '''TLS''' authentication. In order to create this server we will first have to create a section for the server in the openvpn config:
   −
  # uci uci add openvpn server_MyServer
+
  # uci add openvpn server_MyServer
 
  # uci set openvpn.server_MyServer=openvpn
 
  # uci set openvpn.server_MyServer=openvpn
   Line 575: Line 575:  
==External links==
 
==External links==
   −
https://wiki.openwrt.org/doc/uci?do= - OpenWRT wiki page on the UCI system
+
* https://wiki.openwrt.org/doc/uci?do= - OpenWRT wiki page on the UCI system
 
+
* https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY downloads page
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY app download
 
0

edits

Navigation menu