ZTE MF286D can't get connection over LTE

I tried qmi also it didn't worked it just freezes. i did resets and updates... nothing seams to help, router show full signal strenght but none internet connection. Everything was working on stock firmware.
Commands like:

uqmi -d /dev/cdc-wdm0 --get-pin-status
uqmi -d /dev/cdc-wdm0 --get-signal-info

don't work

Sat Jul  6 17:52:53 2024 daemon.notice netifd: Interface 'LTE' is setting up now
Sat Jul  6 17:52:53 2024 daemon.notice netifd: LTE (4956): modem available at /org/freedesktop/ModemManager1/Modem/0
Sat Jul  6 17:52:54 2024 daemon.notice netifd: LTE (4956): starting connection with apn 'virgin-internet'...
Sat Jul  6 17:52:54 2024 daemon.info [2275]: <info>  [modem0] simple connect started...
Sat Jul  6 17:52:54 2024 daemon.info [2275]: <info>  [modem0] simple connect state (3/10): enable
Sat Jul  6 17:52:54 2024 daemon.info [2275]: <info>  [modem0] state changed (disabled -> enabling)
Sat Jul  6 17:52:54 2024 daemon.info [2275]: <info>  [modem0] power state updated: on
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] simple connect state (4/10): wait to get fully enabled
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] state changed (enabling -> enabled)
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] simple connect state (5/10): wait after enabled
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] 3GPP registration state changed (unknown -> registering)
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] 3GPP registration state changed (registering -> home)
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] state changed (enabled -> registered)
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] simple connect state (6/10): register
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] simple connect state (7/10): wait to get packet service state attached
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] simple connect state (8/10): bearer
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] simple connect state (9/10): connect
Sat Jul  6 17:52:55 2024 daemon.info [2275]: <info>  [modem0] state changed (registered -> connecting)
Sat Jul  6 17:54:54 2024 daemon.notice netifd: LTE (4956): error: couldn't connect the modem: 'Timeout was reached'
Sat Jul  6 17:54:54 2024 daemon.notice netifd: LTE (5019): stopping network
Sat Jul  6 17:54:54 2024 daemon.notice netifd: LTE (5019): running disconnection (common)
Sat Jul  6 17:54:54 2024 daemon.notice netifd: LTE (5019): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "LTE" } (Permission denied)
Sat Jul  6 17:54:54 2024 daemon.info [2275]: <info>  [modem0] state changed (connecting -> disconnecting)
Sat Jul  6 17:54:54 2024 daemon.warn [2275]: <warn>  [modem0/bearer7] connection attempt #1 failed: operation cancelled
Sat Jul  6 17:54:54 2024 daemon.info [2275]: <info>  [modem0] state changed (disconnecting -> registered)
Sat Jul  6 17:54:54 2024 daemon.info [2275]: <info>  [modem0/bearer7] connection #1 finished: duration 0s
Sat Jul  6 17:54:54 2024 daemon.notice netifd: LTE (5019): successfully disconnected all bearers in the modem
Sat Jul  6 17:54:54 2024 daemon.info [2275]: <info>  [modem0] state changed (registered -> disabling)
Sat Jul  6 17:54:55 2024 daemon.info [2275]: <info>  [modem0] 3GPP registration state changed (home -> unknown)
Sat Jul  6 17:54:55 2024 daemon.notice netifd: LTE (5019): successfully disabled the modem
Sat Jul  6 17:54:55 2024 daemon.info [2275]: <info>  [modem0] state changed (disabling -> disabled)
Sat Jul  6 17:54:55 2024 daemon.notice netifd: LTE (5019): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "LTE" } (Permission denied)
Sat Jul  6 17:54:55 2024 daemon.notice netifd: Interface 'LTE' is now down
Sat Jul  6 17:54:56 2024 daemon.warn odhcpd[1828]: No default route present, overriding ra_lifetime!

This must be one of the most meaningless forum post I have seen here.
You don’t really say anything about the problem at all!?

If we at least assume you actually have a genuine OpenWrt install that is actually up to date?

So have you done your basic work to begin with?
https://openwrt.org/toh/zte/mf286d#basic_configuration

1 Like

I edited the post. Tell me what other info is needed to help me. I think I done the basic work.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like
root@OpenWrt:/# ubus call system board
{
        "kernel": "5.15.150",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 5 (v7l)",
        "model": "ZTE MF286D",
        "board_name": "zte,mf286d",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.3",
                "revision": "r23809-234f1a2efa",
                "target": "ipq40xx/generic",
                "description": "OpenWrt 23.05.3 r23809-234f1a2efa"
        }
}
root@OpenWrt:/# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fxxx:fxxx:xxxx::/48' #edited

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'

config interface 'LTE'    #I tried changing apn auth optins and pdptype
        option proto 'qmi'
        option device '/dev/cdc-wdm0'
        option apn 'internet'
        option auth 'chap'
        option pdptype 'ipv4v6'

root@OpenWrt:/# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/a000000.wifi'
        option channel '1'
        option band '2g'
        option htmode 'HT20'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/a800000.wifi'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option disabled '1'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

root@OpenWrt:/# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

root@OpenWrt:/# cat /etc/config/firewall
config defaults
        option syn_flood        1
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
# Uncomment this line to disable ipv6 rules
#       option disable_ipv6     1

config zone
        option name             lan
        list   network          'lan'
        option input            ACCEPT
        option output           ACCEPT
        option forward          ACCEPT

config zone
        option name             wan
        list   network          'wan'
        list   network          'wan6'
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
        option masq             1
        option mtu_fix          1

config forwarding
        option src              lan
        option dest             wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
        option name             Allow-DHCP-Renew
        option src              wan
        option proto            udp
        option dest_port        68
        option target           ACCEPT
        option family           ipv4

# Allow IPv4 ping
config rule
        option name             Allow-Ping
        option src              wan
        option proto            icmp
        option icmp_type        echo-request
        option family           ipv4
        option target           ACCEPT

config rule
        option name             Allow-IGMP
        option src              wan
        option proto            igmp
        option family           ipv4
        option target           ACCEPT

# Allow DHCPv6 replies
# see https://github.com/openwrt/openwrt/issues/5066
config rule
        option name             Allow-DHCPv6
        option src              wan
        option proto            udp
        option dest_port        546
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-MLD
        option src              wan
        option proto            icmp
        option src_ip           fe80::/10
        list icmp_type          '130/0'
        list icmp_type          '131/0'
        list icmp_type          '132/0'
        list icmp_type          '143/0'
        option family           ipv6
        option target           ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Input
        option src              wan
        option proto    icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        list icmp_type          router-solicitation
        list icmp_type          neighbour-solicitation
        list icmp_type          router-advertisement
        list icmp_type          neighbour-advertisement
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Forward
        option src              wan
        option dest             *
        option proto            icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-IPSec-ESP
        option src              wan
        option dest             lan
        option proto            esp
        option target           ACCEPT

config rule
        option name             Allow-ISAKMP
        option src              wan
        option dest             lan
        option dest_port        500
        option proto            udp
        option target           ACCEPT


### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option dest             wan
#       option proto    tcp
#       option target   REJECT

# block a specific mac on wan
#config rule
#       option dest             wan
#       option src_mac  00:11:22:33:44:55
#       option target   REJECT

# block incoming ICMP traffic on a zone
#config rule
#       option src              lan
#       option proto    ICMP
#       option target   DROP

# port redirect port coming in on wan to lan
#config redirect
#       option src                      wan
#       option src_dport        80
#       option dest                     lan
#       option dest_ip          192.168.16.235
#       option dest_port        80
#       option proto            tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#       option src              wan
#       option src_dport        22001
#       option dest             lan
#       option dest_port        22
#       option proto            tcp

### FULL CONFIG SECTIONS
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port 80
#       option dest             wan
#       option dest_ip  19x.xx.x.1xx
#       option dest_port        120
#       option proto    tcp
#       option target   REJECT

#config redirect
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port         1024
#       option src_dport        80
#       option dest_ip  19x.xx.x.1xx
#       option dest_port        120
#       option proto    tcp

1 Like

is your APN really "internet", it's carrier specific.
do you need to auth ?
is the SIM card's pin disabled ?

seen https://openwrt.org/toh/zte/mf286d#basic_configuration ?

1 Like

its form other router i have on the same sim it is default and it works my carrier is virgin mobile in Poland.

When i google apn for it there are diffrent informations about apn: internet and virgin-internet i tried both of them.
I think there is no pin because it works on other devices without pin.

1 Like

and the password ?

1 Like

i can't look it up even changing type from password to text only shows ******** by internest says it dont need any

1 Like

ok

then run a logread -f via ssh, while you restart the modem interface, see what the log produces.

1 Like
root@OpenWrt:/# logread -f
Mon Aug 26 17:23:36 2024 daemon.notice netifd: LTE (2906): Stopping network LTE
Mon Aug 26 17:23:36 2024 daemon.notice netifd: LTE (2906): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "LTE" } (Permission denied)
Mon Aug 26 17:23:36 2024 daemon.notice netifd: Interface 'LTE' is now down
Mon Aug 26 17:23:36 2024 daemon.notice netifd: Interface 'LTE' is setting up now
Mon Aug 26 17:23:36 2024 daemon.notice netifd: LTE (2914): Waiting for SIM initialization
Mon Aug 26 17:23:37 2024 daemon.warn odhcpd[1274]: No default route present, overriding ra_lifetime!

Did you read the log?

yes but how to grant that permission

Probably by using the correct password.
Then again, I never used LTE

start by updating to the newest release, reset the settings while doing so.
then follow the QMI instruction for the modem, posted on the wiki page.

https://firmware-selector.openwrt.org/?version=23.05.4&target=ipq40xx%2Fgeneric&id=zte_mf286d

what do you mean? The APN password? it don't need any. it works without on my phone.

I updated firmware and did reset. I don't see any changes.

root@OpenWrt:/# logread -f
Tue Aug 27 12:54:00 2024 daemon.notice netifd: lte (2575): Stopping network lte
Tue Aug 27 12:54:00 2024 daemon.notice netifd: lte (2575): Command failed: ubus                 call network.interface notify_proto { "action": 0, "link-up": false, "keep": fal                se, "interface": "lte" } (Permission denied)
Tue Aug 27 12:54:00 2024 daemon.notice netifd: Interface 'lte' is now down
Tue Aug 27 12:54:00 2024 daemon.notice netifd: Interface 'lte' is setting up now
Tue Aug 27 12:54:00 2024 daemon.notice netifd: lte (2583): Waiting for SIM initi                alization
Tue Aug 27 12:54:01 2024 daemon.warn odhcpd[1296]: No default route present, ove                rriding ra_lifetime!

root@OpenWrt:/# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fxxx:xxxx:xxxx::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'

config interface 'lte'
        option proto 'qmi'
        option device '/dev/cdc-wdm0'
        option pdptype 'ipv4v6'
        option apn 'internet'
        option auth 'none'

@Leo-PL any idea ?

Is the profile set also at the modem with correct PDP type for your network?
Open up picocom /dev/ttyUSB2 (install if necessary) and show what AT+CGDCONT? spits out.
Also logread -f cuts of a lot of important information. Please show full log.

1 Like
root@OpenWrt:/# picocom /dev/ttyUSB2
picocom v3.1

port is        : /dev/ttyUSB2
flowcontrol    : none
baudrate is    : 9600
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        :
omap is        :
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","internet","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK