OutdoorRouter XYZ Knowledge BaseOutdoorRouter XYZ Knowledge Base
  • Mobile
  • Wi-Fi
  • Firmware
  • Hardware
  • Development
  • Shop
  • Mobile
  • Wi-Fi
  • Firmware
  • Hardware
  • Development
  • Shop
home/Knowledge Base/Development/Enable debug mode for MobileData protocol

Enable debug mode for MobileData protocol

15 views 0 December 29, 2022

.

If mobile connections have issues, we can enable the debug mode to get the full records of the Mobile interface connection.

The below tutorial is to enable debug mode for the MobileData protocol which integrated for firmware version since EV3117 on Ezen3X series 4G routers.

The MobileData protocol has a built-in terminal to execute AT commands. 
Note: The cellular module from the different vendors are using different AT command sets.

Simply speaking, we need to edit the “mobilemanage” file located at “/etc/init.d/” folder.  Add “–debug” at the end of line #29. Then reboot the router to activate the new setting.

We can access and edit the field on the SSH terminal or using WinSCP software. The below tutorial shows how to access and edit the field on the SSH terminal.

SSH Web Terminal

After accessing the router admin, navigate to “System > Terminal” to access the Web-based SSH terminal.

Input router username “root” and press Enter on the keyboard, then input the router password and also press Enter key to access the router’s SSH terminal.

Note: The router password is invisible when you are inputting it.

Edit File with VI Editor

After accessing the router’s SSH terminal, execute the below command and press Enter on the keyboard.

vi /etc/init.d/modemmanager

We are now in the Command Mode of the VI editor. To edit the file, we need to switch the VI editor to Insert Mode.

On a Windows computer, press “I” on the keyboard.
On Mac, press “Fn+I”.

  1. Press the Down arrow on the keyboard to navigate to the section of “Setup ModemManager service“.
  2. Locate the #29 line with scripts of “procd_set_param command /usr/sbin/ModemManager“.
  3. Press the Right arrow on the keyboard to the end of the #29 line.
  4. Press “–debug” at the end of the #29 line.
Enable Debug Mode for 4G Router

Press “Esc” on the keyboard to return to Command Mode from the Insert Mode.
Press “:wq” on the keyboard to save the file and exit to SSH terminal.

On the SSH terminal, enter the command “reboot” to reboot the router. You can also go to “System > Reboot” to reboot the router.

Tags:DebugDebugging

Was this helpful?

Yes  No
Related Articles
  • Unbrick SIM Card Router with uBoot
  • Collect System Log and Error Message
  • How to Collect The Information for A Simple Debug.

Didn't find your answer? Contact Us

Leave A Comment Cancel reply

Knowledge Bases
  • Mobile Modem
  • Wi-Fi Hotspot
  • Custom Firmware
  • Network Hardware
  • Development
Popular Articles
  • Unbrick SIM Card Router with uBoot
  • Supporting Legacy Wi-Fi Devices
  • WiFi Output Power Settings
  • Adjust the Wi-Fi Output Power
  • 4G Router Firmware Backup Flash Operations

  How to Collect The Information for A Simple Debug.

Collect System Log and Error Message  

Supports
  • Mobile Modem
  • Wi-Fi Hotspot
  • Custom Firmware
  • Network Hardware
Outdoor Router
  • Outdoor 4G Router
  • Indoor 4G Router
  • Outdoor Wi-Fi Extender
  • High-gain 4G Antenna
Information
  • About Us
  • Case Studies
  • Shipping Service
  • Contacts
User’s Manual
  • EZR33 Outdoor Router
  • EZR34 Outdoor Router
  • EZR23 Indoor Router
  • EZR24 CAT12 Modem
  • © 2023 OutdoorRouter. All Rights Reserved.