How to set up Raspberry Pi Zero W as a 3G 4G router

From Waveshare Wiki
Jump to: navigation, search

Software Installation

  • Copy the following commands to the Raspberry Pi terminal (installation will be completed in about half an hour)
sudo apt update && sudo apt install network-manager network-manager-gnome openvpn openvpn-systemd-resolved network-manager-openvpn network-manager-openvpn-gnome -y && sudo apt purge openresolv dhcpcd5 -y && sudo ln -sf /lib/systemd/resolv.conf /etc/resolv.conf && sudo reboot 
3G 4G zero 0.png

SIM7600 dial-up Internet

  • After the above software is installed, a new network icon will appear. Right-click this icon and click 'Edit Connections'.
Zero routing 1.png
  • Click here to create a connection
Zero routing 2 (1).png
  • Select Mobile Broadband -> Create
3G 4G route.png
  • Select the corresponding region and operator
3G 4G route 4.png
  • Set the APN according to the SIM card operator, and set APN to cmnet.
3G 4G route(3).png
  • Use *99# to dial by default
Dial up route.png
  • Enter the general settings bar -> check 'All users may connect to this network' && 'Automatically connect to VPN'
3G 4G route 5.png
  • Left-click the network icon -> turn on the SIM7600X network card
SIM7600 3G 4G route.png

Open hotspot

  • Create Wi-Fi connection
3G 4G creat wifi.png
  • You can customize the Connection name and SSID, and then select Hotspot mode -> Select Automatic band, as shown below:
Zero routing 123454678.png
  • Enter WiFi security settings->WPA & WPA2 Personal->then set your password (at least eight digits, support pure numbers)
SIM7600B security.png
  • Then set the 'All users may connect to this network' && 'Automatically connect to VPN'
3G 4G route 5.png
  • Turn on the mobile phone and other devices to connect to the hotspot
Phone route SIM7600B.png