template:howto_tpl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
template:howto_tpl [2015/05/09 13:02]
admin
template:howto_tpl [2018/05/24 09:05] (current)
Line 1: Line 1:
-====== ​Topic ======+====== ​Howto-Template ​======
  
-some description+Just an empty template for new howto'​s.
  
-==== Difficutly level ====+===== Overview ​===== 
 + 
 +==== Level of difficulty === 
 + 
 +   ​Easy 
 + 
 +==== Use-case ==== 
 + 
 +If someone wants to add a new howto, this might safe some work. 
 + 
 +^ proberties of scenario ^^ 
 +| some propertie | some value | 
 +| some other propertie | some other value | 
 +| ... | ... |
  
 ==== Related topics ==== ==== Related topics ====
  
-==== Instructions ====+  * [[documentation:​configuration:​uci|UCI]] 
 +  * [[documentation:​configuration:​config_files:​config_files_involved|/​etc/​config/​config_file]] 
 +   
 +===== Instructions ====
 + 
 +==== GUI ==== 
 + 
 +Not available, yet 
 + 
 +==== UCI Config System ==== 
 + 
 +  * **Add something** 
 +<​code>​ 
 +uci add network rule                                          
 +uci set network.@rule[-1].interface=wan ​                      
 +uci set network.@rule[-1].target=84.141.4.210 ​                
 +uci set network.@rule[-1].netmask=255.255.255.255 ​            
 +uci set network.@rule[-1].gateway=172.27.0.1 ​                 
 +</​code> ​        
 + 
 +  * **Store changes** 
 +<​code>​ 
 +uci commit network 
 +</​code>​ 
 + 
 +  * **Apply changes** 
 +<​code>​ 
 +/​etc/​init.d/​network restart 
 +</​code>​
  
-== GUI ==+==== UCI config files (native) ====
  
-== console (nxt config ​system) ==+Routes are defined in [[documentation:​configuration:​config_files:​config_network|/​etc/​config/network]]
  
-== console (native) == +   * **Add new rule-section** 
 +<​code>​ 
 +config '​route' ​                                                                  
 +        option '​interface'​ '​wan' ​                                                
 +        option '​target'​ '​83.141.4.210' ​                                          
 +        option '​netmask'​ '​255.255.255.255' ​                                      
 +        option '​gateway'​ '​172.27.0.1'​  
 +</​code>​
  
 +===== Troubleshooting =====
  
 +Not available, yet
  
  
  
  
template/howto_tpl.1431176579.txt.gz · Last modified: 2018/05/24 09:05 (external edit)