Changes

no edit summary
Line 10: Line 10:  
==SMS Utilities==
 
==SMS Utilities==
   −
===Default Rules===
+
The <b>SMS Utilities</b> section contains a list of rules that perform certain actions when they are activated by SMS messages.
----
  −
The SMS Utilities section contains a list of rules that perform certain actions when they are activated by SMS messages.
      
[[File:Networking_rutos_manual_mobile_utilities_sms_utilities_sms_rules.png|border|class=tlt-border]]
 
[[File:Networking_rutos_manual_mobile_utilities_sms_utilities_sms_rules.png|border|class=tlt-border]]
   −
The entire list contains more than 20 rules but you are also be provided with the possibility to configure custom ones or edit the
+
The entire list contains more than 20 rules, but it does not all possible SMS action. You can also create custom rules or modify existing rules. All possible SMS rule actions, their default SMS texts and descriptions are listed in the table below.
existing rules.
     −
All default configuration options are listed below:
+
<table class="nd-othertables_2" style="width: 100%;">
 
+
    <tr>
<li>Reboot</li>
+
        <th width=20%>Action</th>
<li>Send_status</li>
+
        <th width=20%>SMS Text</th>
{{#ifeq:{{{name}}}|RUTXR1||
+
        <th width=60%>Description</th>
<li>I/O set</li>
+
    </tr>{{#ifeq: {{{io}}} | 1 |
<li>I/O status</li>
+
    <tr>
}}
+
        <td><b>Change I/O state</b></td>
{{#ifeq:{{{wifi}}}|1|
+
        <td>ioset</td>
<li>Wifi(on) </li>
+
        <td>Changes the state of a selected output.</td>
<li>Wifi(off) </li>
+
    </tr>|}}
}}
+
    <tr>
<li>Mobile (on)</li>
+
        <td><b>Change mobile settings</b></td>
<li>Mobile (off)</li>
+
        <td>cellular</td>
<li>SSH access (on)</li>
+
        <td>Is used to configure the device's mobile data connection. [[#Change_mobile_settings_.28cellular.29_rule|Click here]] for more information on this rule.</td>
<li>SSH access (off)</li>
+
    </tr>{{#ifeq: {{{dualsim}}} | 1 |
<li>Web access (on)</li>
+
    <tr>
<li>Web access (off)</li>
+
        <td><b>Force SIM switch</b></td>
<li>Firstboot</li>
+
         <td>switch_sim</td>
{{#ifeq:{{{name}}}|TRB14X||
+
         <td>Switches from using one SIM card to another.</td>
<li>Switch SIM</li>
+
    </tr>|}}
}}
+
    <tr>
{{#ifeq:{{{gps}}}|1|
+
         <td><b>FW upgrade from server</b></td>
<li>GPS coordinates</li>
+
         <td>fw_upgrade</td>
<li>GPS (off)</li>
+
         <td>Upgrades the device's firmware (provided a new version is available on the FOTA server).</td>
<li>GPS (on)</li>
+
    </tr>
}}
+
    <tr>
<li>Firmware upgrade</li>
+
         <td><b>Get list of profiles</b></td>
<li>RMS status</li>
+
         <td>profdisp</td>
<li>Rms connect</li>
+
         <td>Sends a list of configuration profiles existing on the device.</td>
<li>Rms action (on)</li>
+
    </tr>
<li>Rms action (off)</li>
+
    <tr>
<li>Monitoring status</li>
+
         <td><b>GPS control</b></td>
<li>More</li>
+
         <td>gpson</td>
<li>UCI API</li>
+
         <td>Turns GPS on.</td>
===Execution===
+
    </tr>
----
+
    <tr>
To execute a rule, just send an SMS message to the router‘s SIM card number with the rule's SMS Text, e.g., if you send
+
         <td><b>GPS coordinates</b></td>
a message with the text '''“reboot”''', the router will reboot if the selected Authorization method is '''“No
+
         <td>gps</td>
authorization”'''. However, if there is an Authorization method present you will need to include the '''“Authorization
+
         <td>Sends the device's current GPS coordinates.</td>
key”''' in the text message. This '''“Authorization key”''' depends on the chosen '''Authorization method''', i.e., if
+
    </tr>
the method is '''“By serial”''', the '''“Authorization key”''' is the router’s serial number, if the method is '''“By
+
    <tr>
router admin password”''', the '''“Authorization key”''' is the router’s admin password.
+
         <td><b>IP unblock</b></td>
 
+
         <td>ipunblock</td>
The '''"Authorization key”''' must precede the activation text and they must be separated by a space symbol. For
+
         <td>Unblocks Web/SSH access for devices that were blocked for too many unsuccessful connection attempts. Send the SMS text to unblock all blocked devices or include the IP address of a single blocked device after the SMS text. For example:
example, if the chosen Authorization method is '''“By router admin password”''' and the password is '''“admin01”''', the
+
            <ul>
entire message should look like this: '''“admin01 reboot”'''. The same applies to '''“By serial”''' authorization. By
+
                <li><i>ipunblock</i> - clears the block list (unblocks Web/SSH access for all previously blocked devices).</li>
default authorization for SMS utilities are set "'''By router admin password".'''
+
                <li><i>ipunblock 192.168.1.2</i> - removes this IP address from the block list (unblock Web/SSH access for that device).</li>
 
+
            </ul>
===Rule Overview and editing===
  −
----
  −
Every default SMS rule can be edited to your liking. If none of the rules suit your purposes, just click the '''Edit'''
  −
button next to any SMS Utilities rules. This guide will contain information on editing every single SMS Utilities rule.
  −
===SMS rule General settings===
  −
----
  −
[[File:Networking_rutos_manual_mobile_utilities_sms_utilities_modify_sms_rule_general.png|border|class=tlt-border]]
  −
 
  −
===SMS rule Authorization settings===
  −
----
  −
[[File:Networking_rutos_manual_mobile_utilities_sms_utilities_modify_sms_rule_authorization.png|border|class=tlt-border]]
  −
 
  −
Above is an example of what '''SMS Configuration''' '''General''' and '''Authorization''' settings windows looks like,
  −
specifically, '''SMS Configuration''' for the '''Reboot''' rule. Below is a table with detailed explanations on how to
  −
configure the rule and what each of the fields mean. To avoid redundancy, screenshots for the other rules will not be
  −
provided, since the structures, syntax and the overall look of the configuration windows for each rule are very similar.
  −
Instead, only tables containing information on how to edit each rule will be provided.
  −
 
  −
====Reboot====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
      <th>FIELD NAME</th>
  −
  <th>DESCRIPTION</th>
  −
    <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
         <td>This will enable or disable SMS reboot function</td>
  −
         <td>Allows router to restart via SMS</td>
  −
</tr>
  −
<tr>
  −
         <td>Action</td>
  −
         <td>The action to be performed when this rule is met</td>
  −
         <td>Reboots the router</td>
  −
</tr>
  −
<tr>
  −
         <td>SMS text</td>
  −
         <td>SMS text that will trigger the rule</td>
  −
         <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter</td>
  −
</tr>
  −
<tr>
  −
         <td>Get status via SMS after reboot</td>
  −
         <td>Check this to receive connection status via SMS after the reboot</td>
  −
         <td>If enabled, the router will send a status message once it has rebooted and is operational again. This is
  −
            both a separate SMS Rule and an option under the SMS Reboot rule</td>
  −
</tr>
  −
<tr>
  −
         <td>Modem</td>
  −
         <td>Select which modem you want to use</td>
  −
         <td>Which modem is configured</td>
  −
</tr>
  −
<tr>
  −
         <td>Gateway modem</td>
  −
         <td>Select which modem you want to use</td>
  −
         <td>Which modem is configured</td>
  −
</tr>
  −
<tr>
  −
        <td>Message text</td>
  −
        <td>Which status information should be included in SMS. Default message includes: Device name, Wan IP, Data Connection state, Connection type, Signal strength, New FW available
   
         </td>
 
         </td>
         <td>You can select which status elements to display</td>
+
    </tr>{{#ifeq: {{{io}}} | 1 |
</tr>
+
    <tr>
<tr>
+
         <td><b>I/O status</b></td>
         <td>Authorization method</td>
+
        <td>iostatus</td>
         <td>What kind of authorization to use</td>
+
        <td>Sends a status report message on the state of the device's inputs and outputs.</td>
         <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
+
    </tr>|}}
 +
    <tr>
 +
         <td><b>Manage OpenVPN</b></td>
 +
         <td>vpnon</td>
 +
         <td>Turns a selected OpenVPN instance on. Include the name of the OpenVPN instance that you wish to turn on after the rule's SMS text:
 +
            <ul>
 +
                <li><i>vpnon client_name</i></li>
 +
                <li><i>vpnon server_name</i></li>
 +
            </ul>
 
         </td>
 
         </td>
</tr>
+
    </tr>
<tr>
+
    <tr>
         <td>Allowed users</td>
+
         <td><b>Manage OpenVPN</b></td>
         <td>White list of allowed users</td>
+
         <td>vpnoff</td>
         <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
+
         <td>Turns a selected OpenVPN instance off. Include the name of the OpenVPN instance that you wish to turn off after the rule's SMS text:
 +
            <ul>
 +
                <li><i>vpnoff client_name</i></li>
 +
                <li><i>vpnoff server_name</i></li>
 +
            </ul>
 
         </td>
 
         </td>
</table>
+
    </tr>
 
+
    <tr>
====Send status====
+
        <td><b>Mobile data limit status</b></td>
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
+
        <td><i>no default text</i></td>
<tr>
+
         <td>Sends a status report message that includes data limit usage information for mobile network interfaces (that have [[{{{name}}}_Interfaces#Mobile_Data_Limit|Mobile Data Limit]] enabled) </td>
    <th>FIELD NAME</th>
+
    </tr>
    <th>DESCRIPTION</th>
+
    <tr>
    <th>EXPLANATION, NOTES</th>
+
         <td><b>Monitoring status</b></td>
</tr>
+
         <td>monitoring_status</td>
<tr>
+
         <td>Sends a status report message that includes the RMS connection type, state and the device serial number and MAC address.</td>
         <td>Enable</td>
+
    </tr>
        <td>This will enable or disable SMS status function</td>
+
    <tr>
         <td>Allows you to get the router‘s status via SMS. This is both a separate SMS Rule and an option under the SMS
+
         <td><b>More</b></td>
            Reboot rule</td>
+
         <td>more</td>
</tr>
+
        <td>Displays next part of a composite response message (more than 160 characters).</td>
<tr>
+
    </tr>
        <td>Action</td>
+
    <tr>
         <td>The action to be performed when this rule is met</td>
+
         <td><b>OpenVPN status</b></td>
         <td>Returns an SMS message containing information about the status of the router. The type of information
+
         <td>vpnstatus</td>
            contained within the message can be specified in the '''Message text''' field</td>
+
         <td>Sends a status report message on all OpenVPN connections.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
         <td>SMS text</td>
+
         <td><b>Reboot</b></td>
        <td>SMS text that will trigger the rule</td>
+
         <td>reboot</td>
         <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter</td>
+
         <td>Reboots the device.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
         <td>Modem</td>
+
         <td><b>Restore to default</b></td>
         <td>Select which modem you want to use</td>
+
         <td>restore</td>
         <td>Which modem is configured</td>
+
         <td>Restores factory settings on the device.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
         <td>Gateway modem</td>
+
         <td><b>RMS action</b></td>
         <td>Select which modem you want to use</td>
+
         <td>rms_on</td>
         <td>Which modem is configured</td>
+
         <td>Turns RMS connection on.</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
         <td>Message text</td>
+
         <td><b>RMS action</b></td>
         <td>Which status information should be included in SMS. Default message includes: Device name, Wan IP, Data Connection state, Connection type, Signal strength, New FW available
+
         <td>rms_off</td>
         </td>
+
         <td>Turns RMS connection off.</td>
        <td>You can select which status elements to display</td>
+
    </tr>
</tr>
+
    <tr>
<tr>
+
         <td><b>RMS connect</b></td>
         <td>Authorization method</td>
+
         <td>rms_connect</td>
         <td>What kind of authorization to use for SIM management</td>
+
         <td>Forces the device to connect to RMS. This action is analogous to clicking the 'Connect' button in the Cloud Solutions → [[{{{name}}}_Cloud_Solutions#RMS|RMS page]].</td>
         <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
+
    </tr>
        </td>
+
    <tr>
</tr>
+
         <td><b>RMS status</b></td>
<tr>
+
         <td>rms_status</td>
         <td>Allowed users</td>
+
         <td>Sends a status report message on the state of the connection to RMS.</td>
         <td>White list of allowed users</td>
+
    </tr>
         <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
+
    <tr>
        </td>
+
         <td><b>Send status</b></td>
</table>
+
         <td>status</td>
 
+
         <td>Sends a status report message.</td>
====Switch mobile data ON/OFF====
+
    </tr>
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
  <tr>
  −
         <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
         <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
  <tr>
  −
        <td>Enable</td>
  −
         <td>This will enable or disable the Switch mobile data function</td>
  −
        <td>Allows mobile control via SMS</td>
  −
</tr>
  −
  <tr>
  −
         <td>Action</td>
  −
         <td>The action to be performed when this rule is met</td>
  −
         <td>Turn mobile data ON or OFF</td>
  −
</tr>
  −
  <tr>
  −
         <td>State</td>
  −
         <td>The state to which mobile data will be set when this rule is met.</td>
  −
         <td>If you set it as ON it will turn on mobile data if OFF it will turn it off.</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter</td>
  −
</tr>
  −
<tr>
  −
        <td>Modem</td>
  −
        <td>Select which modem you want to use</td>
  −
        <td>Which modem is configured</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====SSH access control====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the SSH access control function</td>
  −
        <td>Allows SSH access control via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Turns SSH access ON or OFF</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Enable SSH access</td>
  −
        <td>Enables or Disables SSH access from LAN</td>
  −
        <td>If this is ON, SMS will enable SSH access from LAN, if not, SMS will disable SSH access from LAN</td>
  −
</tr>
  −
<tr>
  −
        <td>Enable remote SSH access</td>
  −
        <td>Enables or Disables SSH access from WAN</td>
  −
        <td>If this is ON, SMS will enable SSH access from WAN, if not, SMS will disable SSH access from WAN</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====Web access Control====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the Web access control function</td>
  −
        <td>Allows Web access control via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Turns access to WebUI ON or OFF</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Enable HTTP access</td>
  −
        <td>Enables or Disables HTTP access from LAN</td>
  −
        <td>If this is ON, SMS will enable HTTP access from LAN, if not, SMS will disable HTTP access from LAN</td>
  −
</tr>
  −
<tr>
  −
        <td>Enable HTTPS access</td>
  −
        <td>Enables or Disables HTTPS access from LAN</td>
  −
        <td>If this is ON, SMS will enable HTTPS access from LAN, if not, SMS will disable HTTPS access from LAN</td>
  −
</tr>
  −
<tr>
  −
        <td>Enable remote HTTP access</td>
  −
        <td>Enables or Disables HTTP access from WAN</td>
  −
        <td>If this is ON, SMS will enable HTTP access from WAN, if not, SMS will disable HTTP access from WAN</td>
  −
</tr>
  −
<tr>
  −
        <td>Enable remote HTTPS access</td>
  −
        <td>Enables or Disables HTTPs access from WAN</td>
  −
        <td>If this is ON, SMS will enable HTTPS access from WAN, if not, SMS will disable HTTPS access from WAN</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====Restore to default====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the Restore to default function</td>
  −
        <td>Allows you to restore the router to it's default settings via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Executes a router reset, which means the router will reboot after this rule is executed and all custom
  −
            configurations will be deleted and restored to default</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
====FW upgrade from server====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the FW upgrade from server function</td>
  −
        <td>Allows you to upgrade the router‘s FW via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Upgrades your router's current Firmware to the one uploaded and assigned to your router in FOTA. The router
  −
            will reboot and be unreachable for a couple of minutes after this rule is executed</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
{{#ifeq:{{{name}}}|TRB14X||
  −
====Force SIM switch====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the Force SIM switch function</td>
  −
        <td>Allows SIM switch via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Forces the router to switch to the other SIM card (the one that is not in use at the moment of receiving the message)
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Modem</td>
  −
        <td>Select which modem you want to use</td>
  −
        <td>Which modem is configured</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values:<nowiki> No authorization | By serial | By router admin password; default: '''By router admin password'''</nowiki>
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: <nowiki> From all numbers | From group | From single number; default: '''From all numbers'''</nowiki>
  −
        </td>
  −
</table>
  −
}}
  −
{{#ifeq:{{{gps}}}|1|
  −
====GPS control====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable the GPS ON/OFF function</td>
  −
        <td>Allows you to control GPS via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Turns GPS ON or OFF
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>State</td>
  −
        <td>The state to which GPS will be set when this rule is met</td>
  −
        <td>If you set it as ON it will turn on GPS if OFF it will turn it off</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: <nowiki> No authorization | By serial | By router admin password; default: </nowiki>'''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: <nowiki> From all numbers | From group | From single number; default:</nowiki> '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====GPS coordinates====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the GPS coordinates function</td>
  −
        <td>Allows you to get GPS coordinates via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Sends you GPS coordinates of the router
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Modem</td>
  −
        <td>Select which modem you want to use</td>
  −
        <td>Which modem is configured</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: <nowiki>No authorization | By serial | By router admin password; default:</nowiki> '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values:<nowiki> From all numbers | From group | From single number; default: </nowiki>'''From all numbers'''
  −
        </td>
  −
</table>
  −
}}
  −
====Monitoring control====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the Monitoring control function</td>
  −
        <td>Allows you to control RMS monitoring status via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Turns RMS monitoring ON or OFF
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>State</td>
  −
        <td>The state to which RMS monitoring will be set when this rule is met</td>
  −
        <td>If you set is as ON it will turn on RMS monitoring if OFF it will turn it off</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====Wake on LAN====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the Wake on LAN function</td>
  −
        <td>Provides the possibility to wake computers from sleep mode</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Wakes the specified computer from sleep mode
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>MAC address</td>
  −
        <td>Computer's MAC Address</td>
  −
        <td>A MAC address of a device you want to wake up</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====Mobile data limit status====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the mobile data limit status function</td>
  −
        <td>Allows you to get mobile data limit status via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Sends you mobile data limit status
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Modem</td>
  −
        <td>Select which modem you want to use</td>
  −
        <td>Which modem is configured</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
{{#ifeq:{{{wifi}}}|1|
  −
====Switch WiFi ON/OFF====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
   
     <tr>
 
     <tr>
        <th>FIELD NAME</th>
+
        <td><b>SSH access control</b></td>
        <th>DESCRIPTION</th>
+
        <td>sshon</td>
        <th>EXPLANATION, NOTES</th>
+
        <td>Turns remote and local (by default) SSH access on. This rule can be modified to only include local SSH access.</td>
</tr>
+
    </tr>
 
     <tr>
 
     <tr>
        <td>Enable</td>
+
         <td><b>SSH access control</b></td>
        <td>This will enable or disable the Switch WiFi function</td>
+
         <td>sshoff</td>
        <td>Allows WiFi control via SMS</td>
+
         <td>Turns SSH access off.</td>
</tr>
+
    </tr>
  <tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Turn WiFi ON or OFF</td>
  −
</tr>
  −
  <tr>
  −
        <td>State</td>
  −
        <td>The state to which WiFi will be set when this rule is met.</td>
  −
        <td>If you set it as ON it will turn on WiFi if OFF it will turn it off.</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter</td>
  −
</tr>
  −
<tr>
  −
        <td>Modem</td>
  −
        <td>Select which modem you want to use</td>
  −
        <td>Which modem is configured</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: <nowiki> No authorization | By serial | By router admin password; default: </nowiki>'''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: <nowiki> From all numbers | From group | From single number; default: </nowiki>'''From all numbers'''
  −
        </td>
  −
</table>
  −
}}
  −
{{#ifeq:{{{name}}}|RUTXR1||
  −
====Change I/O state====
  −
----<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This will enable or disable the possibility to change output state</td>
  −
        <td>Allows you to change output state via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Changes output state</td>
  −
</tr>
  −
<tr>
  −
        <td>I/O</td>
  −
        <td>Type of output which will be activated </td>
  −
        <td>Select which output you want to use</td>
  −
</tr>
  −
<tr>
  −
        <td>State</td>
  −
        <td>The state to which output will be set when this rule is met</td>
  −
        <td>If you set it as High it will turn on output if Low it will turn it off</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: ioset
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: <nowiki>No authorization | By serial | By router admin password; default:</nowiki> '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: <nowiki>From all numbers | From group | From single number; default:</nowiki> '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====I/O status====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable SMS I/O status function</td>
  −
        <td>Allows you to get the router‘s I/O status via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Returns an SMS message containing information about the Input/Output status of the router</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: iostatus</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: <nowiki>No authorization | By serial | By router admin password; default:</nowiki> '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: <nowiki> From all numbers | From group | From single number; default:</nowiki> '''From all numbers'''
  −
        </td>
  −
</table>
  −
}}
  −
====Monitoring status====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable the Monitoring status function</td>
  −
        <td>Allows you to get monitoring status via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Returns a text message containing information about remote monitoring status</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
Default text: monitoring_status</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====RMS status====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable the RMS status function</td>
  −
        <td>Allows you to get RMS status via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met </td>
  −
        <td>Returns a text message containing information about remote monitoring status</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
Default text: RMS_status</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====RMS action====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
         <td>Enable</td>
  −
        <td>This check box will enable or disable the RMS action function</td>
  −
        <td>Allows you to manage RMS functionality via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>
  −
  <tr>
  −
        <td>State</td>
  −
        <td>The state to which RMS will be set when this rule is met.</td>
  −
        <td>If you set it as ON it will turn on RMS functionality if OFF it will turn it off.</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
Default text: rms_on</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====RMS status====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable the RMS action function</td>
  −
        <td>Allows you to manage RMS functionality via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
Default text: rms_on</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
====Get OpenVPN status====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable the OpenVPN status function</td>
  −
        <td>Allows to get the router‘s OpenVPN status via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Returns an SMS message containing information about an OpenVPN instance's status</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: vpnstatus</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====Manage OpenVPN====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable the Manage OpenVPN function</td>
  −
        <td>Allows OpenVPN control via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
         <td>The action to be performed when this rule is met</td>
  −
         <td>Turns an OpenVPN instance ON or OFF</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
default: vpnon to turn OpenVPN ON; vpnoff to turn OpenVPN OFF
  −
After the SMS text you have to write OpenVPN instance‘s name, e.g., "vpnon client_Client1"</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====Get list of profiles====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
  −
<tr>
  −
        <th>FIELD NAME</th>
  −
        <th>DESCRIPTION</th>
  −
        <th>EXPLANATION, NOTES</th>
  −
</tr>
  −
<tr>
  −
        <td>Enable</td>
  −
        <td>This check box will enable or disable the Get list of profiles function</td>
  −
        <td>Allows you to get the list of profiles via SMS</td>
  −
</tr>
  −
<tr>
  −
        <td>Action</td>
  −
        <td>The action to be performed when this rule is met</td>
  −
        <td>Sends you the list of existing profiles</td>
  −
</tr>
  −
<tr>
  −
        <td>SMS text</td>
  −
        <td>SMS text that will trigger the rule</td>
  −
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
  −
Default text: profdisp</td>
  −
</tr>
  −
<tr>
  −
        <td>Authorization method</td>
  −
        <td>What kind of authorization to use for SIM management</td>
  −
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
  −
        </td>
  −
</tr>
  −
<tr>
  −
        <td>Allowed users</td>
  −
        <td>White list of allowed users</td>
  −
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
  −
        </td>
  −
</table>
  −
 
  −
====Change profile====
  −
----
  −
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
   
     <tr>
 
     <tr>
         <th>FIELD NAME</th>
+
         <td><b>Switch mobile data</b></td>
         <th>DESCRIPTION</th>
+
         <td>mobileon</td>
         <th>EXPLANATION, NOTES</th>
+
         <td>Turns mobile data usage on.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>Enable</td>
+
         <td><b>Switch mobile data</b></td>
         <td>This check box will enable or disable the Change profile function</td>
+
        <td>mobileoff</td>
         <td>Allows changing profiles via SMS</td>
+
        <td>Turns mobile data usage off.</td>
 +
    </tr>{{#ifeq: {{{wifi}}} | 1 |
 +
    <tr>
 +
         <td><b>Switch WiFi</b></td>
 +
        <td>wifion</td>
 +
         <td>Turns the WiFi radio on.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>Action</td>
+
         <td><b>Switch WiFi</b></td>
         <td>The action to be performed when this rule is met.</td>
+
        <td>wifioff</td>
         <td>Changes the current profile to the one specified in the message</td>
+
         <td>Turns the WiFi radio off.</td>
 +
    </tr>|}}
 +
    <tr>
 +
        <td><b>UCI API</b></td>
 +
        <td>uci</td>
 +
         <td>Is used to change the configuration settings on the device. [[Click here|#UCI_API_rule]] for more information on the UCI API rule.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>SMS text</td>
+
         <td><b>Wake on LAN</b></td>
         <td>SMS text that will trigger the rule</td>
+
         <td>wakeup</td>
         <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter. Default text '''pr'''.
+
         <td>Sends a magic packet that "wakes up" a specified device from standby mode. If you have multiple Wake-on-LAN-capable devices, you will have to create a separate rule with a different SMS text for each one. Configuration for each device must include the MAC address of that device.</td>
'''After the SMS text you have to write the Profile's name, e.g., "pr John"'''</td>
   
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>Authorization method</td>
+
         <td><b>Web access control</b></td>
        <td>What kind of authorization to use for SIM management</td>
+
         <td>webon</td>
         <td>Possible values:
+
         <td>Turns remote and local (by default) HTTP and HTTPS access on. This rule can be modified to only include local HTTP/HTTPS access.</td>
        <li>No authorization</li>
  −
         <li>By serial</li>
  −
        <li>By router admin password; default: '''By router admin password'''</li>
  −
        </td>
   
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>Allowed users</td>
+
         <td><b>Web access control</b></td>
        <td>White list of allowed users</td>
+
         <td>weboff</td>
         <td>Possible values:
+
         <td>Turns HTTP and HTTPS access off. This rule can also modified to turn of either HTTP or HTTPS separately.</td>
        <li>From all numbers</li>
  −
         <li>From group</li>
  −
        <li>From single number; default: '''From all numbers'''</li>
  −
        </td>
   
     </tr>
 
     </tr>
 
</table>
 
</table>
   −
====More====
+
===SMS rule execution syntax===
 
----
 
----
<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
+
To execute an SMS rule, send an SMS message to your device's SIM card number with the rule's <b><i>SMS Text</i></b> preceded by the selected <b><i>authorization keyword</i></b>, which depends on the selected <i>authorization method</i>:
<tr>
+
 
        <th>FIELD NAME</th>
+
<ul>
        <th>DESCRIPTION</th>
+
    <li><b>No authorization</b> - no special keyword required; simply send a rule's <i>SMS Text</i>. For example, to execute the <i>reboot</i> rule without authorization:<pre>reboot</pre></li>
        <th>EXPLANATION, NOTES</th>
+
    <li><b>By serial</b> - include the device's serial number before a rule's <i>SMS Text</i>. For example, to execute the <i>iostatus</i> rule with serial authorization:<pre>1111111111 iostatus</pre> <font size="-1"><i>(replace 1111111111 with your device's serial number)</i></font></li>
</tr>
+
    <li><b>By device admin password</b> - include the device's password before a rule's <i>SMS Text</i>. For example, to execute the <i>vpnon</i> rule with password authorization:<pre>admin01 vpnon</pre> <font size="-1"><i>(replace admin01 with your device's admin password)</i></font></li>
<tr>
+
</ul>
        <td>Enable</td>
+
 
        <td>This check box will enable or disable the MORE rule</td>
+
===Modify SMS Rule===
        <td>Provides the possibility to see the next part of the message</td>
+
----
</tr>
+
Every SMS rule can be edited to your liking. If a rule does not meet your requirements, click the click the 'Edit' button next to it. Below are examples of what the configuration page for the <i>reboot</i> rule looks like.
<tr>
+
 
        <td>Action</td>
+
<b>General settings</b>
        <td>The action to be performed when this rule is met</td>
+
----
        <td>Returns a text message containing the next part of the message</td>
+
[[File:Networking_rutos_manual_mobile_utilities_sms_utilities_modify_sms_rule_general.png|border|class=tlt-border]]
</tr>
+
 
<tr>
+
<ol>
        <td>SMS text</td>
+
    <li>The <b>Enable</b> slider turn the rule on or off. In order to use a rule, this slider must be set to 'on'. By default, all existing SMS rules are turned on.</li>
        <td>SMS text that will trigger the rule</td>
+
    <li>The <b>Action</b> dropdown selection specifies which action should be performed when the rule is executed.</li>
        <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
+
    <li>The <b>SMS text</b> field specifies the text that will trigger the rule upon receiving a message.</li>
Default text: more</td>
+
    <li>The <b>Get status via SMS after reboot</b> slider specifies whether the device should send a status report message after an action is executed. The name of this slider may differ from rule to rule and it is only available for some rules.</li>
</tr>
+
    <li>The <b>Send status SMS to other number</b> slider specifies whether the device should send a status report message to another number (besides the original sender). Setting this slider to 'on' will prompt you to enter an additional phone number(s) of the status message recipient(s).</li>
<tr>
+
    <li>The <b>Message text</b> box is used to modify the text that should be included in an SMS rule's response message.</li>
        <td>Authorization method</td>
+
</ol>
        <td>What kind of authorization to use for SIM management</td>
+
 
        <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
+
<b>Authorization</b>
        </td>
+
----
</tr>
+
[[File:Networking_rutos_manual_mobile_utilities_sms_utilities_modify_sms_rule_authorization.png|border|class=tlt-border]]
<tr>
+
 
        <td>Allowed users</td>
+
<ol>
        <td>White list of allowed users</td>
+
    <li>The <b>Authorization method</b> dropdown selection specifies the type of authorization an SMS rule requires (device admin password, serial number or none).</li>
        <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
+
    <li>The <b>Allowed number(s)</b> dropdown selection specifies who can execute an SMS rule (based on phone number).</li>
        </td>
+
</ol>
</table>
+
----
 +
Most rules are configured in a similar manner. However, the configuration does differ from rule to rule, depending on a rule's purpose (selected 'Action'). If you run into trouble when configuring a rule, hover your mouse cursor over the name of a field to see a hint that explains what that field does.
    
===Change mobile data settings (cellular) rule===
 
===Change mobile data settings (cellular) rule===
Line 1,146: Line 243:  
<table class="nd-mantable">
 
<table class="nd-mantable">
 
     <tr>
 
     <tr>
         <td>FIELD NAME</td>
+
         <th>Field</th>
         <td>DESCRIPTION</td>
+
         <th>Description</th>
         <td>EXPLANATION, NOTES</td>
+
         <th>Explanation</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 1,189: Line 286:  
<table class="nd-mantable" >
 
<table class="nd-mantable" >
 
     <tr>
 
     <tr>
         <td>PARAMETER</td>
+
         <th>Parameter</th>
         <td>VALUE</td>
+
         <th>Value</th>
         <td>DESCRIPTION</td>
+
         <th>Description</th>
         <td>DEFAULT MESSAGE EXAMPLE</td>
+
         <th>Default message example</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 1,247: Line 344:     
Each of the above examples contain a single parameter but you can send out multiple parameters in one message. For example, '''"cellular apn=internet service=3gonly"'''. This message would set your APN to "internet" and your Service mode to 3G Only. You can also send a message that would include all of the parameters above: '''"cellular apn=internet dialnumber=*99***1# auth_mode=pap service=3gonly username=user password=pass"'''
 
Each of the above examples contain a single parameter but you can send out multiple parameters in one message. For example, '''"cellular apn=internet service=3gonly"'''. This message would set your APN to "internet" and your Service mode to 3G Only. You can also send a message that would include all of the parameters above: '''"cellular apn=internet dialnumber=*99***1# auth_mode=pap service=3gonly username=user password=pass"'''
      
===UCI API rule===
 
===UCI API rule===
 
----
 
----
The UCI rule lets you set or get any parameter from the router's configuration files.<table class="mw-collapsible mw-collapsed nd-mantable"style="width: 100%">
+
The <b>UCI API</b> rule lets you set or get any parameter from the router's configuration files.
<tr>
+
 
         <th>FIELD NAME</th>
+
<table class="nd-mantable">
         <th>DESCRIPTION</th>
+
    <tr>
         <th>EXPLANATION, NOTES</th>
+
         <th>Field</th>
</tr>
+
         <th>Description</th>
<tr>
+
         <th>Explanation, notes</th>
 +
    </tr>
 +
    <tr>
 
         <td>Enable</td>
 
         <td>Enable</td>
 
         <td>This will enable or disable the UCI API function</td>
 
         <td>This will enable or disable the UCI API function</td>
 
         <td>Allows you to set or get any configurations from the router</td>
 
         <td>Allows you to set or get any configurations from the router</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
 
         <td>Action</td>
 
         <td>Action</td>
 
         <td>The action to be performed when this rule is met.</td>
 
         <td>The action to be performed when this rule is met.</td>
 
         <td>Sets or sends you any specified configurations of the router</td>
 
         <td>Sets or sends you any specified configurations of the router</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
 
         <td>SMS text</td>
 
         <td>SMS text</td>
 
         <td>SMS text that will trigger the rule</td>
 
         <td>SMS text that will trigger the rule</td>
         <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter'''Detailed explanations on how to use this function are presented in the table below'''
+
         <td>SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter'''Detailed explanations on how to use this function are presented in the table below'''</td>
        </td>
+
    </tr>
</tr>
+
    <tr>
<tr>
   
         <td>Modem</td>
 
         <td>Modem</td>
 
         <td>Select which modem you want to use</td>
 
         <td>Select which modem you want to use</td>
 
         <td>Which modem is configured</td>
 
         <td>Which modem is configured</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
 
         <td>Authorization method</td>
 
         <td>Authorization method</td>
 
         <td>What kind of authorization to use for SIM management</td>
 
         <td>What kind of authorization to use for SIM management</td>
         <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''
+
         <td>Possible values: No authorization | By serial | By router admin password; default: '''By router admin password'''</td>
        </td>
+
    </tr>
</tr>
+
    <tr>
<tr>
   
         <td>Allowed users</td>
 
         <td>Allowed users</td>
 
         <td>White list of allowed users</td>
 
         <td>White list of allowed users</td>
         <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''
+
         <td>Possible values: From all numbers | From group | From single number; default: '''From all numbers'''</td>
        </td>
   
</table>
 
</table>
    
The following are syntax examples for the UCI API rule:
 
The following are syntax examples for the UCI API rule:
 +
 
<table class="nd-mantable">
 
<table class="nd-mantable">
<tr>
+
    <tr>
         <th>FIELD NAME</th>
+
         <th>Field</th>
         <th>DESCRIPTION</th>
+
         <th>Description</th>
         <th>EXPLANATION, NOTES</th>
+
         <th>Explanation, notes</th>
</tr>
+
    </tr>
<tr>
+
    <tr>
 
         <td>uci get config.section.option"</td>
 
         <td>uci get config.section.option"</td>
 
         <td>Returns config option value</td>
 
         <td>Returns config option value</td>
 
         <td>'''uci get network.wan.ipaddr''' - returns the router's WAN IP address</td>
 
         <td>'''uci get network.wan.ipaddr''' - returns the router's WAN IP address</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
 
         <td>uci set config.section.option="value"</td>
 
         <td>uci set config.section.option="value"</td>
 
         <td>Sets config option</td>
 
         <td>Sets config option</td>
 
         <td>'''"uci set network.mobile.apn=example"''' - Changes mobile APN to example</td>
 
         <td>'''"uci set network.mobile.apn=example"''' - Changes mobile APN to example</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
 
         <td>uci show config</td>
 
         <td>uci show config</td>
 
         <td>Returns the contents of a config file</td>
 
         <td>Returns the contents of a config file</td>
 
         <td>'''uci show openvpn''' - returns the contents of the openvpn config file</td>
 
         <td>'''uci show openvpn''' - returns the contents of the openvpn config file</td>
</tr>
+
    </tr>
<tr>
+
    <tr>
 
         <td>uci show config.section</td>
 
         <td>uci show config.section</td>
 
         <td>Returns the exact part of a config file (either section or the exact option value)</td>
 
         <td>Returns the exact part of a config file (either section or the exact option value)</td>
         <td>'''uci show network.ppp''' - returns the contents of the ppp interface section from the network config file
+
         <td>'''uci show network.ppp''' - returns the contents of the ppp interface section from the network config file</td>
        </td>
+
    </tr>
</tr>
+
</table>
</table>As you can see, the UCI rule requires that you know the names of the configuration files and the names of the
+
 
sections and parameters that they hold. You can find the config file list and some examples of UCI usage in general in
+
As you can see, the UCI rule requires that you know the names of the configuration files and the names of the sections and parameters that they hold. You can find the config file list and some examples of UCI usage in general in our '''[[UCI command usage]]''' article.
our '''[[UCI command usage]]''' article.
      
===Custom Rules===
 
===Custom Rules===
Line 1,335: Line 430:     
==SMS Gateway==
 
==SMS Gateway==
This section is a summary of the SMS Gateway function in {{{name}}} routers.
+
 
 +
This section provides a summary of the <b>SMS Gateway</b> functions for {{{name}}} devices.
    
===Post/Get===
 
===Post/Get===

Navigation menu