BG95-M3 usbnet ecm/rmnet

Hi,

I’m having some difficulties getting the BG95-M3 to work in EMC or RMNET modes.

Linux Kernel: 4.4.194
Processor: Rockchip PX30
OS: Buildroot 2018.02-rc3
Firmware: BG95M3LAR02A03_01.014.01.014

ECM

AT+QCFGEXT="usbnet","ecm"
OK

I get the eth1 interface, it gets the IP address 192.168.225.20 from DHCP (I don’t know where it gets that address from), but ping 8.8.8.8 doesn’t work.

$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:A0:C6:51:E5:50
          inet addr:192.168.225.20  Bcast:192.168.225.255  Mask:255.255.255.0
          inet6 addr: fe80::6e5c:3a7a:b3c5:302f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:771 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4214 (4.1 KiB)  TX bytes:69447 (67.8 KiB)

$ ip route
default via 192.168.225.1 dev eth1
10.1.10.0/24 dev wlan0 scope link  src 10.1.10.41  metric 303
169.254.0.0/16 dev eth0 scope link  src 169.254.40.236  metric 202
192.168.225.0/24 dev eth1 scope link  src 192.168.225.20

$ ping 8.8.8.8 -I eth1 -c 4
PING 8.8.8.8 (8.8.8.8) from 192.168.225.20 eth1: 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3000ms

RMNET (QMI)

AT+QCFGEXT="usbnet","rmnet"
OK

I get a wwan0 interface, but it fails to obtain an IP address from DHCP

Output from some AT commands:

AT+COPS=?
+COPS: (2,"AT&T","AT&T","310410",8),(1,"T-Mobile","T-Mobile","310260",0),(1,"T-Mobile","T-Mobile","310260",8),(1,"Verizon","Verizon","311480",8),(1,"Sprint","Sprint","310120",8),(1,"313 100","313 100","313100",8),(1,"311 882","311 882","311882",8),(1,"Verizon","Verizon","311480",9),(1,"311 490","311 490","311490",8),(1,"312 530","312 530","312530",8),(1,"312 250","312 250","312250",8),,(0,1,2,3,4),(0,1,2)

AT+CGDCONT?
+CGDCONT: 1,"IP","super","0.0.0.0",0,0,0
+CGDCONT: 2,"IPV4V6","ota.super","0.0.0.0",0,0,0

AT+CREG?
+CREG: 0,5

AT+CEREG?
+CEREG: 0,5

AT+CGREG?
+CGREG: 0,4

I would greatly appreciate any help making this work.

Hi,
Currently BG95M3 not support rmnet, but ECM should be OK, Have you tried ping from serial port? e.g AT+QPING=1,“8.8.8.8”?

Then why does it not fail when I run `AT+QCFGEXT=“usbnet”,“rmnet”?

Also, is it possible ECM doesn’t work with roaming?