Setting up a Quectel RM520GL-N on a Banana Pi R4-Pro
Philip Prindeville
philipp_subx at redfish-solutions.com
Mon Mar 16 13:46:30 PDT 2026
> On Mar 16, 2026, at 11:12 AM, Luca Olivetti <luca at ventoso.org> wrote:
>
> El 16/3/26 a les 16:53, Philip Prindeville via openwrt-devel ha escrit:
>>> Are you sure the sim and/or the modem are working?
>>> Can you try the sim in another device/phone?
>>> Can you try another sim in the modem?
>>>
>>> Bye
>> Are there uqmi commands (or others) to see the SIM?
>
> I only know the one you posted before (uqmi -d /dev/cdc-wdm0 --uim-get-sim-state) which on my router gives:
>
>
>
> {
> "card_slot": 1,
> "card_application_state": "ready",
> "pin1_status": "disabled",
> "pin1_verify_tries": 3,
> "pin1_unlock_tries": 10,
> "pin2_status": "not_verified",
> "pin2_verify_tries": 3,
> "pin2_unlock_tries": 10
> }
>
>
> I also use 3ginfo-lite
> https://github.com/4IceG/luci-app-3ginfo-lite
> but AFAIK it only works once the connection is established.
>
> I don't think it's your case, but maybe the what I tried when I had a problem with roaming abroad could be useful
>
> https://forum.openwrt.org/t/zte-mf286d-internal-4g-modem/175362/29?u=luca
>
>
> Bye
> --
> Luca
>
So I pulled the T-Mobile 5G Business Internet card from my Nighthawk M6, and I get:
root at OpenWrt:~# uqmi -d /dev/cdc-wdm0 --uim-get-sim-state
{
"card_slot": 1,
"card_application_state": "ready",
"pin1_status": "disabled",
"pin1_verify_tries": 3,
"pin1_unlock_tries": 10,
"pin2_status": "not_verified",
"pin2_verify_tries": 10,
"pin2_unlock_tries": 10
}
root at OpenWrt:~#
So it's not a problem with the slot. But I also don't see the "qim" interface coming up:
Mon Mar 16 14:28:06 2026 daemon.notice netifd: bridge 'br-lan' link is up
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'lan' has link connectivity
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 56.830848] br-lan: port 7(mxl_lan5) entered disabled state
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 57.221204] Aeonsemi AS21xxx mdio-bus:1c: Firmware Version: 1.9.1
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 57.227550] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:1c] driver [Aeonsemi AS21xxx] (irq=POLL)
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 57.236852] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/10gbase-r link mode
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 57.256737] br-wan: port 1(eth1) entered blocking state
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 57.261973] br-wan: port 1(eth1) entered disabled state
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 57.267233] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
Mon Mar 16 14:28:06 2026 kern.info kernel: [ 57.274111] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'wan' is enabled
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'wan6' is enabled
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'loopback' is enabled
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'loopback' is setting up now
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'loopback' is now up
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'qmi' is setting up now
Mon Mar 16 14:28:06 2026 daemon.notice netifd: bridge 'br-lan' link is down
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'lan' has link connectivity loss
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Network device 'eth0' link is up
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Network device 'eth2' link is up
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Network device 'mxl_lan5' link is up
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Network device 'lo' link is up
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'loopback' has link connectivity
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Network device 'mxl_lan5' link is down
Mon Mar 16 14:28:06 2026 daemon.info avahi-daemon[2775]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Mon Mar 16 14:28:06 2026 daemon.info avahi-daemon[2775]: New relevant interface lo.IPv4 for mDNS.
Mon Mar 16 14:28:06 2026 daemon.info avahi-daemon[2775]: Registering new address record for 127.0.0.1 on lo.IPv4.
Mon Mar 16 14:28:06 2026 daemon.info avahi-daemon[2775]: Joining mDNS multicast group on interface lo.IPv6 with address ::1.
Mon Mar 16 14:28:06 2026 daemon.info avahi-daemon[2775]: New relevant interface lo.IPv6 for mDNS.
Mon Mar 16 14:28:06 2026 daemon.info avahi-daemon[2775]: Registering new address record for ::1 on lo.*.
Mon Mar 16 14:28:06 2026 daemon.notice netifd: qmi (3840): The specified control device does not exist
Mon Mar 16 14:28:06 2026 daemon.notice netifd: qmi (3899): Stopping network qmi
Mon Mar 16 14:28:06 2026 daemon.notice netifd: qmi (3899): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "qmi" } (Permission denied)
Mon Mar 16 14:28:06 2026 daemon.notice netifd: Interface 'qmi' is now down
Mon Mar 16 14:28:06 2026 daemon.info ModemManager[3955]: hotplug: add network interface gretap0: event processed
Mon Mar 16 14:28:07 2026 daemon.info ModemManager[4213]: hotplug: add network interface erspan0: event processed
Mon Mar 16 14:28:07 2026 kern.info kernel: [ 57.833717] mt7530-mmio 15020000.switch lan0: Link is Up - 1Gbps/Full - flow control rx/tx
Mon Mar 16 14:28:07 2026 kern.info kernel: [ 57.833744] br-lan: port 1(lan0) entered blocking state
Mon Mar 16 14:28:07 2026 daemon.notice netifd: Network device 'lan0' link is up
Mon Mar 16 14:28:07 2026 daemon.notice netifd: bridge 'br-lan' link is up
Mon Mar 16 14:28:07 2026 daemon.notice netifd: Interface 'lan' has link connectivity
Mon Mar 16 14:28:07 2026 kern.info kernel: [ 57.847232] br-lan: port 1(lan0) entered forwarding state
Mon Mar 16 14:28:07 2026 daemon.info ModemManager[4462]: hotplug: add network interface wwan0: event processed
Mon Mar 16 14:28:07 2026 daemon.info ModemManager[4462]: hotplug: add cdc interface cdc-wdm0: custom event processed
Mon Mar 16 14:28:07 2026 daemon.info ModemManager[4697]: hotplug: add network interface br-lan: event processed
Mon Mar 16 14:28:07 2026 daemon.info ModemManager[4915]: hotplug: add network interface br-wan: event processed
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: started, version 2.91 cachesize 1000
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: DNS service limited to local subnets
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth DNSSEC no-ID loop-detect inotify dumpfile
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq-dhcp[1]: DHCP, IP range 192.168.3.100 -- 192.168.3.249, lease time 12h
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: using only locally-known addresses for test
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: using only locally-known addresses for local
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Mon Mar 16 14:28:10 2026 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Mon Mar 16 14:28:10 2026 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Mon Mar 16 14:28:10 2026 kern.info kernel: [ 61.362966] Per-port-per-queue mode is going to be enabled !
Mon Mar 16 14:28:10 2026 kern.info kernel: [ 61.368671] PPPQ use qid 3~14 (scheduler 0).
Mon Mar 16 14:28:11 2026 daemon.notice [2858]: <msg> [device /sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1] creating modem with plugin 'quectel' and '2' ports
Mon Mar 16 14:28:11 2026 daemon.info [2858]: <inf> [modem0] net/wwan0: net (data)
Mon Mar 16 14:28:11 2026 daemon.info [2858]: <inf> [modem0] usbmisc/cdc-wdm0: qmi
Mon Mar 16 14:28:11 2026 daemon.notice [2858]: <msg> [base-manager] modem for device '/sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1' successfully created
Mon Mar 16 14:28:14 2026 daemon.warn [2858]: <wrn> [modem0] (quectel) failed to initialize SIM hot swap ports context: Couldn't get primary port
Mon Mar 16 14:28:14 2026 daemon.info [2858]: <inf> [modem0] SIM hot swap setup succeeded
Mon Mar 16 14:28:14 2026 daemon.info [2858]: <inf> [modem0] SIM is ready, and no need for the after SIM unlock step...
Mon Mar 16 14:28:14 2026 daemon.info [2858]: <inf> [modem0/sim0] loaded IMSI: ###
Mon Mar 16 14:28:14 2026 daemon.info [2858]: <inf> [modem0/sim0] loaded operator identifier: 310260
Mon Mar 16 14:28:14 2026 daemon.info [2858]: <inf> [modem0/sim0] loaded list of preferred networks:
Mon Mar 16 14:28:14 2026 daemon.info [2858]: <inf> [modem0/sim0] loaded GID1: 544D
Mon Mar 16 14:28:15 2026 daemon.info wsdd2: samba36/4 or ksmbd is not running
Mon Mar 16 14:28:15 2026 daemon.info procd: - init complete -
Mon Mar 16 14:28:25 2026 daemon.warn [2858]: <wrn> [modem0] couldn't load supported assistance data types: Failed to receive indication with the predicted orbits data source
Mon Mar 16 14:28:25 2026 daemon.notice [2858]: <msg> [modem0] state changed (unknown -> disabled)
Mon Mar 16 14:28:25 2026 daemon.info ModemManager[2825]: hotplug: interface 'qmi' set '/sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1' state available
Mon Mar 16 14:28:25 2026 daemon.notice netifd: Interface 'qmi' is setting up now
Mon Mar 16 14:28:25 2026 daemon.notice netifd: qmi (6004): The specified control device does not exist
Mon Mar 16 14:28:25 2026 daemon.notice netifd: qmi (6013): Stopping network qmi
Mon Mar 16 14:28:25 2026 daemon.notice netifd: qmi (6013): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "qmi" } (Permission denied)
Mon Mar 16 14:28:25 2026 daemon.notice netifd: Interface 'qmi' is now down
Mon Mar 16 14:28:26 2026 daemon.warn odhcpd[2459]: No default route present, overriding ra_lifetime to 0!
Mon Mar 16 14:28:28 2026 auth.info login[1249]: root login on 'ttyS0'
Mon Mar 16 14:28:39 2026 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Mon Mar 16 14:28:39 2026 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Mon Mar 16 14:28:39 2026 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 0 names
Mon Mar 16 14:28:39 2026 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Mon Mar 16 14:28:42 2026 daemon.warn odhcpd[2459]: No default route present, overriding ra_lifetime to 0!
Mon Mar 16 14:28:58 2026 daemon.warn odhcpd[2459]: No default route present, overriding ra_lifetime to 0!
Mon Mar 16 14:30:59 2026 daemon.warn [2858]: <wrn> Cannot read from istream: connection broken
Mon Mar 16 14:30:59 2026 daemon.notice [2858]: <msg> [modem0] port 'cdc-wdm0' no longer controllable, reprobing
Mon Mar 16 14:31:01 2026 daemon.notice [2858]: <msg> [device /sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1] creating modem with plugin 'quectel' and '2' ports
Mon Mar 16 14:31:01 2026 daemon.info [2858]: <inf> [modem1] net/wwan0: net (data)
Mon Mar 16 14:31:01 2026 daemon.info [2858]: <inf> [modem1] usbmisc/cdc-wdm0: qmi
Mon Mar 16 14:31:03 2026 daemon.warn [2858]: <wrn> [modem1] (quectel) failed to initialize SIM hot swap ports context: Couldn't get primary port
Mon Mar 16 14:31:03 2026 daemon.info [2858]: <inf> [modem1] SIM hot swap setup succeeded
Mon Mar 16 14:31:04 2026 daemon.info [2858]: <inf> [modem1] SIM is ready, and no need for the after SIM unlock step...
Mon Mar 16 14:31:04 2026 daemon.info [2858]: <inf> [modem1/sim1] loaded IMSI: ###
Mon Mar 16 14:31:04 2026 daemon.info [2858]: <inf> [modem1/sim1] loaded operator identifier: 310260
Mon Mar 16 14:31:04 2026 daemon.info [2858]: <inf> [modem1/sim1] loaded list of preferred networks:
Mon Mar 16 14:31:04 2026 daemon.info [2858]: <inf> [modem1/sim1] loaded GID1: 544D
Mon Mar 16 14:31:15 2026 daemon.warn [2858]: <wrn> [modem1] couldn't load supported assistance data types: Failed to receive indication with the predicted orbits data source
Mon Mar 16 14:31:15 2026 daemon.notice [2858]: <msg> [modem1] state changed (unknown -> disabled)
Mon Mar 16 14:31:15 2026 daemon.info ModemManager[2825]: hotplug: interface 'qmi' set '/sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1' state available
Mon Mar 16 14:31:15 2026 daemon.notice netifd: Interface 'qmi' is setting up now
Mon Mar 16 14:31:15 2026 daemon.notice netifd: qmi (6240): The specified control device does not exist
Mon Mar 16 14:31:15 2026 daemon.notice netifd: qmi (6249): Stopping network qmi
Mon Mar 16 14:31:15 2026 daemon.notice netifd: qmi (6249): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "qmi" } (Permission denied)
Mon Mar 16 14:31:15 2026 daemon.notice netifd: Interface 'qmi' is now down
Mon Mar 16 14:31:16 2026 daemon.warn odhcpd[2459]: No default route present, overriding ra_lifetime to 0!
Mon Mar 16 14:31:48 2026 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.3.30 08:c2:24:81:d1:73
Mon Mar 16 14:31:48 2026 daemon.info dnsmasq-dhcp[1]: DHCPNAK(br-lan) 192.168.3.30 08:c2:24:81:d1:73 address not available
Mon Mar 16 14:31:58 2026 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.3.29 68:f6:3b:01:7d:4c
Mon Mar 16 14:31:58 2026 daemon.info dnsmasq-dhcp[1]: DHCPNAK(br-lan) 192.168.3.29 68:f6:3b:01:7d:4c address not available
Let me change the device and reboot....
[ 46.982089] PPTP driver version 0.8.5
[ 46.987858] qmi_wwan 4-1.1:1.4: cdc-wdm0: USB WDM device
[ 46.994152] qmi_wwan 4-1.1:1.4 wwan0: register 'qmi_wwan' at usb-11200000.usb-1.1, WWAN/QMI device, 72:5a:bf:78:69:5b
[ 47.004849] usbcore: registered new interface driver qmi_wwan
[ 47.011635] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 47.017573] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 51.977557] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[ 52.435647] mtk_ppe: roaming work has been deactivated
[ 52.450949] mtk_ppe: roaming work has been activated
[ 52.455956] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[ 52.464157] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[ 52.466554] mt7530-mmio 15020000.switch lan0: configuring for phy/internal link mode
[ 52.482544] br-lan: port 1(lan0) entered blocking state
[ 52.487820] br-lan: port 1(lan0) entered disabled state
[ 52.493076] mt7530-mmio 15020000.switch lan0: entered allmulticast mode
[ 52.499732] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[ 52.506718] mt7530-mmio 15020000.switch lan0: entered promiscuous mode
[ 52.517930] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode
[ 52.526486] br-lan: port 2(lan3) entered blocking state
[ 52.531711] br-lan: port 2(lan3) entered disabled state
[ 52.536973] mt7530-mmio 15020000.switch lan3: entered allmulticast mode
[ 52.543731] mt7530-mmio 15020000.switch lan3: entered promiscuous mode
[ 52.552389] mtk_soc_eth 15100000.ethernet eth2: configuring for fixed/10gbase-r link mode
[ 52.604584] mtk_soc_eth 15100000.ethernet eth2: Link is Up - 10Gbps/Full - flow control rx/tx
[ 52.631143] mxl862xx mdio-bus:10 mxl_lan0: configuring for phy/internal link mode
[ 52.639680] br-lan: port 3(mxl_lan0) entered blocking state
[ 52.645286] br-lan: port 3(mxl_lan0) entered disabled state
[ 52.650965] mxl862xx mdio-bus:10 mxl_lan0: entered allmulticast mode
[ 52.657365] mtk_soc_eth 15100000.ethernet eth2: entered allmulticast mode
[ 52.896975] mxl862xx mdio-bus:10 mxl_lan0: entered promiscuous mode
[ 52.928770] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: port:0 setting VLAN:1 with vlan_filtering disabled
[ 53.052526] mxl862xx mdio-bus:10 mxl_lan1: configuring for phy/internal link mode
[ 53.078205] br-lan: port 4(mxl_lan1) entered blocking state
[ 53.083784] br-lan: port 4(mxl_lan1) entered disabled state
[ 53.089413] mxl862xx mdio-bus:10 mxl_lan1: entered allmulticast mode
[ 53.312378] mxl862xx mdio-bus:10 mxl_lan1: entered promiscuous mode
[ 53.337908] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: port:1 setting VLAN:1 with vlan_filtering disabled
[ 53.456005] mxl862xx mdio-bus:10 mxl_lan2: configuring for phy/internal link mode
[ 53.481722] br-lan: port 5(mxl_lan2) entered blocking state
[ 53.487362] br-lan: port 5(mxl_lan2) entered disabled state
[ 53.492976] mxl862xx mdio-bus:10 mxl_lan2: entered allmulticast mode
[ 53.736843] mxl862xx mdio-bus:10 mxl_lan2: entered promiscuous mode
[ 53.762396] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: port:2 setting VLAN:1 with vlan_filtering disabled
[ 53.879507] mxl862xx mdio-bus:10 mxl_lan3: configuring for phy/internal link mode
[ 53.905220] br-lan: port 6(mxl_lan3) entered blocking state
[ 53.910814] br-lan: port 6(mxl_lan3) entered disabled state
[ 53.916421] mxl862xx mdio-bus:10 mxl_lan3: entered allmulticast mode
[ 54.177612] mxl862xx mdio-bus:10 mxl_lan3: entered promiscuous mode
[ 54.203204] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: port:3 setting VLAN:1 with vlan_filtering disabled
[ 54.280501] mxl862xx mdio-bus:10 mxl_lan5: configuring for fixed/usxgmii link mode
[ 54.288591] mxl862xx mdio-bus:10 mxl_lan5: Link is Up - 10Gbps/Full - flow control off
[ 54.288841] br-lan: port 7(mxl_lan5) entered blocking state
[ 54.302078] br-lan: port 7(mxl_lan5) entered disabled state
[ 54.307664] mxl862xx mdio-bus:10 mxl_lan5: entered allmulticast mode
[ 54.587274] mxl862xx mdio-bus:10 mxl_lan5: entered promiscuous mode
[ 54.612802] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: port:12 setting VLAN:1 with vlan_filtering disabled
[ 54.678196] br-lan: port 7(mxl_lan5) entered blocking state
[ 54.683761] br-lan: port 7(mxl_lan5) entered forwarding state
[ 54.694311] mxl862xx mdio-bus:10 mxl_lan5: Link is Down
[ 55.081162] Aeonsemi AS21xxx mdio-bus:18: Firmware Version: 1.9.1
[ 55.087573] mxl862xx mdio-bus:10 mxl_lan5: PHY [mdio-bus:18] driver [Aeonsemi AS21xxx] (irq=POLL)
[ 55.096443] mxl862xx mdio-bus:10 mxl_lan5: configuring for phy/10gbase-r link mode
[ 55.104478] mxl862xx mdio-bus:10: dsa mux: switch to channel1
[ 55.110486] br-lan: port 7(mxl_lan5) entered disabled state
[ 55.501175] Aeonsemi AS21xxx mdio-bus:1c: Firmware Version: 1.9.1
[ 55.507523] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:1c] driver [Aeonsemi AS21xxx] (irq=POLL)
[ 55.516827] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/10gbase-r link mode
[ 55.536892] br-wan: port 1(eth1) entered blocking state
[ 55.542129] br-wan: port 1(eth1) entered disabled state
[ 55.547378] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 55.554246] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[ 56.122214] mt7530-mmio 15020000.switch lan0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 56.122242] br-lan: port 1(lan0) entered blocking state
[ 56.135727] br-lan: port 1(lan0) entered forwarding state
[ 58.692257] Per-port-per-queue mode is going to be enabled !
[ 58.698000] PPPQ use qid 3~14 (scheduler 0).
And what's not on the console:
Mon Mar 16 14:37:10 2026 daemon.notice [2851]: <msg> [device /sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1] creating modem with plugin 'quectel' and '2' ports
Mon Mar 16 14:37:10 2026 daemon.warn [2851]: <wrn> [plugin/quectel] could not grab port cdc-wdm0: Cannot add port 'usbmisc/cdc-wdm0', unhandled port type
Mon Mar 16 14:37:10 2026 daemon.warn [2851]: <wrn> [base-manager] couldn't create modem for device '/sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1': Failed to find primary AT port
Mon Mar 16 14:37:11 2026 daemon.notice netifd: qmi (3842): "No effect"
Mon Mar 16 14:37:13 2026 daemon.info wsdd2: samba36/4 or ksmbd is not running
Mon Mar 16 14:37:13 2026 daemon.info procd: - init complete -
Mon Mar 16 14:37:16 2026 daemon.notice netifd: qmi (3842): Failed to parse message data
Mon Mar 16 14:37:16 2026 daemon.notice netifd: qmi (3842): SIM in illegal state - Power-cycling SIM
Mon Mar 16 14:37:22 2026 daemon.warn odhcpd[2467]: No default route present, overriding ra_lifetime to 0!
Mon Mar 16 14:37:25 2026 daemon.notice netifd: qmi (3842): Failed to parse message data
Mon Mar 16 14:37:25 2026 daemon.notice netifd: qmi (3842): PIN verification is disabled
Mon Mar 16 14:37:25 2026 daemon.notice netifd: qmi (3842): Setting PLMN to 310260
Mon Mar 16 14:37:25 2026 daemon.notice netifd: qmi (3842): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
root at OpenWrt:~# ip -0 -o link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000\ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000\ link/ether e6:3d:2a:46:fc:e6 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-wan state DOWN mode DEFAULT group default qlen 1000\ link/ether c6:74:75:69:41:29 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000\ link/ether a6:76:5b:7e:81:d9 brd ff:ff:ff:ff:ff:ff
5: lan0 at eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP mode DEFAULT group default qlen 1000\ link/ether e6:3d:2a:46:fc:e6 brd ff:ff:ff:ff:ff:ff
6: lan3 at eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000\ link/ether e6:3d:2a:46:fc:e6 brd ff:ff:ff:ff:ff:ff
7: mxl_lan0 at eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000\ link/ether a6:76:5b:7e:81:d9 brd ff:ff:ff:ff:ff:ff
8: mxl_lan1 at eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000\ link/ether a6:76:5b:7e:81:d9 brd ff:ff:ff:ff:ff:ff
9: mxl_lan2 at eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000\ link/ether a6:76:5b:7e:81:d9 brd ff:ff:ff:ff:ff:ff
10: mxl_lan3 at eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000\ link/ether a6:76:5b:7e:81:d9 brd ff:ff:ff:ff:ff:ff
11: mxl_lan5 at eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state DOWN mode DEFAULT group default qlen 1000\ link/ether a6:76:5b:7e:81:d9 brd ff:ff:ff:ff:ff:ff
12: gre0 at NONE: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000\ link/gre 0.0.0.0 brd 0.0.0.0
13: gretap0 at NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN mode DEFAULT group default qlen 1000\ link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
14: erspan0 at NONE: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN mode DEFAULT group default qlen 1000\ link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
15: wwan0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000\ link/none
16: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000\ link/ether e6:3d:2a:46:fc:e6 brd ff:ff:ff:ff:ff:ff
17: br-wan: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000\ link/ether c6:74:75:69:41:29 brd ff:ff:ff:ff:ff:ff
Looks like the documentation here:
https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle
Isn't exactly right. And this part of my /etc/config/network mismatches:
config device
option name 'br-wan'
option type 'bridge'
list ports 'eth1'
config interface 'wan'
option device 'br-wan'
option proto 'dhcp'
config interface 'wan6'
option device 'br-wan'
option proto 'dhcpv6'
config interface 'WWAN'
option proto 'dhcp'
option device 'usb0'
config interface 'WWAN6'
option proto 'dhcpv6'
option device 'usb0'
option reqaddress 'try'
option reqprefix 'auto'
config interface 'WWAN_Q'
option proto 'dhcp'
option device 'wwan0_1'
config interface 'WWAN6_Q'
option proto 'dhcpv6'
option device 'wwan0_1'
option reqaddress 'try'
option reqprefix 'auto'
config interface 'qmi'
option proto 'qmi'
option device '/dev/cdc-wdm0'
##option device '/sys/devices/platform/soc/11200000.usb/usb4/4-1/4-1.1'
option apn 'fast.t-mobile.com'
option auth 'none'
option pdptype 'ipv4v6'
##option pdptype 'ipv4'
##option apntype 'default,supl,mms'
option plmn '310260'
option modes '5gnr,lte,umts'
option dhcp '1'
option autoconnect '1'
Guessing I need to add "list ports wwan0" to "config device/option name br-wan".
Where is all of this other stuff being generated by? What don't I need?
Thanks
More information about the openwrt-devel
mailing list