Difference between revisions of "A7600X RNDIS Dail-up Networking"

From Waveshare Wiki
Jump to: navigation, search
(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...")
 
Line 20: Line 20:
 
  ping -I usb0 www.baidu.com
 
  ping -I usb0 www.baidu.com
  
:[[File:ping -I usb0 www.baidu.com|700px]]
+
:[[File:A7600_RNDIS_(3).png|700px]]
  
 
* If it still can't connect to the Internet, you can set the dns as follows:
 
* 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
 
  sudo route add -net 0.0.0.0 usb0

Revision as of 08:08, 28 April 2021

  • 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
A7600 RNDIS (3).png
  • 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