4G LTE Function
The GW102 provides a Micro SIM card port on the side of the gateway, which uses a standard Micro SIM card socket with the “Micro SIM” logo on the case, and is installed with the notch facing outward and on the right side of the case opening. Users can choose a SIM card from different carriers depending on the type of built-in 4G module.
The GW102 gateway supports connectivity to 4G cellular networks, and the antenna connector option is an SMA antenna holder (external threaded female hole) located on the side of the gateway with the silkscreen name 4G.
The 4G antenna interface diagram is as follows:
The side of GW102 gateway provides a Micro SIM card interface. It adopts a standard Micro SIM card socket and the silk-screened characters on the shell are "SIM". Users can select different SIM cards from different operators according to the type of the built-in 4G module.
The size of the SIM card is as follows
GW102 gateway uses Micro-sized SIM card.
The physical picture of 4G SIM card is as follows.:
Illustration of 4G SIM Card Installation
Before using 4G network, you need to insert a Micro SIM card first and make sure that the network data service has been activated. When installing, the notch of the card should face outward, the chip should be downward, and the notch should be on the right side of the opening of the housing.
The GW102 gateway supports the installation of 4G modules with Mini-PCIE interface. The embedded Linux system is pre-installed and it already supports the drivers for most of the 4G modules available on the market. After installation, it can be used directly.
The current system already supports the driver for the following 4G module models.
Model | USB VID/PID | Vendor | Speed |
---|---|---|---|
EC200S-CN | 2c7c:6002 | Quectel(移远) | CAT.1 |
L610 | 1782:4d11 | Fibocom(广和通) | CAT.1 |
Air724UG | 1782:4e00 | 合宙(Luat) | CAT.1 |
GM196 | GOSUN(高新兴) | CAT.1 | |
EC200M-CN | Quectel(移远) | CAT.1 | |
EC200A-CN | Quectel(移远) | CAT.4 |
After the module of the above model is inserted into the USB Host interface or connected to the USB signal cable, the system recognizes the module and the corresponding serial port or network device appears.
由于厂商供货周期原因,非批量采购产品配置带4G模块的,会随机安装不同厂商或不同型号的模块。如有指定厂商型号的需求,请及时向销售说明。
GM196模组
ltetool -dev gw102 -lte GM196 -c
广和通L610-CN
在GW102网关上电前,请再次检查4G模块是否安装正确,SIM卡插入方向是否正确。
进入系统后执行如下命令来连接4G网络
ltetool -c
断开4G网络
ltetool -d
移远EC20系列模块
PanGu开发板上,EC20模块使用QMI方式来拨号,可以获得更好的网络速度。
连接后,进入系统,使用lsusb可以看到已经识别到usb设备了,并且/dev下也有usb的串口。使用ifconfig可以看到有wwan0设备,说明QMI驱动也识别正常。
root@pangu:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@pangu:~# ls /dev/ttyUSB*
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3
root@pangu:~# ifconfig wwan0
wwan0 Link encap:Ethernet HWaddr 26:A4:EA:8D:C1:2B
BROADCAST NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
然后就可以使用quectel-CM命令来连接网络,连接后,可以看到获取到了网络IP地址和网关地址。
root@pangu:~# quectel-CM
[11-09_10:18:26:772] WCDMA<E_QConnectManager_Linux&Android_V1.1.34
[11-09_10:18:26:772] quectel-CM profile[1] = (null)/(null)/(null)/0, pincode = (null)
[11-09_10:18:26:774] Find /sys/bus/usb/devices/1-1.2 idVendor=2c7c idProduct=0125
[11-09_10:18:26:774] Find /sys/bus/usb/devices/1-1.2:1.4/net/wwan0
[11-09_10:18:26:774] Find usbnet_adapter = wwan0
[11-09_10:18:26:775] Find /sys/bus/usb/devices/1-1.2:1.4/usbmisc/cdc-wdm0
[11-09_10:18:26:775] Find qmichannel = /dev/cdc-wdm0
[11-09_10:18:26:805] cdc_wdm_fd = 7
[11-09_10:18:26:899] Get clientWDS = 19
[11-09_10:18:26:931] Get clientDMS = 1
[11-09_10:18:26:963] Get clientNAS = 3
[11-09_10:18:26:995] Get clientUIM = 1
[11-09_10:18:27:027] Get clientWDA = 1
[11-09_10:18:27:059] requestBaseBandVersion EC20CFDR02A08M4G 1 [Nov 30 2016 04:00:00]
[11-09_10:18:27:155] requestGetSIMStatus SIMStatus: SIM_READY
[11-09_10:18:27:187] requestGetProfile[1] 3gnet///0
[11-09_10:18:27:219] requestRegistrationState2 MCC: 460, MNC: 11, PS: Attached, DataCap: LTE
[11-09_10:18:27:251] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[11-09_10:18:27:315] requestRegistrationState2 MCC: 460, MNC: 11, PS: Attached, DataCap: LTE
[11-09_10:18:27:347] requestSetupDataCall WdsConnectionIPv4Handle: 0x8793db10
[11-09_10:18:27:411] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[11-09_10:18:27:444] ifconfig wwan0 up
[11-09_10:18:27:476] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.29.2
udhcpc: sending discover
udhcpc: sending select for 10.63.239.243
udhcpc: lease of 10.63.239.243 obtained, lease time 7200
[11-09_10:18:27:951] /etc/udhcpc.d/50default: Adding DNS 61.134.1.6
[11-09_10:18:27:951] /etc/udhcpc.d/50default: Adding DNS 218.30.19.40
网络测速
root@gw102:~# speedtest
Speedtest by Ookla
[error] Error: [0] Cannot read from socket:
Server: Lanzhou,China Mobile,Gansu - Lanzhou (id = 16145)
ISP: China Telecom
Latency: 46.69 ms (1.29 ms jitter)
Download: 9.05 Mbps (data used: 11.6 MB)
Upload: 4.73 Mbps (data used: 2.3 MB)
Packet Loss: Not available.
Result URL: https://www.speedtest.net/result/c/087f1b3b-deaf-48dc-8ace-d84fd6164eff
最后编辑:SteveChen 更新时间:2025-04-23 00:46