Difference between revisions of "Raspberry Pi networked via RNDIS"

From Waveshare Wiki
Jump to: navigation, search
 
Line 19: Line 19:
 
<font color="red">Note: If you need to switch to the windows system to use, or restore to the default settings of the module, you can send the following command:</font>
 
<font color="red">Note: If you need to switch to the windows system to use, or restore to the default settings of the module, you can send the following command:</font>
 
  AT+CUSBPIDSWITCH=9001,1,1
 
  AT+CUSBPIDSWITCH=9001,1,1
 +
==More ways to dial==
 +
[https://www.waveshare.com/wiki/SIM7600X_ECM_dial-up_Internet SIM7600X ECM dial-up Internet]

Latest revision as of 03:22, 11 May 2022

  • Execute the following commands to check whether ttyUSB2 can be recognized normally, if it is successfully recognized, open the port through minicom
ls /dev/ttyUSB*
sudo minicom -D /dev/ttyUSB2
  • Send the following commands through minicom and wait for the module to restart
AT+CUSBPIDSWITCH=9011,1,1

SIm7600-RNDIS-1.jpg

  • Run the ifconfig command to see if a USB0 card is identified
ifconfig

SIM7600-RNDIS-2.jpg

  • Get IP address
sudo dhclient -v usb0

SIM7600-RNDIS-3.jpg

Note: If you need to switch to the windows system to use, or restore to the default settings of the module, you can send the following command:

AT+CUSBPIDSWITCH=9001,1,1

More ways to dial

SIM7600X ECM dial-up Internet