RNDIS Dial-Up

From Waveshare Wiki
Jump to: navigation, search
  • SIM7600 module is connected to the Raspberry Pi or Jetson Nano through the USB port, and then execute the command to see if the ttyUSB2 can be recognized normally. If possible, open the port through minicom:
ls /dev/ttyUSB*
sudo apt-get install minicom
sudo minicom -D /dev/ttyUSB2
  • Send the following command through minicom, then wait for the module to restart
AT+CUSBPIDSWITCH=9011,1,1

SIM7600X-RNDIS-1.png

  • ifconfig to see if 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
  • Test whether ping Baidu through usb0 wireless network card can connect to the Internet normally:
ping -I usb0 www.baidu.com
  • If you can't connect to the Internet, you can set up dns, as follows:
sudo route add -net 0.0.0.0 usb0

SIM7600X-RNDIS-3.jpg

Note: If you need to switch to the Windows system, or restore the default settings of the module, you can send the following command through the serial port to restore:

AT+CUSBPIDSWITCH=9001,1,1

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

More Dail-up Methods