Connection with LTE modem Quectel EM05-G undet linux with T-Mobile

hi

I have laptop with Quectel EM05-G
and i cant get it work
maybe somebody know where is problem or why i cant ping provider gateway

thanks for any advice

modem is supported by kernel
cat /sys/kernel/debug/usb/devices:

T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#= 7 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=2c7c ProdID=030a Rev= 2.00
S: Manufacturer=Quectel
S: Product=Quectel EM05-G
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=82(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=cdc_mbim
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=32ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Modem is activated

mbimcli --device-open-proxy --device=“/dev/cdc-wdm0” --quectel-set-radio-state=on

[/dev/cdc-wdm0] Successfully requested to enable radio

mbimcli --device-open-proxy --device=“/dev/cdc-wdm0” --quectel-query-radio-state

[/dev/cdc-wdm0] Radio state retrieved: ‘on’

Modem got IP configuration

mbimcli --device=“/dev/cdc-wdm0” -p --query-ip-configuration

[/dev/cdc-wdm0] IPv4 configuration available: ‘address, gateway, dns, mtu’
IP [0 ]: ‘100.75.215.174/30’
Gateway: ‘100.75.215.173’
DNS [0 ]: ‘62.141.16.177’
DNS [1 ]: ‘62.141.16.161’
MTU: ‘1500’

[/dev/cdc-wdm0] IPv6 configuration available: ‘none’

Modem is ethernet device wwp195s0f3u4 with assigned IP

ip a

3: wwp195s0f3u4: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether d6:58:48:d7:4d:76 brd ff:ff:ff:ff:ff:ff
inet 100.75.215.174/30 brd 100.75.215.175 scope global noprefixroute wwp195s0f3u4
valid_lft forever preferred_lft forever

default route is set

ip route

default via 100.75.215.173 dev wwp195s0f3u4
100.75.215.172/30 dev wwp195s0f3u4 proto kernel scope link src 100.75.215.174 metric 1050

ping to Gateway is not working

ping 100.75.215.173

PING 100.75.215.173 (100.75.215.173) 56(84) bytes of data.
^C
— 100.75.215.173 ping statistics —
9 packets transmitted, 0 received, 100% packet loss, time 8177ms

Unless it is private network, you cannot ping the gateway.
Actually the IP 100.75.215.174 is not a public IP address, it is assigned by the network operator.

thanks for reply

unfortunately i got same response from operator: it is problem with your modem
it is czech T-Mobile so translation is this:

we do not support customer modems,
it is a problem with the modem that defGW is not supported on the segment,
if it is supposed to be an interface to the mobile network, then it is wrong.

original:

neděláme podporu zákaznických modemu,
jedná se o problém modemu že se na segmentu nedopinga na defGW,
pokud to má být interface do mobilní sítě, tak je to špatně.

Can you ping any other destination?
You do not really need a gateway IP - your interface is configured with NOARP and your default route “next hop” is a device.

Please reformat the code blocks you posted using </> button.

no, i cant ping anything, for example 8.8.8.8…

i cant edit first post anymore

Please show the output of

AT+CGDCONT?
AT+CGPADDR
AT+QMBNCFG="List"
AT+CGDCONT?

+CGDCONT: 1,"IP","internet.t-mobile.cz","0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1

OK
AT+CGPADDR

+CGPADDR: 1,"100.74.200.88"
+CGPADDR: 2,"0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGPADDR: 3,"0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"

OK
AT+QMBNCFG="List"

+QMBNCFG: "List",0,1,1,"ROW_Generic_3GPP",0x05040820,202009031
+QMBNCFG: "List",1,0,0,"ROW_Generic_3GPP_PTCRB_GCF",0x05040901,202106181
+QMBNCFG: "List",2,0,0,"VoLTE-ATT",0x0501033C,202108122
+QMBNCFG: "List",3,0,0,"CDMAless-Verizon",0x0501019E,202110261
+QMBNCFG: "List",4,0,0,"Sprint-VoLTE",0x05010205,202010201
+QMBNCFG: "List",5,0,0,"Commercial-TMO_VoLTE",0x05010505,202111101
+QMBNCFG: "List",6,0,0,"Telus-Commercial_VoLTE",0x05800C43,202103121
+QMBNCFG: "List",7,0,0,"Telstra-Commercial_VoLTE",0x0580079E,202108251
+QMBNCFG: "List",8,0,0,"Commercial-DT",0x05011F1C,202006281
+QMBNCFG: "List",9,0,0,"Reliance_OpnMkt",0x05011B38,202003251
+QMBNCFG: "List",10,0,0,"Volte_OpenMkt-Commercial-CMCC",0x05012071,202111012
+QMBNCFG: "List",11,0,0,"VoLTE_OPNMKT_CT",0x050113FC,202111012
+QMBNCFG: "List",12,0,0,"OpenMkt-Commercial-CU",0x05011505,202111011
+QMBNCFG: "List",13,0,0,"Commercial-SBM",0x05011C18,202105111
+QMBNCFG: "List",14,0,0,"Commercial-KDDI",0x0501071D,202106072
+QMBNCFG: "List",15,0,0,"Commercial-DCM",0x05010D17,202111161
+QMBNCFG: "List",16,0,0,"Commercial-SKT",0x05012715,202007071
+QMBNCFG: "List",17,0,0,"Commercial-KT",0x05012C0D,202007211
+QMBNCFG: "List",18,0,0,"Commercial-LGU",0x05012626,202007071
+QMBNCFG: "List",19,0,0,"Commercial-EE",0x0501221A,202107151
+QMBNCFG: "List",20,0,0,"Swis_switzerland_VoLTE_VoWiFi",0x05011421,201910291
+QMBNCFG: "List",21,0,0,"VF_Germany_VoLTE",0x0502041C,202009031
+QMBNCFG: "List",22,0,0,"ATT_FirstNET",0x05809503,202106212

OK

You are definitely connected and have an IP address from the carrier, so I can only suggest disabling MBN and see if it helps:

AT+QMBNCFG="AutoSel",0
AT+QMBNCFG="Deactivate"
AT+CFUN=1,1

thanks for reply,
i run commands:

AT+QMBNCFG="AutoSel",0

OK
AT+QMBNCFG="Deactivate"

OK
AT+CFUN=1,1

OK

but what happend is this:

mbimcli --device-open-proxy --device="/dev/cdc-wdm0" --quectel-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved: 'fcc-locked'

this is whole procedure:

mbimcli --device-open-proxy --device="/dev/cdc-wdm0" --quectel-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved: 'fcc-locked'

mbimcli --device-open-proxy --device="/dev/cdc-wdm0" --quectel-set-radio-state=on
[/dev/cdc-wdm0] Successfully requested to enable radio

mbimcli --device-open-proxy --device="/dev/cdc-wdm0" --quectel-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved: 'on'

socat - /dev/ttyUSB0,crnl
AT+QMBNCFG="AutoSel",0

OK
AT+QMBNCFG="Deactivate"

OK
AT+CFUN=1,1

OK
^C
mbimcli --device-open-proxy --device="/dev/cdc-wdm0" --quectel-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved: 'fcc-locked'

so that commands (a think the last one) locks modem and modem need to be unlocked for later use

so probably i found where is problem, but i dont know what causes it

modem network device is getting two IP addresses, and route is set to wrong network, that is why ping is not working

ip a
3: wwp195s0f3u4: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether d6:58:48:d7:4d:76 brd ff:ff:ff:ff:ff:ff
    inet 100.97.153.202/30 brd 100.97.153.203 scope global noprefixroute wwp195s0f3u4
       valid_lft forever preferred_lft forever
    inet 10.252.41.222/30 brd 10.252.41.223 scope global noprefixroute wwp195s0f3u4
       valid_lft forever preferred_lft forever

ip route 
default via 100.97.153.201 dev wwp195s0f3u4 proto static metric 1050 
10.252.41.220/30 dev wwp195s0f3u4 proto kernel scope link src 10.252.41.222 metric 1050 
100.97.153.200/30 dev wwp195s0f3u4 proto kernel scope link src 100.97.153.202 metric 1050

i dont know where that wrong networks came from, because mbimcli is showing only one:

mbimcli --device="/dev/cdc-wdm0" -p --query-ip-configuration

[/dev/cdc-wdm0] IPv4 configuration available: 'address, gateway, dns, mtu'
     IP [0]: '10.252.41.222/30'
    Gateway: '10.252.41.221'
    DNS [0]: '62.141.16.177'
    DNS [1]: '62.141.16.161'
        MTU: '1500'

[/dev/cdc-wdm0] IPv6 configuration available: 'none'

when i manually set correct default GW, ping is start working

ip route del  default dev wwp195s0f3u4

ip route add default via 10.252.41.221 dev wwp195s0f3u4

ip route
default via 10.252.41.221 dev wwp195s0f3u4 
10.252.41.220/30 dev wwp195s0f3u4 proto kernel scope link src 10.252.41.222 metric 1050 
100.97.153.200/30 dev wwp195s0f3u4 proto kernel scope link src 100.97.153.202 metric 1050 

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=120 time=68.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=120 time=28.9 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 28.867/48.450/68.034/19.583 ms

do you have any idea where second IP came from or what it is?

anyway thank you for reply

That could be a leftover from the previous session.
Try rebooting and then check what AT+CGPADDR gives you and compare with mbimcli, etc. results.

its weird
yesterday it worked (post above)

today it is not working again

regarding IP addresses, i still get two IP for modem interface each time i try to start connection, but yesterday procedure isnt working anymore

ip a
5: wwp195s0f3u4: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state U
NKNOWN group default qlen 1000
    link/ether d6:58:48:d7:4d:76 brd ff:ff:ff:ff:ff:ff
    inet 100.97.153.202/30 brd 100.97.153.203 scope global noprefixroute wwp195s0f3u4
       valid_lft forever preferred_lft forever
    inet 100.100.114.138/30 brd 100.100.114.139 scope global noprefixroute wwp195s0f3u4
       valid_lft forever preferred_lft forever

mbimcli --device="/dev/cdc-wdm0" -p --query-ip-configuration

[/dev/cdc-wdm0] IPv4 configuration available: 'address, gateway, dns, mtu'
     IP [0]: '100.100.114.138/30'
    Gateway: '100.100.114.137'
    DNS [0]: '62.141.16.161'
    DNS [1]: '62.141.16.177'
        MTU: '1500'

ip route del  default dev wwp195s0f3u4

ip route add default via 100.100.114.137 dev wwp195s0f3u4

ip route 
default via 100.100.114.137 dev wwp195s0f3u4 
100.97.153.200/30 dev wwp195s0f3u4 proto kernel scope link src 100.97.153.202 metric 1050 
100.100.114.136/30 dev wwp195s0f3u4 proto kernel scope link src 100.100.114.138 metric 1050 

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 10250ms

difference what i can see is in response for AT+CGDCONT?, there is missing two lines in compare with response above, so probably that is why it is not working

socat - /dev/ttyUSB0,crnl
AT+CGDCONT?

+CGDCONT: 1,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK
AT+CGPADDR

+CGPADDR: 1,"100.100.114.138"

OK

so probably this is operator related issue?

some output from mmcli

mmcli -m 2
  ----------------------------------
  General  |                   path: /org/freedesktop/ModemManager1/Modem/2
           |              device id: 67f4590a2929069d4c9db61c366daaa15c8ec8fa
  ----------------------------------
  Hardware |           manufacturer: Quectel
           |                  model: Quectel EM05-G
           |      firmware revision: EM05GFAR07A07M1G
           |           h/w revision: QUECTEL Mobile Broadband Modul
           |              supported: gsm-umts, lte
           |                current: gsm-umts, lte
           |           equipment id: 016176006002208
  ----------------------------------
  System   |                 device: /sys/devices/pci0000:00/0000:00:08.1/0000:c3:00.3/usb1/1-4
           |                drivers: cdc_mbim, option
           |                 plugin: quectel
           |           primary port: cdc-wdm0
           |                  ports: cdc-wdm0 (mbim), ttyUSB0 (at), wwp195s0f3u4 (net)
  ----------------------------------
  Numbers  |                    own: +42XXXXXXX
  ----------------------------------
  Status   |         unlock retries: sim-pin2 (3)
           |                  state: connected
           |            power state: on
           |            access tech: lte
           |         signal quality: 32% (cached)
  ----------------------------------
  Modes    |              supported: allowed: 3g, 4g; preferred: none
           |                current: allowed: 3g, 4g; preferred: none
  ----------------------------------
  IP       |              supported: ipv4, ipv6, ipv4v6
  ----------------------------------
  3GPP     |                   imei: 016176006002208
           |          enabled locks: fixed-dialing
           |            operator id: 23001
           |          operator name: T-Mobile CZ (T-Mobil
           |           registration: home
  ----------------------------------
  3GPP EPS |   ue mode of operation: csps-2
           |    initial bearer path: /org/freedesktop/ModemManager1/Bearer/4
           | initial bearer ip type: ipv4v6
  ----------------------------------
  SIM      |       primary sim path: /org/freedesktop/ModemManager1/SIM/4
           |         sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/4 (active)
           |                         slot 2: /org/freedesktop/ModemManager1/SIM/5
  ----------------------------------
  Bearer   |                  paths: /org/freedesktop/ModemManager1/Bearer/6
           |                         /org/freedesktop/ModemManager1/Bearer/5

mmcli -b 4
  -------------------------
  General    |        path: /org/freedesktop/ModemManager1/Bearer/4
             |        type: default-attach
  -------------------------
  Status     |   connected: yes
             |   suspended: no
             | multiplexed: no
             |  ip timeout: 20
  -------------------------
  Properties |         apn: internet.t-mobile.cz
             |     ip type: ipv4

mmcli -b 5
  ------------------------------------
  General            |           path: /org/freedesktop/ModemManager1/Bearer/5
                     |           type: default
  ------------------------------------
  Status             |      connected: yes
                     |      suspended: no
                     |    multiplexed: no
                     |      interface: wwp195s0f3u4
                     |     ip timeout: 20
  ------------------------------------
  Properties         |            apn: internet.t-mobile.cz
                     |        roaming: forbidden
                     |        ip type: ipv4v6
                     |   allowed-auth: none, pap, chap, mschap, mschapv2, eap
                     |           user: gprs
                     |       password: gprs
  ------------------------------------
  IPv4 configuration |         method: static
                     |        address: 100.100.114.138
                     |         prefix: 30
                     |        gateway: 100.100.114.137
                     |            dns: 62.141.16.161, 62.141.16.177
                     |            mtu: 1500
  ------------------------------------
  Statistics         |       duration: 450
                     |       attempts: 4
                     | total-duration: 516

mmcli -b 6
  ----------------------------
  General    |           path: /org/freedesktop/ModemManager1/Bearer/6
             |           type: default
  ----------------------------
  Status     |      connected: no
             |      suspended: no
             |    multiplexed: no
             |     ip timeout: 20
  ----------------------------
  Properties |            apn: internet.t-mobile.cz
             |        roaming: allowed
             |        ip type: ipv4v6
             |   allowed-auth: none, pap, chap, mschap, mschapv2, eap
             |           user: gprs
             |       password: gprs
  ----------------------------
  Statistics |       duration: 36
             |       attempts: 1
             | total-duration: 36

Configure your APN.
Make sure you don’t have two connection processes running in parallel, I suggest removing ModemManager and use MBIM tools.

systemctl status ModemManager
○ ModemManager.service - Modem Manager
     Loaded: loaded (/usr/lib/systemd/system/ModemManager.service; disabled; preset: disabled)
     Active: inactive (dead)

mbim-network /dev/cdc-wdm0 start
Loading profile at /etc/mbim-network.conf...
    APN: internet.t-mobile.cz
    APN auth protocol: mschapv2
    APN user: gprs
    APN password: gprs
    mbim-proxy: yes
Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm0 --query-subscriber-ready-status --device-open-proxy'...
[/dev/cdc-wdm0] Subscriber ready status retrieved: Ready state: 'initialized' Subscriber ID: '230015010603460' SIM ICCID: '8942001240298835147F' Ready info: 'none' Telephone numbers: (1) '+42XXXXXXXX'
Querying registration state 'mbimcli -d /dev/cdc-wdm0 --query-registration-state --device-open-proxy'...
[/dev/cdc-wdm0] Registration status: Network error: 'unknown' Register state: 'home' Register mode: 'automatic' Available data classes: 'lte' Current cellular class: 'gsm' Provider ID: '23001' Provider name: 'T-Mobile CZ (T-Mobil' Roaming text: 'unknown' Registration flags: 'packet-service-automatic-attach'
Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0 --attach-packet-service --device-open-proxy'...
[/dev/cdc-wdm0] Successfully attached to packet service [/dev/cdc-wdm0] Packet service status: Network error: 'unknown' Packet service state: 'attached' Available data classes: 'lte' Uplink speed: '50000000 bps' Downlink speed: '100000000 bps'
Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=apn='internet.t-mobile.cz',auth='mschapv2',username='gprs',password='gprs' --device-open-proxy'...
Network started successfully

mbimcli --device="/dev/cdc-wdm0" -p --query-ip-configuration

[/dev/cdc-wdm0] IPv4 configuration available: 'address, gateway, dns, mtu'
     IP [0]: '100.79.217.135/28'
    Gateway: '100.79.217.136'
    DNS [0]: '62.141.16.177'
    DNS [1]: '62.141.16.161'
        MTU: '1500'

ip link set wwp195s0f3u4 down
ip addr flush dev wwp195s0f3u4 
ip -6 addr flush dev wwp195s0f3u4 
ip link set wwp195s0f3u4 up
ip addr add 100.79.217.135/28 dev wwp195s0f3u4 broadcast +
ip route add default via 100.79.217.136 dev wwp195s0f3u4
ip link set mtu 1500 dev wwp195s0f3u4 
systemd-resolve -4 --interface=wwp195s0f3u4 --set-dns=62.141.16.177
systemd-resolve -4 --interface=wwp195s0f3u4 --set-dns=62.141.16.161
Network interface configurations completed.

socat - /dev/ttyUSB0,crnl
AT+CGDCONT?

+CGDCONT: 1,"IP","internet.t-mobile.cz","0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK
AT+CGPADDR

+CGPADDR: 1,"100.79.217.135"
+CGPADDR: 2,"0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGPADDR: 3,"0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"

OK

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1029ms

i have manually add CDGCONT via

AT+CGDCONT=1,"IP","internet.t-mobile.cz" 

OK

so the AT+CGDCONT? output is similar as i had before
but if i remember well IP from AT+CGPADDR was changed every reconnection
and now is still same

I will provide the quectel-CM.
Please try disable the ModemManager and just test the quectel-CM and check whether it works or not.

unfortunately i cannot compile it

make release
cd out/; rm -rf *.o libmnl/*.o quectel-CM quectel-qmi-proxy quectel-mbim-proxy quectel-atc-proxy
gcc -Wall -Wextra -Werror -O1  quectel-qmi-proxy.c -o out/quectel-qmi-proxy -lpthread -ldl -lrt 
gcc -Wall -Wextra -Werror -O1  quectel-mbim-proxy.c -o out/quectel-mbim-proxy -lpthread -ldl -lrt 
gcc -Wall -Wextra -Werror -O1  quectel-atc-proxy.c atchannel.c at_tok.c util.c -o out/quectel-atc-proxy -lpthread -ldl -lrt 
quectel-atc-proxy.c: In function ‘atc_proxy_init’:
quectel-atc-proxy.c:261:13: error: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  261 |             asprintf(&cmd, "AT+QCFG=\"NAT\",%d", new_nat);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:43: atc-proxy] Error 1

It is taking warnnings as errors.
You can add return value for that funtion or modify the Makefile to resolve it.

OK compiled

I run all three auth methods in case that auth could be problem

quectel-CM -v -p mbim-proxy -s internet.t-mobile.cz gprs gprs 1 -f auth-pap-output.log

quectel-CM -v -p mbim-proxy -s internet.t-mobile.cz gprs gprs 2 -f auth-chap-output.log

quectel-CM -v -p mbim-proxy -s internet.t-mobile.cz gprs gprs 3 -f auth-mschapv2-output.log

but, unfortunately, no IP was set to modem device

i can send somewhere that log outputs, i cannot paste it here due to limited message size and my user cannot attach it as zip to message

and tomorrow i will receive data SIM from other czech provider, so i will test with if provider is not an issue

Stop the ModemManager

sudo systemctl stop MdoemManager

Run the quectel-CM

quectel-CM -s internet.t-mobile.cz

And please provide the log of the quectel-CM.

here

quectel-CM -s internet.t-mobile.cz
[03-26_12:43:27:005] QConnectManager_Linux_V1.6.5.1
[03-26_12:43:27:008] Find /sys/bus/usb/devices/1-4 idVendor=0x2c7c idProduct=0x30a, bus=0x001, dev=0x006
[03-26_12:43:27:008] Auto find qmichannel = /dev/cdc-wdm0
[03-26_12:43:27:008] Auto find usbnet_adapter = wwp195s0f3u4
[03-26_12:43:27:009] netcard driver = cdc_mbim, driver version = 6.6.10-gentoo-minimal
[03-26_12:43:27:009] Modem works in MBIM mode
[03-26_12:43:27:027] /proc/62467/fd/7 -> /dev/cdc-wdm0
[03-26_12:43:27:027] /proc/62467/exe -> /usr/libexec/mbim-proxy
[03-26_12:43:29:032] cdc_wdm_fd = 7
[03-26_12:43:29:033] mbim_open_device()
[03-26_12:43:29:120] mbim_device_caps_query()
[03-26_12:43:29:151] DeviceId:     016176006002208
[03-26_12:43:29:151] FirmwareInfo: EM05GFAR07A07M1G
[03-26_12:43:29:151] HardwareInfo: QUECTEL Mobile Broadband Modul
[03-26_12:43:29:151] mbim_device_services_query()
[03-26_12:43:29:183] mbim_set_radio_state( 1 )
[03-26_12:43:29:216] HwRadioState: 1, SwRadioState: 1
[03-26_12:43:29:216] mbim_subscriber_status_query()
[03-26_12:43:29:248] SubscriberId: 230015010603460
[03-26_12:43:29:248] SimIccId:     8942001240298835147F
[03-26_12:43:29:248] SubscriberReadyState NotInitialized -> Initialized 
[03-26_12:43:29:248] mbim_register_state_query()
[03-26_12:43:29:280] RegisterState Unknown -> Home 
[03-26_12:43:29:280] mbim_packet_service_query()
[03-26_12:43:29:311] PacketServiceState Unknown -> Attached 
[03-26_12:43:29:312] mbim_query_connect(sessionID=0)
[03-26_12:43:29:343] ActivationState Unknown -> Deactivated 
[03-26_12:43:29:343] ip addr flush dev wwp195s0f3u4
[03-26_12:43:29:345] ip link set dev wwp195s0f3u4 down
[03-26_12:43:29:347] mbim_set_connect(onoff=1, sessionID=0)
[03-26_12:43:29:408] ActivationState Deactivated -> Activated 
[03-26_12:43:29:408] mbim_ip_config(sessionID=0)
[03-26_12:43:29:441] < SessionId = 0
[03-26_12:43:29:441] < IPv4ConfigurationAvailable = 0xf
[03-26_12:43:29:441] < IPv6ConfigurationAvailable = 0x0
[03-26_12:43:29:441] < IPv4AddressCount = 0x1
[03-26_12:43:29:441] < IPv4AddressOffset = 0x3c
[03-26_12:43:29:441] < IPv6AddressCount = 0x0
[03-26_12:43:29:441] < IPv6AddressOffset = 0x0
[03-26_12:43:29:441] < IPv4 = 10.190.42.136/28
[03-26_12:43:29:441] < gw = 10.190.42.137
[03-26_12:43:29:441] < dns1 = 62.141.16.177
[03-26_12:43:29:441] < dns2 = 62.141.16.161
[03-26_12:43:29:441] < ipv4 mtu = 1500
[03-26_12:43:29:472] ip link set dev wwp195s0f3u4 up
[03-26_12:43:29:475] ip -4 address flush dev wwp195s0f3u4
[03-26_12:43:29:477] ip -4 address add 10.190.42.136/28 dev wwp195s0f3u4
[03-26_12:43:29:478] ip -4 route add default via 10.190.42.137 dev wwp195s0f3u4

but ping is not working

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1058ms

so it is same as with ModemManager