Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
lsusb ls /dev
wget https://www.waveshare.com/w/upload/1/1e/SIM820X_RNDIS.zip sudo apt-get install python3-pip sudo pip3 install pyserial sudo apt-get install unzip unzip SIM820X_RNDIS.zip sudo chmod 777 SIM820X_RNDIS.py sudo python3 SIM820X_RNDIS.py
ls /dev/ttyUSB* sudo apt-get install minicom sudo minicom -D /dev/ttyUSB2
at+cusbcfg=usbid,1e0e,9011
ifconfig
ping -I usb0 www.baidu.com
sudo dhclient -v usb0 sudo apt-get install udhcpc sudo udhcpc -i usb0 sudo route add -net 0.0.0.0 usb0
sudo ifconfig usb0 up
at+cusbcfg=usbid,1e0e,9001
sudo nano /etc/dhcpcd.conf
Add the national DNS address at the top of the text:
static domain_name_servers=8.8.8.8 114.114.114.114
sudo nano /etc/resolv.conf
If you are connected to WIFI, ETH, and 5G at the same time, if you want to use one of them to access the Internet first, for example, usb0 has priority over the eth0 network card to access the Internet, you can configure it according to the following steps:
sudo nano /etc/dhcpcd.conf
interface usb0 metric 200 interface eth0 metric 300