@bmork I need your help.
Router: ZTE MF286R with modem - Marvell based PXA1826, see https://github.com/openwrt/openwrt/pull/9274
Modem:
OK
ati
Marvell
OK
at+cgmr
BD_ENAUTMF286RMODULEV1.0.0B07
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1489 Rev=ff.ff
S: Manufacturer=ZTE
S: Product=ZTE
S: SerialNumber=123456789ABCD
C:* #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr= 2mA
A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03
A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01
I:* If#= 0 Alt= 0 #EPs= 1 Cls=e0(wlcon) Sub=01 Prot=03 Driver=rndis_host
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=1ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=ff Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Problem - connection is not working. I use these commands (discovered by sniffing original firmware):
(SIM is pinless, APN is internet - Polish ISP Play)
AT+ZGDCONT=5,"IP","internet",0
AT+ZGPCOAUTH=5,"","",0
AT+ZGACT=1,5
In terminal:
OK
AT+CFUN=1
OK
AT+ZGDCONT=5,"IP","internet",0
OK
AT+ZGPCOAUTH=5,"","",0
OK
AT+ZGACT=1,5
OK
+ZCONSTAT: 1,5
+ZGIPDNS: 5,"IP","10.155.212.195","10.155.212.195","185.89.185.2","89.108.202.21","","","",""
at+cpin?
+CPIN: READY
Terminating...
Skipping tty reset...
Thanks for using picocom
Now, I can use dhcp on interface usb0:
root@OpenWrt:~# ifconfig usb0 up
root@OpenWrt:~# udhcpc -i usb0
udhcpc: started, v1.33.2
udhcpc: sending discover
udhcpc: sending select for 10.155.212.195
udhcpc: lease of 10.155.212.195 obtained, lease time 7200
udhcpc: ip addr add 10.155.212.195/255.255.255.0 broadcast 10.155.212.255 dev usb0
udhcpc: setting default routers: 10.155.212.60
root@OpenWrt:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.155.212.60 0.0.0.0 UG 0 0 0 usb0
10.155.212.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
root@OpenWrt:~# ifconfig usb0
usb0 Link encap:Ethernet HWaddr C2:EF:11:DB:06:BF
inet addr:10.155.212.195 Bcast:10.155.212.255 Mask:255.255.255.0
inet6 addr: fe80::c0ef:11ff:fedb:6bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2122 (2.0 KiB) TX bytes:2504 (2.4 KiB)
It looks similar to Mikrotik R11e-LTE6. But there's no transmission, you can only ping the gateway, nothing else.
root@OpenWrt:~# ping 10.155.212.60
PING 10.155.212.60 (10.155.212.60): 56 data bytes
64 bytes from 10.155.212.60: seq=0 ttl=64 time=19.796 ms
64 bytes from 10.155.212.60: seq=1 ttl=64 time=0.823 ms
64 bytes from 10.155.212.60: seq=2 ttl=64 time=1.244 ms
^C
--- 10.155.212.60 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.823/7.287/19.796 ms
root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
Do you have experience with a similar modem? What else can be done?
For more information and original connection log see thread on out forum: https://eko.one.pl/forum/viewtopic.php?id=21859 (in Polish, use google translator).