Problem with LTE modem on ZTE MF283plus

Hello. I succesfully installed OpenWRT on ZTE MF283plus, but I'm having issues.
I've read that modem is not configured by default, so I did configured it AFAIK.
I installed modemmanager & other needed stuff. The problem is I cannot connect.
Whenever I bring the modem up (because of some weird reason it's disabled as default & fails to connect because of that) I'm getting as far as having sim registered, & that's it. I need to mention, that for some weird reason my MF283plus has modem from MF282 so ZM8630 instead of P685M.

When I use mmcli --simple-connect I'm ending up with that:

root@OpenWrt-ZTE:~# mmcli -m 0 -e
successfully enabled the modem
root@OpenWrt-ZTE:~# mmcli -m 0 -e
successfully enabled the modem
root@OpenWrt-ZTE:~# mmcli -m 0 --simple-connect="apn=internetipv6"
error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.Ipv6OnlyAllowed: IPv6 only allowed'
root@OpenWrt-ZTE:~# mmcli -m 0 --simple-connect="apn=internetipv6,ip-type=ipv6"
error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown: Call failed: internal error: unknown-cause'

Does anyone know how to fix this? If it's possible I would love to run OpenWRT on this & every hardware I can. Manufacturer doesn't update it anymore & running up-to-date software is kinda desired, so If it's possible, then I do it.

Uninstall ModemManager and follow instructions [for QMI modems] from the wiki:
https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

Trying to connect with QMI now, but still doesn't work.
Also in output of:

cat /sys/kernel/debug/usb/devices

looks like modem is somehow P685M...

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1275 Rev=f0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE Technologies MSM
S: SerialNumber=P685M510ZTED0000CP&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&0

EDIT: Device doesn't respond to any uqmi commands, it just hangs with ,,_" blinking...

If you cannot get nice and clean output of cat /sys/kernel/debug/usb/devices then your modem is probably dead. I can only think about reflashing the router with the OEM firmware with the hope that it will reflash the modem code as well.
There is no need to run uqmi manually.

root@OpenWrt-ZTE:~# cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.15
S: Manufacturer=Linux 5.15.150 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=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1275 Rev=f0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE Technologies MSM
S: SerialNumber=P685M510ZTED0000CP&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&0
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E: Ad=87(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
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= 5.15
S: Manufacturer=Linux 5.15.150 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

Looks good to me, so just follow the instructions.

Following instructions that's as far as I came.
That's from luci/admin/network/network

Protocol: QMI Cellular
Uptime: 0h 3m 22s
MAC: F2:E5:DD:87:51:D2
RX: 0 B (0 Pkts.)
TX: 1.69 KB (14 Pkts.)

from nano /etc/config/network

config interface 'Orange'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option apn 'internetipv6'
option auth 'none'
option username 'internet'
option password 'internet'
option pdptype 'ipv6'
option timeout '60'
option autoconnect '1'
option modes 'lte'

I added a bunch of options & after that that's what I have, without ,,timeout" It would just show ,,call failed" or something like that. Still no connection.

I'm trying everything, so now I tried with

qmicli
so

root@OpenWrt-ZTE:~# qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
[/dev/cdc-wdm0] Successfully got serving system:
Registration state: 'registered'
CS: 'attached'
PS: 'detached'
Selected network: '3gpp'
Radio interfaces: '1'
[0]: 'umts'
Roaming status: 'off'
Data service capabilities: '3'
[0]: 'hsdpa'
[1]: 'hsupa'
[2]: 'wcdma'
Current PLMN:
MCC: '260'
MNC: '3'
Description: 'Orange'
Roaming indicators: '1'
[0]: 'off' (umts)
3GPP daylight saving time adjustment: '1' hours
3GPP location area code: '57020'
3GPP cell ID: '46642421'
Detailed status:
Status: 'available'
Capability: 'cs-ps'
HDR Status: 'power-save'
HDR Hybrid: 'yes'
Forbidden: 'no'
Call barring status:
Circuit switched: 'all-calls'
Packet switched: 'all-calls'
UMTS primary scrambling code: '279'
Full operator code info:
MCC: '260'
MNC: '3'
MNC with PCS digit: 'no'

root@OpenWrt-ZTE:~# qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=internetipv6',ip-type=6"
error: couldn't start network: QMI protocol error (14): 'CallFailed'
call end reason (1): generic-unspecified
verbose call end reason (2,204): [internal] unknown-cause

I'm going to cry now.

There is no need in adding options and running uqmi manually.
Run a few checks as shown here: OpenWrt fails to obtain IPv6 address on mobile network - #2 by AndrewZ

Right when I'm writing this I managed to connect over ipv4 just like the guy in topic you mentioned.

root@OpenWrt-ZTE:~# socat - /dev/ttyUSB2,crnl
AT+CGPIAF=1,1,1,0
OK
AT+CGDCONT?
+CGDCONT: 1,"IP","Internet","0.0.0.0",0,0
OK
AT+CGPADDR
+CGPADDR: 1,10.132.167.232
OK
AT+CGCONTRDP
+CGCONTRDP: 1,5,Internet,10.132.167.232,,194.204.159.1,194.204.152.34
OK

This is not inline with your interface configuration where you have 'internetipv6' and 'ipv6'.
Please re-read the instructions in wiki.

I know, I did reverted this to check if it will work somehow with ipv4 & it did
Now I will try again with ipv6.
In the meantime I did installed modemmanager back, messed with it again, removed it...
Some stuff happened, I'm getting an idea of what I'm doing. Slowly...

So modifying connection settings to ipv6 in

/etc/config/network

didn't change the output here

AT+CGDCONT?
+CGDCONT: 1,"IP","Internet","0.0.0.0",0,0

So I was thinking for a while & went to modify connection profile with:

qmicli --device=/dev/cdc-wdm0 --wds-modify-profile="3gpp,1,apn=internetipv6,pdp-type=ipv6,auth=none,username=internet,password=internet,disabled=no"

& output from AT

AT+CGDCONT?
+CGDCONT: 1,"IPV6","internetipv6","0.0.0.0",0,0

But I had no connection. Also username/password in /etc/config/network (internetipv6) & modem profile (internet) were mismatched. I changed them to be exactly the same.
Now I'm getting ipv6 assigned, but I don't have internet connection.

Protocol: QMI Cellular
Uptime: 0h 3m 38s
MAC: 96:07:54:0E:58:AA
RX: 752 B (10 Pkts.)
TX: 16.06 KB (182 Pkts.)
IPv6: 2a00:f41:1445:ae16:c086:8d29:c556:4924/128
IPv6-PD: 2a00:f41:1445:ae16::/64

IPv6 Upstream
Protocol: QMI Cellular
Prefix Delegated: 2a00:f41:1445:ae16::/64
Address: 2a00:f41:1445:ae16:c086:8d29:c556:4924/128
Gateway: 2a00:f41:1445:ae16:6ca7:cd5f:686b:75ed
DNS 1: 2a01:1700:2:ffff::9f01
DNS 2: 2a01:1700:3:ffff::9822
Connected: 0h 4m 11s
Device: Ethernet Adapter: "wwan0"
MAC address: 96:07:54:0E:58:AA

Can you ping any IPv6 address from the router?