Difference between revisions of "SMS Utilities"
(Redirected page to SMS Commands) Tag: New redirect |
|||
(93 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ==Summary== | |
− | + | RUT routers have an extensive amount of various SMS control utilities. SMS Utilities can be used to set/get configurations, monitor and issue commands to the router. | |
− | + | ||
− | + | ==SMS Utilities== | |
− | + | ||
− | + | ===Default Rules=== | |
− | + | ||
− | + | The SMS Utilities section contains a list of rules that perform certain actions when they are activated by SMS messages. | |
− | + | ||
− | + | [[Image:Services sms utils.PNG]] | |
− | + | ||
− | + | The figure above is an illustration of the SMS Utilities rules list. The entire list contains 26 rules but you are also be provided with the possibility to configure custom ones. | |
− | + | ||
− | + | All default configuration options are listed below: | |
− | + | ||
− | + | *Reboot | |
− | + | *Get status | |
− | + | *Get I/O status | |
− | + | *Get OpenVPN status | |
− | + | *Switch WiFi on / off | |
− | + | *Switch mobile data on / off | |
− | + | *Switch OpenVPN on / off | |
− | + | *Change mobile data settings | |
− | + | *Get list of profiles | |
− | + | *Change profile | |
− | + | *SSH access control | |
− | + | *Web access control | |
− | + | *Restore to default | |
− | + | *Force SIM switch | |
− | + | *GPS coordinates | |
− | + | *GPS on / off | |
− | + | *FW upgrade from server | |
− | + | *Config update from server | |
− | + | *Switch monitoring on / off | |
+ | *Monitoring status | ||
+ | *UCI API | ||
+ | |||
+ | ===Execution=== | ||
+ | |||
+ | 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 a message with the text '''“reboot”''', the router will reboot provided the selected Authorization method is '''“No authorization”'''. However, if there is an Authorization method present you will need to include the '''“Authorization key”''' in the text message. This '''“Authorization key”''' depends on the chosen '''Authorization method''', i.e., if the method is '''“By serial”''', the '''“Authorization key”''' is the router’s serial number, if the method is '''“By router admin password”''', the “Authorization key” is the router’s admin password. The '''"Authorization key”''' must precede the activation text and they must be separated by a space symbol. For example, if the chosen Authorization method is '''“By router admin password”''' and the password is '''“admin01”''', the entire message should look like this: '''“admin01 reboot”'''. The same applies to '''“By serial”''' authorization. | ||
+ | |||
+ | ===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 section will contain information on editing every signle SMS Utilities rule. | ||
+ | |||
+ | ====Reboot==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable SMS reboot function | ||
+ | | style="vertical-align: top;" | Allows router restart via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met | ||
+ | | Reboots the router | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: '''reboot''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Get status via SMS after reboot | ||
+ | | style="vertical-align: top;" | Check this to receive connection status via SMS after the reboot | ||
+ | | style="vertical-align: top;" | If checked, 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. After checking this, the '''Send status SMS to other number''' field will become available | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Send status SMS to other number | ||
+ | | style="vertical-align: top;" | Enable this if you want the status message to be sent to another (other than the sender) number (s) | ||
+ | | style="vertical-align: top;" | If this is checked, you will be prompted to enter a phone number (s) | ||
+ | This field appears only if you have checked '''Get status via SMS after reboot''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Message text | ||
+ | | style="vertical-align: top;" | Which status information should be included in SMS: | ||
+ | Data state, Operator, Connection type, Signal Strength, Connection State, IP | ||
+ | | style="vertical-align: top;" | You can select which status elements to display | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Status==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable SMS status function | ||
+ | | style="vertical-align: top;" | Allows you to get the router‘s status via SMS. This is both a separate SMS Rule and an option under the SMS Reboot rule | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met | ||
+ | | Returns an SMS message containing information about the status of the router. The type of information contained within the message can be specified in the '''Message text''' field | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: '''status''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Send status SMS to other number | ||
+ | | style="vertical-align: top;" | Enable this if you want the status message to be sent to another (other than the sender) number (s) | ||
+ | | style="vertical-align: top;" | If this is checked, you will be prompted to enter a phone number (s) | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Message text | ||
+ | | style="vertical-align: top;" | Which status information should be included in SMS: | ||
+ | Data state, Operator, Connection type, Signal Strength, Connection State, IP | ||
+ | | style="vertical-align: top;" | You can select which status elements to display | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Get I/O status==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable SMS I/O status function | ||
+ | | style="vertical-align: top;" | Allows you to get the router‘s I/O status via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met | ||
+ | | Returns an SMS message containing information about the Input/Output status of the router | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: '''iostatus''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Send status SMS to other number | ||
+ | | style="vertical-align: top;" | Enable this if you want a status message to be sent to another (other than the sender) number (s) | ||
+ | | style="vertical-align: top;" | If this is checked, you will be prompted to enter a phone number (s) | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Get OpenVPN status==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the OpenVPN status function | ||
+ | | style="vertical-align: top;" | Allows to get the router‘s OpenVPN status via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met | ||
+ | | Returns an SMS message containing information about an OpenVPN instance's status | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: '''vpnstatus''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Send status SMS to other number | ||
+ | | style="vertical-align: top;" | Enable this if you want a status message to be sent to another (other than the sender) number (s) | ||
+ | | style="vertical-align: top;" | If this is checked, you will be prompted to enter a phone number (s) | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Switch WiFi On/Off==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Switch WiFi function | ||
+ | | style="vertical-align: top;" | Allows Wi-Fi control via SMS. | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turns WiFi ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''wifion''' to turn WiFi ON; '''wifioff''' to turn WiFi OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Write to config | ||
+ | | style="vertical-align: top;" | Permanently saves Wi-Fi state | ||
+ | | style="vertical-align: top;" | With this setting enabled, the router will keep the new Wi-Fi state even after reboot. | ||
+ | If it is not selected, the router will revert the Wi-Fi state after reboot | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Switch mobile data ON/OFF==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Switch mobile data function | ||
+ | | style="vertical-align: top;" | Allows mobile control via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turn mobile data ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''mobileon''' to turn mobile data ON; '''mobileoff''' to turn mobile data OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Write to config | ||
+ | | style="vertical-align: top;" | Permanently saves mobile network state | ||
+ | | style="vertical-align: top;" | With this setting enabled, the router will keep the new mobile data state even after reboot. | ||
+ | If it is not selected, the router will revert the mobile data state after reboot | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Manage OpenVPN==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Manage OpenVPN function | ||
+ | | style="vertical-align: top;" | Allows OpenVPN control via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turns an OpenVPN instance ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | 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"''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Get list of profiles==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Get list of profiles function | ||
+ | | style="vertical-align: top;" | Allows you to get the list of profiles via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Sends you the list of existing profiles | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''profdisp''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Change profile==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Change profile function | ||
+ | | style="vertical-align: top;" | Allows changing profiles via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Changes the current profile to the one specified in the message | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text '''pr''' | ||
+ | |||
+ | '''After the SMS text you have to write the Profile's name, e.g., "pr John"''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====SSH access Control==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the SSH access control function | ||
+ | | style="vertical-align: top;" | Allows SSH access control via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turns SSH access ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''ssh''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable SSH access | ||
+ | | style="vertical-align: top;" | Enables or Disables SSH access from LAN | ||
+ | | style="vertical-align: top;" | If this is checked, SMS will enable SSH access from LAN, if not, SMS will disable SSH access from LAN | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable remote SSH access | ||
+ | | style="vertical-align: top;" | Enables or Disables SSH access from WAN | ||
+ | | style="vertical-align: top;" | If this is checked, SMS will enable SSH access from WAN, if not, SMS will disable SSH access from WAN | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Web access Control==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Web access control function | ||
+ | | style="vertical-align: top;" | Allows Web access control via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turns access to WebUI ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''web''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable HTTP access | ||
+ | | style="vertical-align: top;" | Enables or Disables HTTP access from LAN | ||
+ | | style="vertical-align: top;" | If this is checked, SMS will enable HTTP access from LAN, if not, SMS will disable HTTP access from LAN | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable remote HTTP access | ||
+ | | style="vertical-align: top;" | Enables or Disables HTTP access from WAN | ||
+ | | style="vertical-align: top;" | If this is checked, SMS will enable HTTP access from WAN, if not, SMS will disable HTTP access from WAN | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable remote HTTPS access | ||
+ | | style="vertical-align: top;" | Enables or Disables HTTPs access from WAN | ||
+ | | style="vertical-align: top;" | If this is checked, SMS will enable HTTPS access from WAN, if not, SMS will disable HTTPS access from WAN | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Restore to default==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Restore to default function | ||
+ | | style="vertical-align: top;" | Allows you to restore the router to its default settings via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | 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 | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''restore''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Force SIM switch==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Force SIM switch function | ||
+ | | style="vertical-align: top;" | Allows SIM switch via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Forces the router to switch to the other SIM card(the one that is not in use at the moment of receiving the message) | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''switch_sim''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====GPS Coordinates==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the GPS coordinates function | ||
+ | | style="vertical-align: top;" | Allows you to get GPS coordinates via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Sends you GPS coordinates of the router | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''gps''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====GPS ON/OFF==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the GPS ON/OFF function | ||
+ | | style="vertical-align: top;" | Allows you to control GPS via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turns GPS ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''gpson''' to turn GPS ON; '''gpsoff''' to turn GPS OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Force FW upgrade from server==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the FW upgrade from server function | ||
+ | | style="vertical-align: top;" | Allows you to upgrade the router‘s FW via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | 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 | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''fw_upgrade''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Force Config update from server==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Config update from server function | ||
+ | | style="vertical-align: top;" | Allows you to load a different configuration file on to your router via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Upgrades your router's current Configuration 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 | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''config_update''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Switch monitoring ON/OFF==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Switch monitoring function | ||
+ | | style="vertical-align: top;" | Allows you to control monitoring status via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turns remote monitoring ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''monitoringon''' to turn remote monitoring ON; '''monitoringoff''' to turn remote monitoring OFF; | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Monitoring status==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Monitoring status function | ||
+ | | style="vertical-align: top;" | Allows you to get monitoring status via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Returns a text message containing information about remote monitoring status | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''monitoring_status''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ====Switch output ON/OFF==== | ||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Switch output function | ||
+ | | style="vertical-align: top;" | Allows output control via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Turns specified output ON or OFF | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Active timeout | ||
+ | | style="vertical-align: top;" | Make the rule active for a specific time; | ||
+ | format: '''seconds''' | ||
+ | | '''Example:''' if you configure a rule to turn a specific output on and set a 30 s timeout, the output will activate once the router receives the SMS messages and then it will deactivate after a period of 30 s | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Output type | ||
+ | | style="vertical-align: top;" | Which output will be activated | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | Digital OC output {{!}} Relay output; Default: '''Digital OC output''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ===Change mobile data settings (cellular) rule=== | ||
+ | |||
+ | The Change mobile data settings rule is exceptional to most of the other rules as it does not perform a single action like turning specific services On/Off or getting status updates. It designed to change mobile data settings and it's '''SMS text''' can't be described by a single string because the message depends on what configurations you want to change. For example, you can send a message that will change your APN only, you can send a message that will change APN and mobile service mode, or even a message that will change every single mobile setting. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ style="text-align: left;" | Change mobile data settings | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the Change mobile data settings function | ||
+ | | style="vertical-align: top;" | Allows you to change mobile settings via SMS | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Changes the specified mobile settings | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default: '''cellular''' | ||
+ | |||
+ | '''Detailed explanations on how to use this function are presented in the table below''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | The default '''SMS text''' for the Change mobile data settings rule is '''cellular''' but it is only an indication text and does not include any specific parameters to be changed. The list of parameters that can be changed and explanations on how to incorporate them into the '''"cellular"''' message is presented in the table below. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ style="text-align: left;" | Mobile Settings via SMS parameters | ||
+ | ! style="width: 250px; background: black; color: white;" | Parameter | ||
+ | ! style="width: 500px; background: black; color: white;" | Value | ||
+ | ! style="width: 750px; background: black; color: white;" | Description | ||
+ | ! style="width: 200px; background: black; color: white;" | Default message example | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | apn= | ||
+ | | style="vertical-align: top;" | e.g., internet.gprs | ||
+ | | style="vertical-align: top;" | Sets APN | ||
+ | | style="vertical-align: top;" | '''cellular apn=internet.gprs''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | dialnumber= | ||
+ | | style="vertical-align: top;" | e.g., *99***1# | ||
+ | | style="vertical-align: top;" | Sets Dialing number | ||
+ | | style="vertical-align: top;" | '''cellular dialnumber=*99***1#''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | auth_mode= | ||
+ | | style="vertical-align: top;" | {{!}} none {{!}} pap {{!}} chap | ||
+ | | style="vertical-align: top;" | Sets Authentication method | ||
+ | | style="vertical-align: top;" | '''cellular auth_method=pap''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | service= | ||
+ | | style="vertical-align: top;" | {{!}} 2gonly {{!}} 3gonly {{!}} 4gonly {{!}} auto | ||
+ | | style="vertical-align: top;" | Sets the mobile Service mode | ||
+ | | style="vertical-align: top;" | '''cellular service=auto''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | username= | ||
+ | | style="vertical-align: top;" | e.g., user | ||
+ | | style="vertical-align: top;" | Sets the user name for PAP or CHAP authentication | ||
+ | | style="vertical-align: top;" | '''cellular username=user''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | password= | ||
+ | | style="vertical-align: top;" | e.g., pass | ||
+ | | style="vertical-align: top;" | Sets the password for PAP or CHAP authentication | ||
+ | | style="vertical-align: top;" | '''cellular 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.gprs service=3gonly"'''. This message would set your APN to "internet.gprs" and you Service mode to 3G Only. You can also send a message that would include all of the parameters above: '''"cellular apn=internet.gprs dialnumber=*99***1# auth_mode=pap service=3gonly username=user password=pass"''' | ||
+ | |||
+ | ===UCI API rule=== | ||
+ | |||
+ | The UCI rule lets you set or get any parameter from the router's configuration files. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ style="text-align: left;" | UCI API | ||
+ | ! style="width: 250px; background: black; color: white;" | Field name | ||
+ | ! style="width: 500px; background: black; color: white;" | Explanation | ||
+ | ! style="width: 950px; background: black; color: white;" | Notes | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Enable | ||
+ | | style="vertical-align: top;" | This check box will enable or disable the UCI API function | ||
+ | | style="vertical-align: top;" | Allows you to set or get any configurations from the router | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Action | ||
+ | | style="vertical-align: top;" | The action to be performed when this rule is met. | ||
+ | | Sets or sends you any specified configurations of the router | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | SMS text | ||
+ | | style="vertical-align: top;" | SMS text that will trigger the rule | ||
+ | | style="vertical-align: top;" | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter | ||
+ | Default text: '''uci''' | ||
+ | |||
+ | '''Detailed explanations on how to use this function are presented in the table below''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Authorization method | ||
+ | | style="vertical-align: top;" | What kind of authorization to use for SIM management | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | No authorization {{!}} By serial {{!}} By router admin password; Default: '''By router admin password''' | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | Allowed users | ||
+ | | style="vertical-align: top;" | White list of allowed users | ||
+ | | style="vertical-align: top;" | Possible values: | ||
+ | From all numbers {{!}} From group {{!}} From single number; Default: '''From all numbers''' | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | The following are syntax examples for the UCI API rule: | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ style="text-align: left;" | UCI API syntax | ||
+ | ! style="width: 250px; background: black; color: white;" | Syntax | ||
+ | ! style="width: 500px; background: black; color: white;" | Description | ||
+ | ! style="width: 950px; background: black; color: white;" | Default message example | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | uci get config.section.option" | ||
+ | | style="vertical-align: top;" | Returns config option value | ||
+ | | style="vertical-align: top;" | '''uci get network.wan.ipaddr''' - returns the router's WAN IP address | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | uci set config.section.option="value" | ||
+ | | style="vertical-align: top;" | Sets config option | ||
+ | | style="vertical-align: top;" | '''uci set wireless.wifi-iface.key="12345678"''' - sets WiFi interface's password to 12345678 | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | uci show config | ||
+ | | style="vertical-align: top;" | Shows the contents of a config file | ||
+ | | style="vertical-align: top;" | '''uci show openvpn''' - returns the contents of the openvpn config file | ||
+ | |- | ||
+ | ! style="text-align: left; vertical-align: top;" | uci show config.section | ||
+ | | style="vertical-align: top;" | Shows the exact part of config file | ||
+ | | style="vertical-align: top;" | '''uci show network.ppp''' - returns the contents of the ppp interface section from the network config file | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | As you can see, the UCI API rule requires that you know the names of the configuration files and the names of the sections and parameters that they hold. Therefore, it is generally used by advanced users. To find out the configuration file names and their contents, you will need to login to router via SSH or CLI. |
Revision as of 09:08, 5 October 2017
Summary
RUT routers have an extensive amount of various SMS control utilities. SMS Utilities can be used to set/get configurations, monitor and issue commands to the router.
SMS Utilities
Default Rules
The SMS Utilities section contains a list of rules that perform certain actions when they are activated by SMS messages.
The figure above is an illustration of the SMS Utilities rules list. The entire list contains 26 rules but you are also be provided with the possibility to configure custom ones.
All default configuration options are listed below:
- Reboot
- Get status
- Get I/O status
- Get OpenVPN status
- Switch WiFi on / off
- Switch mobile data on / off
- Switch OpenVPN on / off
- Change mobile data settings
- Get list of profiles
- Change profile
- SSH access control
- Web access control
- Restore to default
- Force SIM switch
- GPS coordinates
- GPS on / off
- FW upgrade from server
- Config update from server
- Switch monitoring on / off
- Monitoring status
- UCI API
Execution
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 a message with the text “reboot”, the router will reboot provided the selected Authorization method is “No authorization”. However, if there is an Authorization method present you will need to include the “Authorization key” in the text message. This “Authorization key” depends on the chosen Authorization method, i.e., if the method is “By serial”, the “Authorization key” is the router’s serial number, if the method is “By router admin password”, the “Authorization key” is the router’s admin password. The "Authorization key” must precede the activation text and they must be separated by a space symbol. For example, if the chosen Authorization method is “By router admin password” and the password is “admin01”, the entire message should look like this: “admin01 reboot”. The same applies to “By serial” authorization.
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 section will contain information on editing every signle SMS Utilities rule.
Reboot
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable SMS reboot function | Allows router restart via SMS |
Action | The action to be performed when this rule is met | Reboots the router |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: reboot |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Get status via SMS after reboot | Check this to receive connection status via SMS after the reboot | If checked, 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. After checking this, the Send status SMS to other number field will become available |
Send status SMS to other number | Enable this if you want the status message to be sent to another (other than the sender) number (s) | If this is checked, you will be prompted to enter a phone number (s)
This field appears only if you have checked Get status via SMS after reboot |
Message text | Which status information should be included in SMS:
Data state, Operator, Connection type, Signal Strength, Connection State, IP |
You can select which status elements to display |
Status
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable SMS status function | Allows you to get the router‘s status via SMS. This is both a separate SMS Rule and an option under the SMS Reboot rule |
Action | The action to be performed when this rule is met | Returns an SMS message containing information about the status of the router. The type of information contained within the message can be specified in the Message text field |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: status |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Send status SMS to other number | Enable this if you want the status message to be sent to another (other than the sender) number (s) | If this is checked, you will be prompted to enter a phone number (s) |
Message text | Which status information should be included in SMS:
Data state, Operator, Connection type, Signal Strength, Connection State, IP |
You can select which status elements to display |
Get I/O status
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable SMS I/O status function | Allows you to get the router‘s I/O status via SMS |
Action | The action to be performed when this rule is met | Returns an SMS message containing information about the Input/Output status of the router |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: iostatus |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Send status SMS to other number | Enable this if you want a status message to be sent to another (other than the sender) number (s) | If this is checked, you will be prompted to enter a phone number (s) |
Get OpenVPN status
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the OpenVPN status function | Allows to get the router‘s OpenVPN status via SMS |
Action | The action to be performed when this rule is met | Returns an SMS message containing information about an OpenVPN instance's status |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter; Default text: vpnstatus |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Send status SMS to other number | Enable this if you want a status message to be sent to another (other than the sender) number (s) | If this is checked, you will be prompted to enter a phone number (s) |
Switch WiFi On/Off
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Switch WiFi function | Allows Wi-Fi control via SMS. |
Action | The action to be performed when this rule is met. | Turns WiFi ON or OFF |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: wifion to turn WiFi ON; wifioff to turn WiFi OFF |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Write to config | Permanently saves Wi-Fi state | With this setting enabled, the router will keep the new Wi-Fi state even after reboot.
If it is not selected, the router will revert the Wi-Fi state after reboot |
Switch mobile data ON/OFF
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Switch mobile data function | Allows mobile control via SMS |
Action | The action to be performed when this rule is met. | Turn mobile data ON or OFF |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: mobileon to turn mobile data ON; mobileoff to turn mobile data OFF |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Write to config | Permanently saves mobile network state | With this setting enabled, the router will keep the new mobile data state even after reboot.
If it is not selected, the router will revert the mobile data state after reboot |
Manage OpenVPN
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Manage OpenVPN function | Allows OpenVPN control via SMS |
Action | The action to be performed when this rule is met. | Turns an OpenVPN instance ON or OFF |
SMS text | SMS text that will trigger the rule | 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" |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Get list of profiles
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Get list of profiles function | Allows you to get the list of profiles via SMS |
Action | The action to be performed when this rule is met. | Sends you the list of existing profiles |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: profdisp |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Change profile
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Change profile function | Allows changing profiles via SMS |
Action | The action to be performed when this rule is met. | Changes the current profile to the one specified in the message |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text pr After the SMS text you have to write the Profile's name, e.g., "pr John" |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
SSH access Control
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the SSH access control function | Allows SSH access control via SMS |
Action | The action to be performed when this rule is met. | Turns SSH access ON or OFF |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: ssh |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Enable SSH access | Enables or Disables SSH access from LAN | If this is checked, SMS will enable SSH access from LAN, if not, SMS will disable SSH access from LAN |
Enable remote SSH access | Enables or Disables SSH access from WAN | If this is checked, SMS will enable SSH access from WAN, if not, SMS will disable SSH access from WAN |
Web access Control
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Web access control function | Allows Web access control via SMS |
Action | The action to be performed when this rule is met. | Turns access to WebUI ON or OFF |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: web |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Enable HTTP access | Enables or Disables HTTP access from LAN | If this is checked, SMS will enable HTTP access from LAN, if not, SMS will disable HTTP access from LAN |
Enable remote HTTP access | Enables or Disables HTTP access from WAN | If this is checked, SMS will enable HTTP access from WAN, if not, SMS will disable HTTP access from WAN |
Enable remote HTTPS access | Enables or Disables HTTPs access from WAN | If this is checked, SMS will enable HTTPS access from WAN, if not, SMS will disable HTTPS access from WAN |
Restore to default
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Restore to default function | Allows you to restore the router to its default settings via SMS |
Action | The action to be performed when this rule is met. | 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 |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: restore |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Force SIM switch
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Force SIM switch function | Allows SIM switch via SMS |
Action | The action to be performed when this rule is met. | Forces the router to switch to the other SIM card(the one that is not in use at the moment of receiving the message) |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: switch_sim |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
GPS Coordinates
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the GPS coordinates function | Allows you to get GPS coordinates via SMS |
Action | The action to be performed when this rule is met. | Sends you GPS coordinates of the router |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: gps |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
GPS ON/OFF
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the GPS ON/OFF function | Allows you to control GPS via SMS |
Action | The action to be performed when this rule is met. | Turns GPS ON or OFF |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: gpson to turn GPS ON; gpsoff to turn GPS OFF |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Force FW upgrade from server
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the FW upgrade from server function | Allows you to upgrade the router‘s FW via SMS |
Action | The action to be performed when this rule is met. | 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 |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: fw_upgrade |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Force Config update from server
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Config update from server function | Allows you to load a different configuration file on to your router via SMS |
Action | The action to be performed when this rule is met. | Upgrades your router's current Configuration 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 |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: config_update |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Switch monitoring ON/OFF
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Switch monitoring function | Allows you to control monitoring status via SMS |
Action | The action to be performed when this rule is met. | Turns remote monitoring ON or OFF |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: monitoringon to turn remote monitoring ON; monitoringoff to turn remote monitoring OFF; |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Monitoring status
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Monitoring status function | Allows you to get monitoring status via SMS |
Action | The action to be performed when this rule is met. | Returns a text message containing information about remote monitoring status |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: monitoring_status |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Switch output ON/OFF
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Switch output function | Allows output control via SMS |
Action | The action to be performed when this rule is met. | Turns specified output ON or OFF |
Active timeout | Make the rule active for a specific time;
format: seconds |
Example: if you configure a rule to turn a specific output on and set a 30 s timeout, the output will activate once the router receives the SMS messages and then it will deactivate after a period of 30 s |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
Output type | Which output will be activated | Possible values:
Digital OC output | Relay output; Default: Digital OC output |
Change mobile data settings (cellular) rule
The Change mobile data settings rule is exceptional to most of the other rules as it does not perform a single action like turning specific services On/Off or getting status updates. It designed to change mobile data settings and it's SMS text can't be described by a single string because the message depends on what configurations you want to change. For example, you can send a message that will change your APN only, you can send a message that will change APN and mobile service mode, or even a message that will change every single mobile setting.
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the Change mobile data settings function | Allows you to change mobile settings via SMS |
Action | The action to be performed when this rule is met. | Changes the specified mobile settings |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default: cellular Detailed explanations on how to use this function are presented in the table below |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
The default SMS text for the Change mobile data settings rule is cellular but it is only an indication text and does not include any specific parameters to be changed. The list of parameters that can be changed and explanations on how to incorporate them into the "cellular" message is presented in the table below.
Parameter | Value | Description | Default message example |
---|---|---|---|
apn= | e.g., internet.gprs | Sets APN | cellular apn=internet.gprs |
dialnumber= | e.g., *99***1# | Sets Dialing number | cellular dialnumber=*99***1# |
auth_mode= | | none | pap | chap | Sets Authentication method | cellular auth_method=pap |
service= | | 2gonly | 3gonly | 4gonly | auto | Sets the mobile Service mode | cellular service=auto |
username= | e.g., user | Sets the user name for PAP or CHAP authentication | cellular username=user |
password= | e.g., pass | Sets the password for PAP or CHAP authentication | cellular 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.gprs service=3gonly". This message would set your APN to "internet.gprs" and you Service mode to 3G Only. You can also send a message that would include all of the parameters above: "cellular apn=internet.gprs dialnumber=*99***1# auth_mode=pap service=3gonly username=user password=pass"
UCI API rule
The UCI rule lets you set or get any parameter from the router's configuration files.
Field name | Explanation | Notes |
---|---|---|
Enable | This check box will enable or disable the UCI API function | Allows you to set or get any configurations from the router |
Action | The action to be performed when this rule is met. | Sets or sends you any specified configurations of the router |
SMS text | SMS text that will trigger the rule | SMS text can contain letters, numbers, spaces and special symbols. Capital letters also matter
Default text: uci Detailed explanations on how to use this function are presented in the table below |
Authorization method | What kind of authorization to use for SIM management | Possible values:
No authorization | By serial | By router admin password; Default: By router admin password |
Allowed users | White list of allowed users | Possible values:
From all numbers | From group | From single number; Default: From all numbers |
The following are syntax examples for the UCI API rule:
Syntax | Description | Default message example |
---|---|---|
uci get config.section.option" | Returns config option value | uci get network.wan.ipaddr - returns the router's WAN IP address |
uci set config.section.option="value" | Sets config option | uci set wireless.wifi-iface.key="12345678" - sets WiFi interface's password to 12345678 |
uci show config | Shows the contents of a config file | uci show openvpn - returns the contents of the openvpn config file |
uci show config.section | Shows the exact part of config file | uci show network.ppp - returns the contents of the ppp interface section from the network config file |
As you can see, the UCI API rule requires that you know the names of the configuration files and the names of the sections and parameters that they hold. Therefore, it is generally used by advanced users. To find out the configuration file names and their contents, you will need to login to router via SSH or CLI.