Changes

no edit summary
Line 38: Line 38:  
         "00000000000000000000000000000000", "session", "login",
 
         "00000000000000000000000000000000", "session", "login",
 
         {
 
         {
             "username":"<span style="color:orange">'''root'''</span>", "password":"<span style="color:orange">'''admin01'''</span>"
+
             "username":"<span style="color:orange">'''admin'''</span>", "password":"<span style="color:orange">'''admin01'''</span>"
 
         }
 
         }
 
     ]
 
     ]
Line 222: Line 222:  
The command above will change the router's DHCP Server's current Start address, Address limit and Lease time values '''''(highlighted in orange)''''' to custom values provided in the '''"values"''' section of the command '''''(highlighted in green)'''''.
 
The command above will change the router's DHCP Server's current Start address, Address limit and Lease time values '''''(highlighted in orange)''''' to custom values provided in the '''"values"''' section of the command '''''(highlighted in green)'''''.
   −
[[File:JSON 012.jpg|border|class=tlt-border|520px]]
+
[[File:Networking rutxxx configuration examples dhcp server v3.jpg|border|class=tlt-border|530px]]
[[File:JSON 014.jpg|border|class=tlt-border|520px]]<br>
+
[[File:Networking rutxxx configuration examples dhcp server v2.jpg|border|class=tlt-border|530px]]<br>
    
'''Note: Remember always to use the commands in the order (set, commit, luci-reload)'''
 
'''Note: Remember always to use the commands in the order (set, commit, luci-reload)'''
Line 317: Line 317:  
* '''batch''' - returns the router's Batch number
 
* '''batch''' - returns the router's Batch number
 
* '''hwver''' - returns the router's Hardware Revision number
 
* '''hwver''' - returns the router's Hardware Revision number
* '''simpin''' - returns the router's SIM card's PIN (as it is specified in the '''[[{{{name}}}_Mobile]]''' section)
+
* '''simpin''' - returns the router's SIM card's PIN (as it is specified in the '''[[RUT955 Mobile|Mobile]]''' section)
 
* '''blver''' - returns the router's Bootloader version
 
* '''blver''' - returns the router's Bootloader version
 
<br><br><br>
 
<br><br><br>
Line 360: Line 360:     
'''Response:'''
 
'''Response:'''
  {"jsonrpc":"2.0","id":1,"result":[0,{"data":"<span style=color:blue>RUT9XX_R_00.05.00.5</span>\n"}]}
+
  {"jsonrpc":"2.0","id":1,"result":[0,{"data":"<span style=color:blue>RUTXXX_R_00.07.02.0</span>\n"}]}
    
This command ('''file''', '''read''', highlighted in red) is an alternative to the Linux '''cat''' command. All you need is to specify the path (in this case '''/etc/version''', highlighted in red) to the file that you wish to read.
 
This command ('''file''', '''read''', highlighted in red) is an alternative to the Linux '''cat''' command. All you need is to specify the path (in this case '''/etc/version''', highlighted in red) to the file that you wish to read.
Line 416: Line 416:  
The command used is ''uci set'' (highlighted in red). The config file name is '''simcard''', section '''sim1''', options '''mtu''' and '''service''' (configs, sections and options highlighted in orange). The response shown above is a positive response, but don't forget to execute ''uci commit'' and ''luci-reload'' afterwards or else your changes will not take effect.
 
The command used is ''uci set'' (highlighted in red). The config file name is '''simcard''', section '''sim1''', options '''mtu''' and '''service''' (configs, sections and options highlighted in orange). The response shown above is a positive response, but don't forget to execute ''uci commit'' and ''luci-reload'' afterwards or else your changes will not take effect.
   −
[[Category:{{{name}}} Configuration Examples]]
+
[[Category: RutOS Configuration Examples]]

Navigation menu