Configuration Guide for Internet Access on Different Devices

Last revision 2025/12/30

This comprehensive guide offers detailed steps on configuring internet access for Raspberry Pi and LattePanda using SIM7600G-H 4G Module, including hardware setup, software installation, and troubleshooting tips to ensure seamless connectivity.

Internet Access on Raspberry Pi Raspbian (RNDIS Dial-Up)

Hardware Preparation

Operation Steps

  • First, insert the SD card with the Raspberry Pi system and the SIM card into the Raspberry Pi and the SIM7600G-H 4G Module slot respectively
  • Then power on and open the Raspberry Pi terminal

Software Preparation

  1. Install the Linux platform serial port debugging tool minicom

    sudo apt-get install minicom
    

    If an error message "Cannot find the source of the specified version of lrzsz and minicom" occurs
    You can update the software source list, run the following command in the terminal, and then try to install minicom

    sudo apt-get update
    sudo apt-get upgrade
    
  2. After installation, run minicom:

    minicom -D /dev/ttyUSB2
    

    Note: The default baud rate of the serial port debugging tool and the SIM7600G 4G Module is 115200
    If an error message "minicom: Cannot open file /dev/ttyUSB2: Device or resource busy" appears, disconnect and reconnect the SIM7600G 4G Module, and wait for the network indicator light to light up before trying to run minicom with the command

    Note: minicom can enter the help menu by pressing Ctrl+A and then Z
    In minicom, if the entered command is not displayed, it may be because the local echo (Local Echo) is turned off, you can turn on the local echo through the following steps
    1、In minicom, press "Ctrl+A" to enter command mode.
    2、Then press "Z" to display the help menu.
    3、In the help menu, press "E" to switch the echo mode.

  3. Next, send a command through minicom to change the PID of the module and wait for the module to restart

    AT+CUSBPIDSWITCH=9011,1,1
    
  4. After restarting, use the ifconfig command to check whether the usb0 network card is recognized

    ifconfig
    

    At this time, you can see the network card and address of usb0

  5. Get IP address

    sudo dhclient -v usb0
    
  6. Finally, test whether the usb0 wireless network card can access the Internet normally by pinging Baidu:

    ping -I usb0 www.baidu.com
    

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

    AT+CUSBPIDSWITCH=9001,1,1
    

Internet Access on LattePanda

Hardware Preparation

Operation steps

  • Insert the SIM card into the SIM7600G-H 4G Module slot, then connect the module and LattePanda via USB, and also connect the keyboard and touch screen to LattePanda.

  • Power on and wait for LattePanda to boot

  • Under network status, install the SIMCOM driver according to the method in the sample application

  • After installation, restart LattePanda and check the Simcom port in the device management interface to confirm that the driver of the 4G module has been successfully installed.

  • Finally, find the 4G module as a new network connection in "Change Adapter Settings", right-click and select "Connect", and you can use the 4G module as a network card for LattePanda.

Was this article helpful?

TOP