Hello, Alex
Thank you for getting in touch with us.
It is indeed possible to establish RS232 console mode without needing to access the WebUI. However, it’s important to note that accessing the router’s WebUI is still necessary to enable remote SSH connection on your router, which allows you to access the router’s command-line through WAN.
Depending on your network topology, and especially if you plan to access the router through a public IP, such as on the mobile WAN interface, it’s essential to ensure that your SIM card is provisioned with a public IP.
In your situation, our Remote Management System (RMS) could be extremely beneficial. By adding your devices to RMS, you can access them via remote SSH without requiring access to the router’s WebUI. This means you can connect from any location you prefer without being in the router’s LAN. This capability extends to multiple devices simultaneously. Moreover, it’s worth noting that with RMS, your devices do not need to have public IPs; you can still access them remotely. Furthermore, utilizing the RMS task manager, you have the capability to send CLI commands to multiple routers simultaneously, and you can configure these commands to run periodically.
For further details about our Remote Management System, please visit the following link : RMS - Remote management system
Once you can access router from command line interface, you would need to follow these steps to configure RS232 console through command line:
- Login to your router command line interface.
- RS232 console configuration file can be found on the /etc/config directory. It‘s called rs_console. You can print out your RS232 configuration with command cat /etc/config/rs_console.
In cases where there is no configuration in place, the ‘rs_console’ will remain empty.
- To enable RS232 console mode through command line you need to write on that /etc/config/rs_console file these settings. You can do this with command vim /etc/config/rs_console :
config console ‘1’
option name ‘test’
option baudrate ‘9600’
option databits ‘8’
option device ‘/dev/rs232’
option stopbits ‘1’
option enabled ‘1’
option parity ‘none’
option flowcontrol ‘none’
You have the flexibility to customize all of these values according to your preferences.
- Save changes on that file. You have successfully configured your RS232
Additionally, it is worth noting that all of these manual steps can be easily automated using the RMS Task Manager. This configuration can be dispatched to multiple devices simultaneously, eliminating the need for separate connections to each device.
For more detailed guidance on configuring RUT956 RS232, please refer to the following resource: RUT956 RS232 - Teltonika Networks Wiki While it primarily covers the configuration within the WebUI, you will also find explanations for various fields and their values.
Additionally, there is an alternative solution available. By utilizing the Software Development Kit (SDK), you have the option to compile firmware with the console port enabled by default. For detailed instructions regarding the SDK, please refer to the following resource: RUTOS Software Development Kit instructions - Teltonika Networks Wiki
Regarding passwords, you are absolutely correct; the default password is always indicated on the router’s bottom, and there are no alternative default passwords.
For transferring files between Linux and RutOS, you can utilize the ‘scp’ command via the command line. Additionally, there’s an option to transfer files between RutOS and Windows using the ‘WinSCP’ application.
Comprehensive instructions for these processes can be found on our wiki page: Upload & Download Files from RutOS - Teltonika Networks Wiki
In summary, I am pleased to confirm that you will have the capability to establish serial communication without needing to access the device’s WebUI. Additionally, you will be able to facilitate file transfers from the router via the command-line interface.
Best Regards,
Julius