4g dongle problems

Hello,
i'm trying to install a USB 4g dongle on my openwrt 17.04.7 TP link Archer C2 AC750.
I followed this guide:

I sent "opkg install usb-modeswitch kmod-mii kmod-usb-net kmod-usb-wdm kmod-usb-net-qmi-wwan uqmi"

I installed luci-proto-qmi but i can't see any config.

with

cat /sys/kernel/debug/usb/devices

i obtain

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.14
S:  Manufacturer=Linux 4.14.221 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=101c0000.ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=19d2 ProdID=1405 Rev=54.11
S:  Manufacturer=ZTE,Incorporated
S:  Product=Chiavetta 4G
S:  SerialNumber=MF9800ZTED000000
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 4.14
S:  Manufacturer=Linux 4.14.221 ohci_hcd
S:  Product=Generic Platform OHCI controller
S:  SerialNumber=101c1000.ohci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

The command

usbmode -l

give me nothing

What I am doing wrong?
Thanks!

You're trying to use QMI with a dongle in cdc_ether mode (Cls=02(comm.) Sub=06).

Upgrading openwrt might be a good idea too.

Upgrade to latest version of Openwrt. Which dongle are you using?

Sorry, i wrote totally wrong the version number. it's the latest one 19.07.7... :sweat_smile:

Oh, that seems right but i don't know how to change that. Can you help me (with a link too if there is one). Thanks.

See the page next to the one you mentioned:

Thanks, now i can see the interface correctly. The only difference it's that on my router the usb key is under "eth1" (the link says usb0).
Now it's a dumb AP so i can't try the real connection but i will in the next days.

Hi

What ZTE model do you have?
It should be possible to activate the modem with at commands.

Sorry for the late answer but I was able to try only in these days.
I have a MF833T ZTE dongle

I'm trying the configuration with no success.

No way to control connection, insert APN or pin. I edited network config through VI inserting the correct options but nothing change.

How can i check which protocols my dongle supports? Any guide i read said this... :frowning:

Your dongle is currently in "cdc_ether mode" as said before. In this mode it probably should establish connection automatically. Not sure whether any additional configuration options are supported in this mode.
Google will probably give you some hints on how to switch it to QMI or MBIM.

Hi
Can you print the output of ip addr?
Can you print the output of these AT-commands as well?

at+cgdcont?
at+cgatt?
at+zipcfg?
at+zipcall?

You can use picocom /dev/ttyUSB0 -b 115200 to connect to your modem. You maybe need to change the USBport number and the baudrate.
Use CRTL a + x to end picocom