Changes

70 bytes added ,  15:11, 8 September 2022
m
no edit summary
Line 66: Line 66:  
In this example, we will set mobile data limit on SIM1 interface. We will achieve this by creating new Task group in RMS Task Manager and using Command as a task type.
 
In this example, we will set mobile data limit on SIM1 interface. We will achieve this by creating new Task group in RMS Task Manager and using Command as a task type.
   −
*Create a new task group by clicking '<nowiki/>'''ADD NEW TASK GROUP'''' button inside Task Manager configuration window 2. Define Task group name, select Command as a task type on the first task and insert the following text into Command field
+
*Create a new task group by clicking ''''ADD NEW TASK GROUP'''' button inside Task Manager configuration window 2. Define Task group name, select Command as a task type on the first task and insert the following text into Command field
'''''uci set quota_limit.mob'''''<nowiki/>'''''1s1a1.enabled='1''''''
+
''uci set quota_limit.mob1s1a1.enabled='1'''
*Click '<nowiki/>'''ADD ADDITIONAL TASK'''' button at<nowiki/> the bottom of the window to add a second task, make settings identical to the first task and insert the following command into the Command field (this will set the mobile limit to 2GB or 2048MB):
+
*Click ''''ADD ADDITIONAL TASK'''' button at<nowiki/> the bottom of the window to add a second task, make settings identical to the first task and insert the following command into the Command field (this will set the mobile limit to 2GB or 2048MB):
'''''uci set quota_limit.mob'''''<nowiki/>'''''1s1a1.data_limit='2048''''''
+
''uci set quota_limit.mob1s1a1.data_limit='2048'''
 
*Add another task with identical setti<nowiki/>ngs and insert the following text into the Command field (this will set the period of the data limit to 1 day:
 
*Add another task with identical setti<nowiki/>ngs and insert the following text into the Command field (this will set the period of the data limit to 1 day:
'''''uci set quota_limit.mob'''''<nowiki/>'''''1s1a1.period='1''''''
+
''uci set quota_limit.mob1s1a1.period='1'''
 
*Add another task with identical setti<nowiki/>ngs and insert the following text into the Command field (this will commit the changes and restart the mobile interface):
 
*Add another task with identical setti<nowiki/>ngs and insert the following text into the Command field (this will commit the changes and restart the mobile interface):
'''''uci commit && ifdown mo'''''<nowiki/>'''''b1s1a1 && ifup mob1s1a1'''''
+
''uci commit && ifdown mob1s1a1 && ifup mob1s1a1''
 +
 
 +
 
 +
Here is a review of all 4 tasks in this task group:
 +
 
 +
[[File:RMS manual Task manager configuration example data limit v1.png|border|523x523px]]
 +
 
 +
===Installing Additional Packages===
 +
----

Navigation menu