Hello,
i have a ZTE MF286R
i got the modem to work normally over NCM like explained in the
https://openwrt.org/toh/zte/mf286r tutorial
but i want to use it over modem manager in luci
this is what happens in the log when i restart the interface
Thu Jan 19 20:42:03 2023 daemon.notice netifd: Interface 'Internet' is setting up now
Thu Jan 19 20:42:04 2023 daemon.notice netifd: Internet (9603): modem available at /org/freedesktop/ModemManager1/Modem/0
Thu Jan 19 20:42:04 2023 daemon.notice netifd: Internet (9603): starting connection with apn 'internet'...
Thu Jan 19 20:42:04 2023 daemon.info [3543]: <info> [modem0] simple connect started...
Thu Jan 19 20:42:04 2023 daemon.info [3543]: <info> [modem0] simple connect state (3/8): enable
Thu Jan 19 20:42:04 2023 daemon.info [3543]: <info> [modem0] state changed (disabled -> enabling)
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] power state updated: on
Thu Jan 19 20:42:05 2023 daemon.warn [3543]: <warn> [modem0] cannot set default storage, none of the suggested ones supported
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] simple connect state (4/8): wait to get fully enabled
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] state changed (enabling -> enabled)
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] simple connect state (5/8): register
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] 3GPP registration state changed (unknown -> registering)
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] 3GPP registration state changed (registering -> home)
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] state changed (enabled -> registered)
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] simple connect state (6/8): bearer
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] simple connect state (7/8): connect
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] state changed (registered -> connecting)
Thu Jan 19 20:42:05 2023 daemon.warn [3543]: <warn> [modem0/bearer7] connection attempt #1 failed: Operation not supported
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0] state changed (connecting -> registered)
Thu Jan 19 20:42:05 2023 daemon.info [3543]: <info> [modem0/bearer7] connection #1 finished: duration 0s, tx: 0 bytes, rx: 0 bytes
Thu Jan 19 20:42:05 2023 daemon.notice netifd: Internet (9603): error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NotSupported: Operation not supported'
Thu Jan 19 20:42:05 2023 daemon.notice netifd: Internet (9647): stopping network
Thu Jan 19 20:42:06 2023 daemon.notice netifd: Internet (9647): running disconnection (common)
Thu Jan 19 20:42:06 2023 daemon.notice netifd: Internet (9647): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "Internet" } (Permission denied)
Thu Jan 19 20:42:06 2023 daemon.notice netifd: Internet (9647): successfully disconnected all bearers in the modem
Thu Jan 19 20:42:06 2023 daemon.info [3543]: <info> [modem0] state changed (registered -> disabling)
Thu Jan 19 20:42:06 2023 daemon.info [3543]: <info> [modem0] 3GPP registration state changed (home -> unknown)
Thu Jan 19 20:42:06 2023 daemon.notice netifd: Internet (9647): successfully disabled the modem
Thu Jan 19 20:42:06 2023 daemon.notice netifd: Interface 'Internet' is now down
Thu Jan 19 20:42:06 2023 daemon.info [3543]: <info> [modem0] state changed (disabling -> disabled)
what should i do. HELP!
if it works directly like in the tutorial, means that all the libraries, drivers etc are installed or?
here more infor
root@OpenWrt:~# mmcli -m 0
--------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: a816bbc95c5630c1e5882a995082064044dfbc16
--------------------------------
Hardware | manufacturer: ZTE CORPORATION
| model: MF286R
| firmware revision: BD_MF286RMODULEV1.0.0B08
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 863210042439803
--------------------------------
System | device: /sys/devices/platform/ahb/1b000000.usb/usb1/1-1
| drivers: cdc_acm, cdc_ether, rndis_host
| plugin: zte
| primary port: ttyACM0
| ports: ttyACM0 (at)
--------------------------------
Status | state: disabled
| power state: on
| signal quality: 0% (cached)
--------------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 3g, 4g; preferred: none
| current: allowed: 4g; preferred: none
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: 863210042439803
--------------------------------
3GPP EPS | ue mode of operation: csps-1
--------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
--------------------------------
Bearer | paths: /org/freedesktop/ModemManager1/Bearer/0
HERE THE LOG:. when i go TROUGH NCM (not modem manager)
Thu Jan 19 20:51:26 2023 daemon.notice netifd: Interface 'MODEM' is setting up now
Thu Jan 19 20:51:28 2023 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Thu Jan 19 20:51:28 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Thu Jan 19 20:51:28 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 0 addresses
Thu Jan 19 20:51:29 2023 daemon.notice netifd: MODEM (10003): sending -> AT+CFUN=1
Thu Jan 19 20:51:29 2023 daemon.notice netifd: MODEM (10003): Configuring modem
Thu Jan 19 20:51:30 2023 daemon.notice netifd: MODEM (10003): sending -> AT+ZGDCONT=1,"IP","internet","",0,0
Thu Jan 19 20:51:31 2023 daemon.notice netifd: MODEM (10003): sending -> AT+ZGPCOAUTH=1,"","",0
Thu Jan 19 20:51:32 2023 daemon.notice netifd: MODEM (10003): Starting network MODEM
Thu Jan 19 20:51:32 2023 daemon.notice netifd: MODEM (10003): Connecting modem
Thu Jan 19 20:51:32 2023 daemon.notice netifd: MODEM (10003): sending -> AT+ZGACT=1,1
Thu Jan 19 20:51:33 2023 daemon.notice netifd: MODEM (10003): Setting up usb1
Thu Jan 19 20:51:33 2023 daemon.notice netifd: Interface 'MODEM' is now up
Thu Jan 19 20:51:33 2023 daemon.notice netifd: Network device 'usb1' link is up
Thu Jan 19 20:51:33 2023 daemon.notice netifd: Network alias 'usb1' link is up
Thu Jan 19 20:51:33 2023 daemon.notice netifd: Interface 'MODEM_4' is enabled
Thu Jan 19 20:51:33 2023 daemon.notice netifd: Interface 'MODEM_4' has link connectivity
Thu Jan 19 20:51:33 2023 daemon.notice netifd: Interface 'MODEM_4' is setting up now
Thu Jan 19 20:51:33 2023 daemon.notice netifd: MODEM_4 (10264): udhcpc: started, v1.35.0
Thu Jan 19 20:51:34 2023 daemon.notice netifd: MODEM_4 (10264): udhcpc: broadcasting discover
Thu Jan 19 20:51:34 2023 user.notice mwan3-hotplug[10207]: mwan3 hotplug on MODEM not called because interface disabled
Thu Jan 19 20:51:37 2023 daemon.notice netifd: MODEM_4 (10264): udhcpc: broadcasting discover
Thu Jan 19 20:51:37 2023 daemon.notice netifd: MODEM_4 (10264): udhcpc: broadcasting select for 10.218.128.42, server 10.218.128.213
Thu Jan 19 20:51:37 2023 daemon.notice netifd: MODEM_4 (10264): udhcpc: lease of 10.218.128.42 obtained from 10.218.128.213, lease time 7200
Thu Jan 19 20:51:37 2023 daemon.notice netifd: Interface 'MODEM_4' is now up
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using nameserver 212.91.97.4#53
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using nameserver 212.91.97.3#53
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Thu Jan 19 20:51:37 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Thu Jan 19 20:51:38 2023 user.notice root: starting ntpclient
Thu Jan 19 20:51:40 2023 user.notice mwan3-hotplug[10584]: mwan3 hotplug on MODEM_4 not called because interface disabled
Petar