SIM7600G-H 4G for Jetson Nano NDIS

From Waveshare Wiki
Jump to: navigation, search

Initialization

  • open ttyUSB2 via minicom
sudo minicom -D /dev/ttyUSB2
  • Send the following command through minicom to turn on the echo and change to 9001 mode. If other modes are used, the module will restart
ATE1
AT+CUSBPIDSWITCH=9001,1,1

Install the network card driver

sudo apt-get install p7zip-full
wget https://www.waveshare.net/w/upload/0/07/Sim8200_for_jetsonnano.7z
7z x Sim8200_for_jetsonnano.7z -r -o./Sim8200_for_jetsonnano
sudo chmod 777 -R Sim8200_for_jetsonnano
cd Sim8200_for_jetsonnano
sudo ./install.sh

Please do not delete or modify the option directory, qmi_wwan_simcom directory, default.script, install.sh these four directory files, otherwise it will affect the loading of the driver.
If there is an error, please confirm whether the system kernel is 4.9.140-tegra, and take a screenshot of the error message so that engineers can help you analyze and solve the problem.

Run ifconfig -a to see that WWAN0 has been generated
Sim8200 jetsonnano 1.png

Internet test

cd Goonline
make
sudo ./simcom-cm &

You can successfully see that DNS has been generated at the bottom
Sim8200 jetsonnano 2.png

Auto-start after booting

  • Terminal input
cd /etc
sudo nano rc.local
  • Add the following in the created file and save:
#!/bin/bash
sleep 10
sudo /usr/bin/jetson_clocks
sudo dhclient -v usb1
sudo dhclient -v usb0
sudo route add -net 0.0.0.0 usb1
sudo route add -net 0.0.0.0 usb0
  • Grant permissions:
sudo chmod 755 /etc/rc.local