Guide to Configuring Teltonika RUTX50: SIM Switching, Email Alerts, and Auto Reboot
For IoT projects, routers play a crucial role in ensuring good connectivity. A reliable connection is especially important when developing industrial IoT applications. During one of our projects, we came across Teltonika and had the opportunity to work with the Teltonika RUTX50 Router.
Official: https://teltonika-networks.com/products/routers/rutx50
US : Amazon
Non US: Amazon
We’re excited to share our experience with this powerful and versatile device. In this guide, we will guide you through some applications of Teltonica.
The Importance of Teltonika RUTX50 Routers
Teltonika’s RUTX50 router is a robust, industrial-grade cellular router designed to provide reliable and secure connectivity for various applications (remote monitoring, IoT systems, enterprise-level networking, etc.).
Its compact form factor, high-speed 5G/LTE, advanced Wi-Fi, and an array of configurable features make it a versatile option for industries like retail, transportation, energy, and more.
Key reasons why RUTX50 routers are important
- Reliability: Dual SIM support ensures consistent uptime by automatically switching to a backup SIM if the primary network fails.
- Flexibility: Multiple WAN interfaces (Ethernet, 5G/LTE) support diverse deployment scenarios.
- Security: Built-in firewall, VPN capabilities, and remote management options protect your network from threats.
- Scalability: Easily manage large fleets of routers remotely using Teltonika’s Remote Management System (RMS).
Main Features of the RUTX50
- 5G & LTE Connectivity: High-speed cellular connections with fallback to 4G and 3G if needed.
- Dual SIM: Automatic failover or backup, ensuring minimal downtime.
- Wi-Fi 6: Advanced wireless performance for client devices.
- Gigabit Ethernet Ports: Fast LAN and WAN throughput for bandwidth-intensive environments.
- Advanced Software: Teltonika’s RutOS with features such as Event Reporting, Auto Reboot, VPN, and customizable firewall rules.
Logging into the Router
Physical Setup
- Insert your active SIM card(s) into the SIM slots.
- Connect the router’s LAN port to your computer if needed.
- Power on the router using the provided power adapter.
Accessing the Web Interface
- Open a web browser on a device connected to the router (via Ethernet or Wi-Fi).
- By default, the router’s LAN IP is usually 192.168.1.1 (check documentation or router label).
- Enter the IP address in your browser’s address bar (e.g., http://192.168.1.1/login).
- Enter your Username and Password (noted on the router label).
Configuring Email Alerts
Setting up email alerts allows the router to send notifications for specific events — like reboots, SIM switches, or connection failures.
Enable Email Recipient in Administration
- Go to System > Administration.
- Click on the Recipient or Email Users tab (the tab name can vary based on firmware).
- Click on Add to configure a new email recipient.
Email Configuration
Secure Connection: Turn it On (typically TLS/STARTTLS for Gmail).
SMTP Server: smtp.gmail.com.
SMTP Server Port: 587 (TLS/STARTTLS).
Credentials: Turn it On.
- Username: The Gmail address you are using to send the emails.
- Password: Use an App Password created in your Google Account (not your regular Gmail password).
Sender: Enter the same Gmail address or an alias if configured.
Verify Authenticity: Typically should be ON for security, but if you face issues, you can toggle it Off.
Click Save.
To set up an App Password for Gmail, go to Manage Google Account > Security > and make sure two-step verification is enabled. (If not, you will not be allowed to create an app password.)
Type “app passwords” in the search bar and click “App passwords.”
Add a name for the app( eg, “Teltonic Router 1”) and click create.
Then you will see the app password. Just copy and note it. Click Done.
Setting Up Event Reporting
Once your email settings are in place, you can configure the router to send you alerts when certain events occur.
Go to Services > Events Reporting.
Click Add to create a new event trigger.
Enable Event: Toggle on.
Event Type: e.g., Reboot.
Event Subtype: (select the specific reboot subtype or other event categories.)
Action: Select Send Email from the drop-down.
Subject & Body: Enter a custom subject and body text for your email alert.
Sender’s Email Account: Select the email account you configured previously.
Add Receiver(s): Type in the email address(es) to receive the alert.
Click Save.
Setting Up Auto Reboot
This feature allows the router to periodically check a specific host (e.g., 8.8.8.8) and automatically reboot itself if the connection is lost. This is useful in remote locations where manual reboots are impractical.
Go to System > Maintenance > Auto Reboot.
Click Add to set up a new rule.
Enable: Toggle on.
Type: Select Ping.
Action if no echo is received: Device Reboot.
Interval: How often the router pings the host (e.g., 5 minutes).
Interval Count: After how many failures the action is triggered (e.g., fail 5 consecutive times before rebooting).
Timeout (sec): 5 (the router will wait 5 seconds for a reply).
Packet Size: 56 bytes (standard size).
Interface: Select your WAN or let it set Automatically if you are unsure.
IP Type: IPV4.
Action Condition: When all requests fail (ensures it only reboots if every ping fails).
Host to Ping: 8.8.8.8 (Google DNS).
Click Save.
Cloud-Based Monitoring for Teltonika RUTX50: Backend Server for Email Alerts on Connection Loss
In some cases, you may need to receive an email notification when the router loses connection, but the built-in email alert system might not work due to the lack of an internet connection.
A practical solution is to set up a backend server hosted in the cloud to monitor the router’s connectivity and send alerts when the connection is lost.
How It Works
- The router is configured to ping a backend server at regular intervals. Use another event in auto reboot for the task
- If the backend stops receiving pings for a predefined duration (e.g., 5 or 10 minutes), it assumes the router has lost connectivity.
- The backend then triggers an email alert to notify the user about the downtime.
Why Use This Approach?
- Reliable Alerting: Since the email is sent from a cloud-hosted backend rather than the router, it works even when the router is completely offline.
- Scalability: This method can be extended to monitor multiple routers and provide a centralized monitoring solution.
Configuring SIM Switching
Dual SIM functionality ensures network redundancy by automatically switching to a secondary SIM if the primary SIM loses connectivity or meets custom failover criteria.
Go to Network > Mobile > SIM Switch (menu options may vary slightly by firmware).
Arrange Priority by dragging SIM1 or SIM2 if needed (SIM1 is typically the default primary).
Add a new rule or modify the existing rule.
Enable the feature and set the monitoring intervals (e.g., check every 5 minutes, switch after X failures).
Method: Choose LCP echo or Ping (LCP echo is usually the default for mobile connections).
Enable conditions such as No Network or Data Connection Fail.
Repeat steps as necessary for both SIM cards.
Click Save.
Final Checks & Troubleshooting
- Test Email Alerts: Go back to your System > Administration page and look for a Test Email or Send Test button to confirm your email settings are correct.
- Check Logs: If alerts are not received, check the System Logs or Events Logs for errors related to email sending or event triggers.
- Monitor Connectivity: Ensure your ping-based Auto Reboot and SIM Switch settings work as expected by simulating a network failure.
- Keep Firmware Updated: Teltonika periodically releases firmware updates that add features and fix bugs, so ensure your RUTX50 is running the latest stable version.
Conclusion
By following the steps above, you can configure the Teltonika RUTX50 router to:
- Send Email Alerts for various system events (like reboots or SIM switches).
- Automatically Reboot if the connection to the internet fails.
- Switch SIM Cards to maintain connectivity when your primary SIM fails.
These features help ensure maximum uptime, provide timely notifications for network changes, and reduce the need for manual interventions.
With its industrial-grade reliability and robust firmware features, the RUTX50 is an excellent choice for businesses and organizations that demand consistent and secure connectivity in mission-critical scenarios.
Additional Resources
- Teltonika Official Documentation
- Firmware Upgrade Guide for RUTX50
- Teltonika RMS (Remote Management System)
Good Luck with your IoT Project!
If you have questions or need assistance, contact support at info@protonest.co.
Ready to start your IoT journey? Visit Protonest’s IoT System Design Tool which will guide you through the complete process of IoT system development.
https://iot-system-design-tool.protonest.co/
Contact us for any consultations or projects related to IoT and embedded systems.
Email: info@protonest.co
Protonest for more details.
Protonest specializes in transforming IoT ideas into reality. We offer prototyping services from concept to completion. Our commitment ensures that your visionary IoT concepts become tangible, innovative, and advanced prototypes.
For more details: https://www.protonest.co/
Cheers!