Preparation: 1 BPI-R4, 1 4G module EC25-EM
Plug your EC25-EM module into the M.2 KEYB interface of R4
First you need to use ifconfig to see if the device has been successfully dialed.
root@OpenWrt:/# ifconfig
wwan0 Link encap:Ethernet HWaddr 0E:5F:A9:EC:A2:AF
inet addr:10.98.41.88 Mask:255.255.255.240
inet6 addr: fe80::c5f:a9ff:feec:a2af/64 Scope:Link
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:612 (612.0 B) TX bytes:656 (656.0 B)
If you cannot get the ip, try to dial back using
quectel-CM
ping external network discovery is OK, but R4’s lan port and WiFi are unable to connect to the Internet.
At this point, we need to configure the device with a 4G module. Open the “Network-Interfaces” interface on the web.
Devices with added 4G modules
Add firewall settings
Save and apply, and you will be able to connect to the WiFi and LAN ports and access the internet on the R4 equipped with EC25-EM.