Wrt3200acm having a little trouble connecting to qmi mode for my em20g

I'm kinda stuck, trying to use this as the only usb to wan connection, and its not connecting to the internet.


so i did sys/kernel/debug/usb/devices, then i received this, so now what?
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=2c7c ProdID=0620 Rev= 4.09
S: Manufacturer=Quectel
S: Product=EM20-G
S: SerialNumber=1a88429c
C:* #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=(none)
E: Ad=88(I) Atr=03(Int.) MxPS= 64 Ivl=32ms
I:* If#= 5 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=(none)
I: If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=(none)
E: Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

This is MBIM. Try using the cdc-mbim driver and umbim instead of qmi

I just installed the snapshot version because the wifi kept dropping out. But i forgot that luci is not installed with snapshot. So now im kinda stuck trying to install luci through ssh offline.

create a new snapshot image at https://firmware-selector.openwrt.org/, add luci to the list of packages, then reinstall.

Okay i did so, so now what? I can still connect to the router via ssh. Ssh root@192.168.1.1

That's expected, but webUI should work too.

Now you could share internet from your cell phone, via wifi, and use it to DL the packages you need, directly to the 3200.

i got it figured out. okay, but i noticed again with the wifi dropouts. and im trying to use my em20 with this but im kinda stuck from where i left off.

basically just everything from where i had lefted off.

And ive did what you said, so now what?

T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=2c7c ProdID=0620 Rev= 4.09
S: Manufacturer=Quectel
S: Product=EM20-G
S: SerialNumber=1a88429c
C:* #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=cdc_mbim
E: Ad=88(I) Atr=03(Int.) MxPS= 64 Ivl=32ms
I: If#= 5 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
I:* If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E: Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

Ouch, I see that the mbim docs is a bit lacking. I have no idea how to configure this using umbim.

Since you have a powerful router with plenty of flash, you're probably better off installing ModemManager and ignore all the protocol specifics:

I did that too. But it still doesn't connect to the internet.

Uninstall modemmanager, install kmod-usb-net-qmi-wwan uqmi luci-proto-qmi picocom, then connect to the modem's AT port: picocom /dev/ttyUSB2
Send AT+QCFG="usbnet",0 to the modem then exit terminal and re-insert your modem.
Check if you see qmi in Driver=

go to Network → Interfaces → Add new interface… → Protocol : QMI, Interface: cdc-wdm0
enter APN, IP type (v4/v6)
in Advanced Settings: tick "Use default gateway" and "Use DNS servers advertised by peer"
Assign the right firewall zone - WAN

I have the updated firmware for the modem just in case if this is a software related issue. Even though i do not know how to flash the firmware. But im not receiving any signal from my em20-g. Modem is connected to all 4 antennas. But is still not receiving any signal at all.

I gotta wrt3200acm running openwrt that I'm trying to use my modem with for over 2mnths... does that answer your question?

Okay basically ive bought an usb to m2 adapter that comes with antennas. I was told that is really what i need. But the modem seems to connect to the router its just that i dont know how to control it from ssh as far as reseting it and stuff like that. I was told i can control the modem using my openwrt. But ive doubled checked everything, and ive have asked them as well. So yes it has become an openwrt issue for over 2mths.

First plug the modem into a laptop or desktop and confirm it can receive Internet service before trying to use with OpenWrt. In most cases you should configure the modem to support QMI mode (using a desktop application), then install the QMI drivers on OpenWrt.

Everything seems fine but its not turning on the modem

Hello? Im still stuck, i dont know how to turn on the modem through the AT-commands.

Hi
Did you follow @AndrewZ 's recommendations and change to qmi and install kmod- and luci- for qmi?

Yes i did ive installed everything.