SIM7600X ECM dial-up Internet

From Waveshare Wiki
Revision as of 02:43, 3 February 2023 by Eng52 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • The SIM7600 module is connected to the Raspberry Pi or Jetson Nano through the USB port, and then executes the command to see if ttyUSB2 can be recognized normally. If it can, open the port through the minicom:
ls /dev/ttyUSB*
sudo minicom -D /dev/ttyUSB2
  • Send the following commands via minicom, and then wait for the module to restart
AT+CUSBPIDSWITCH=9018,1,1

SIM7600X EMC (3).png

  • Enter ifconfig to check heck whether a usb0 network card is recognized
ifconfig

SIM7600X-RNDIS-2.jpg

  • Get the ip address (if there is no usb0 network card, it is also obtained through this command)
sudo dhclient -v usb0
  • Use the following command to ping Baidu website through the usb0 wireless network card to test whether it can normally connect to the Internet:
ping -I usb0 www.baidu.com
  • If you still can't connect to the Internet, you can set dns as follows:
sduo route add -net 0.0.0.0 usb0

If you are using Jetson Nano, it may be a usb1 wireless network card, the corresponding command above usb0 needs changed to usb1:

SIM7600X-RNDIS-3.jpg

Note: In the ECM dial-up mode of SIM7600X, the USB cannot be recognized by the main control system such as Raspberry Pi. If you need to use USB debugging, you can use UART serial port (ttyS0 for Raspberry Pi; Jetson Nano is ttyTHS0) to back to the 9011 mode:

sudo minicom -D /dev/ttyS0
AT+CUSBPIDSWITCH=9001,1,1

SIM7600 EMC 9001.png