A7600X RNDIS Dail-up Networking

From Waveshare Wiki
Revision as of 08:06, 28 April 2021 by Eng35 (talk | contribs) (Created page with "* Connect the A7600X 4G HAT to the Raspberry Pi or Jetson Nano via the USB port, and then execute the following commands to check whether ttyUSB1 can be recognized normally, i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Connect the A7600X 4G HAT to the Raspberry Pi or Jetson Nano via the USB port, and then execute the following commands to check whether ttyUSB1 can be recognized normally, if it is successfully recognized, open the port through minicom
ls /dev/ttyUSB*
sudo minicom -D /dev/ttyUSB1
  • Send the following commands through minicom and wait for the module to restart
AT+DIALMODE=0
AT$MYCONFIG="usbnetmode",0

A7600 RNDIS (1).png

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

A7600 RNDIS (2).png

  • Get IP address
sudo dhclient -v usb0
  • And then you can test whether the device can connect the internet normally through usb0 port.

Such as testing a website:

ping -I usb0 www.baidu.com
700px
  • If it still can't connect to the Internet, you can set the dns as follows:
sudo route add -net 0.0.0.0 usb0