Noobish help with rpi5, sixfab 5g modem kit setup

Hi

I got a raspberry pi 5, and a sixfab 5g modem kit for it. https://sixfab.com/product/sixfab-5g-modem-kit-for-raspberry-pi-5/

I installed the official snapshot of openwrt with luci included.

Fwiw I am currently connected to the pi via ethernet, and the internet via the pi's wireless card without any trouble.

Here is the output from lsusb, that shows the pi is seeing the Quectel RM502Q-AE:

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.35 xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux 6.6.35 xhci-hcd xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 6.6.35 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0003 Linux 6.6.35 xhci-hcd xHCI Host Controller
Bus 004 Device 002: ID 2c7c:0800 Quectel RM502Q-AE

Sixfab's approach is not openwrt specific, but I did try it: I needed to install python3, pip3, and a package called atcom, and use AT commands. https://github.com/sixfab/atcom

I will confess that I ran into issues around increasing the size of /overlay. These issues didn't seem really difficult to overcome, but if did try for a little while, and if I don't actually need to figure this out at this point anyway I would rather not!

I guessed that I might be able to connect to the sixfab modem using qmi. I searched for 'qmi' in the pi's web interface: system > software page and installed the packages that were available: qmi-utils, kmod-usb-net-qmi-wwan, luci-proto-qmi, libqmi, and uqmi.

I then went to Network > Interfaces > Add new interface. I named the interface, then selected QMI Cellular for 'Protocol'. Then 'create device'.

I was hoping that openwrt would automatically know the modem device I wanted/needed to use, but nothing came up.

In a previous thread I was asked to post the output from:

cat /sys/kernel/debug/usb/devices

I assume below is the portion of the output that is relevant when I run the above command this time. I notice the specified driver is 'none'.

D:  Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=2c7c ProdID=0800 Rev= 4.14
S:  Manufacturer=Quectel
S:  Product=RM502Q-AE
S:  SerialNumber=f3b77b9d
C:* #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
A:  FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=87(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
E:  Ad=88(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
I:* If#= 5 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I:  If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

I knew that sixfab have a linux driver here: https://docs.sixfab.com/docs/sixfab-5g-modem-kit-documentation

The * Quectel Linux&Android QMI WWAN Driver V1.2.1 seemed most likely to be the one I want, but I am not sure if I need to (or how to) install it on openwrt. It might not be necessary anyway.

So, I have done a certain amount of investigation, but
I would be very grateful for any help in how to proceed. . I am wondering if I can create a data connection using qmi? If I so can how can I find out what modem device I need to use? (I think I know the rest of the settings).

If the driver I think is the one I need, how do I install it in openwrt?

I will admit that I am not 100% sure what qmi actually is. Does its use mean I don't need a driver for the sixfab 5g modem kit anyway? If I need something other than the sixfab driver to use qmi can somebody tell me what I need - or at least give me a good point in the right direction)?

Or do I need another approach?

Thanks very much in advance for any help! It is appreciated.

See https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle
Switch the modem to MBIM and configure the rest accordingly.

Thanks for the reply.

Before following the tutorial on the link you provided, I looked at sixfab's tutorial, (wrongly, I think) thinking I might need to install a driver or something. The tutorial is here: https://docs.sixfab.com/docs/sixfab-5g-modem-kit-getting-started

I think the only difference really is that sixfab's tutorial uses atcom, rather than picocom, to send AT command to the modem.

Anyway, in order to follow sixfab's tutorial I installed python3, and python3-pip, then ran pip3 install atcom to get atcom.

I then ran the following commands, suggesting to me the modem is on ttyUSB2 or ttyUSB3 (or maybe both, I am not sure). (The command line just immediately returned with no response when I tried atcom AT -p /dev/ttyUSB0.)

root@OpenWrt:~# atcom AT -p /dev/ttyUSB0
root@OpenWrt:~# atcom AT -p /dev/ttyUSB1
[ERR]   Timeout, couldn't get response
root@OpenWrt:~# atcom AT -p /dev/ttyUSB2
AT
OK

root@OpenWrt:~# atcom AT -p /dev/ttyUSB3
AT
OK

I installed picocom, then ran the same following commands on both /dev/ttyUSB2 and /dev/ttyUSB3, which, as far as the link says, means the modem is in MBIM mode.

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
OK
AT+QCFG="usbnet"

+QCFG: "usbnet",2

OK

(Cut/pasted from the link):

AT+QCFG="usbnet",0	# set QMI or RMNET mode
AT+QCFG="usbnet",1	# set ECM mode
AT+QCFG="usbnet",2	# set MBIM mode

So far so good. I think I have switched the modem to MBIM mode.

I switched to openwrt's web interface, went to: http://192.168.1.1/cgi-bin/luci/admin/network/network and clicked 'Add new interface'.

I called the interface 'sixfab', selected 'MBIM cellular' as the protocol, and clicked 'create interface'.

I selected 'WAN' as the firewall zone, put in my mobile internet provider's APN in the appropriate field, then entered /dev/ttyUSB2 in the 'Modem device' field, but got the ' Error: Network device is not present' error.

I have tried:
/dev/ttyUSB3
ttyUSB2
ttyUSB3
/ttyUSB2
/ttyUSB3
dev/ttyUSB2
dev/ttyUSB3

'Bring up on boot' is ticked. 'Disable this device is NOT ticked(!)

I would have thought this should work, but obviously I am missing something/getting something wrong! As before any help is very much appreciated.

*** I will add that I am 99.9% sure the APN and username/password are correct. But when these have been wrong with my other modem I got a different error message anyway. I will ring up the mobile provider to confirm I have these right now.

Why is that? Where in the OpenWrt wiki did you see such instructions?

Well it isn't in the wiki!

Actually sorry, I thought I had been thorough in my reply to you but I hadn't been thorough enough...

The tutorial actually fails, for me, at this point:

 2. Reboot the router

reboot

3. Check that everything is OK and You got new device: 
root@OpenWrt:~# ls -l /dev/cdc-wdm0
ls: /dev/cdc-wdm0: No such file or directory

Here is the output from dmesg:

root@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 6.6.35 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r26792-646ebbd32c) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Tue Jun 25 19:42:54 2024
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000001000000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000001000000..0x0000000004ffffff (65536 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable atf@0
[    0.000000] OF: reserved mem: 0x000000003fd16320..0x000000003fd16357 (0 KiB) nomap non-reusable nvram@0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000007ffff]
[    0.000000]   node   0: [mem 0x0000000000080000-0x000000003fbfffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA: 1024 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 18 pages/cpu s36776 r8192 d28760 u73728
[    0.000000] pcpu-alloc: s36776 r8192 d28760 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=2C:CF:67:27:0D:F6 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=tty1 console=ttyAMA10,115200 root=PARTUUID=f31892c4-02 rootfstype=squashfs,ext4 rootwait
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2063360
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 8077352K/8384512K available (9344K kernel code, 984K rwdata, 2692K rodata, 512K init, 556K bss, 241624K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000135] Console: colour dummy device 80x25
[    0.000139] printk: console [tty1] enabled
[    0.000265] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000272] pid_max: default: 32768 minimum: 301
[    0.000390] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000425] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000642] cgroup: Disabling memory control group subsystem
[    0.001090] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.001171] rcu: Hierarchical SRCU implementation.
[    0.001174] rcu: 	Max phase no-delay instances is 1000.
[    0.001744] smp: Bringing up secondary CPUs ...
[    0.001918] Detected PIPT I-cache on CPU1
[    0.001958] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1]
[    0.002157] Detected PIPT I-cache on CPU2
[    0.002188] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[    0.002373] Detected PIPT I-cache on CPU3
[    0.002399] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[    0.002424] smp: Brought up 1 node, 4 CPUs
[    0.002441] SMP: Total of 4 processors activated.
[    0.002444] CPU features: detected: 32-bit EL0 Support
[    0.002448] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.002453] CPU features: detected: Common not Private translations
[    0.002457] CPU features: detected: CRC32 instructions
[    0.002461] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.002464] CPU features: detected: Privileged Access Never
[    0.002467] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.002499] CPU: All CPU(s) started at EL2
[    0.002503] alternatives: applying system-wide alternatives
[    0.006677] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006691] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.007469] pinctrl core: initialized pinctrl subsystem
[    0.007788] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.008240] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.008297] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.008387] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.008518] thermal_sys: Registered thermal governor 'step_wise'
[    0.008527] cpuidle: using governor ladder
[    0.008535] cpuidle: using governor menu
[    0.008602] ASID allocator initialised with 65536 entries
[    0.008922] Serial: AMBA PL011 UART driver
[    0.009603] bcm2835-mbox 107c013880.mailbox: mailbox enabled
[    0.009798] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2
[    0.009812] printk: console [ttyAMA10] enabled
[    0.632701] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-01-05T15:57:40, variant start_cd
[    0.652751] raspberrypi-firmware soc:firmware: Firmware hash is 30cc5f3700000000000000000000000000000000
[    0.665201] Modules: 29200 pages in range for non-PLT usage
[    0.665204] Modules: 520720 pages in range for PLT usage
[    0.671094] cryptd: max_cpu_qlen set to 1000
[    0.680938] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1
[    0.688394] iommu: Default domain type: Translated
[    0.693202] iommu: DMA domain TLB invalidation policy: strict mode
[    0.699481] SCSI subsystem initialized
[    0.703278] usbcore: registered new interface driver usbfs
[    0.708787] usbcore: registered new interface driver hub
[    0.714126] usbcore: registered new device driver usb
[    0.719282] mc: Linux media interface: v0.10
[    0.723570] videodev: Linux video capture interface: v2.00
[    0.729082] pps_core: LinuxPPS API ver. 1 registered
[    0.734062] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.743236] PTP clock support registered
[    0.747556] clocksource: Switched to clocksource arch_sys_counter
[    0.754634] NET: Registered PF_INET protocol family
[    0.759693] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.769640] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.778256] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.786036] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.794268] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.803314] TCP: Hash tables configured (established 65536 bind 65536)
[    0.809934] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.816847] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.824252] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.829950] PCI: CLS 0 bytes, default 64
[    0.834356] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    0.841009] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.846862] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.868327] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.875940] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 27)
[    0.883675] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 28)
[    0.891398] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 29)
[    0.899128] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 30)
[    0.907827] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    0.914668] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    0.921661] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    0.930753] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    0.939056] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    0.947360] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    0.955662] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    0.965023] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[    0.972716] bcm2708_fb: probe of soc:fb failed with error -2
[    1.010423] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.017026] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 32, base_baud = 6000000) is a Broadcom BCM7271 UART
[    1.027833] iproc-rng200 107d208000.rng: hwrng registered
[    1.033283] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    1.041696] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040
[    1.049487] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1
[    1.057104] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040
[    1.064894] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2
[    1.072510] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
[    1.080299] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
[    1.087917] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
[    1.095704] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4
[    1.103426] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe
[    1.112271] brd: module loaded
[    1.116255] loop: module loaded
[    1.119555] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.127653] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.133437] dwc_otg: FIQ enabled
[    1.133439] dwc_otg: NAK holdoff enabled
[    1.133440] dwc_otg: FIQ split-transaction FSM enabled
[    1.133443] Module dwc_common_port init
[    1.133531] usbcore: registered new interface driver uas
[    1.138870] usbcore: registered new interface driver usb-storage
[    1.144944] mousedev: PS/2 mouse device common for all mice
[    1.158277] rpi-rtc soc:rpi_rtc: registered as rtc0
[    1.164626] rpi-rtc soc:rpi_rtc: setting system clock to 2024-06-29T11:08:33 UTC (1719659313)
[    1.173532] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[    1.180089] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.188732] sdhci: Secure Digital Host Controller Interface driver
[    1.194935] sdhci: Copyright(c) Pierre Ossman
[    1.199343] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.205660] NET: Registered PF_INET6 protocol family
[    1.210960] Segment Routing with IPv6
[    1.214638] In-situ OAM (IOAM) with IPv6
[    1.214691] sdhci-brcmstb 1000fff000.mmc: Got CD GPIO
[    1.218588] NET: Registered PF_PACKET protocol family
[    1.228711] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.241767] 8021q: 802.1Q VLAN Support v1.8
[    1.250353] Key type .fscrypt registered
[    1.254286] Key type fscrypt-provisioning registered
[    1.259845] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    1.266835] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    1.275927] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    1.284233] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    1.292536] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    1.300837] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    1.310737] brcm-pcie 1000120000.pcie: Forcing gen 2
[    1.315961] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0000:00
[    1.322429] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.327934] pci_bus 0000:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[    1.338501] pci_bus 0000:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[    1.349687] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400
[    1.355730] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.361846] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.487557] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    1.494210] pci 0000:01:00.0: [1de4:0001] type 00 class 0x020000
[    1.500248] pci 0000:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff]
[    1.506540] pci 0000:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff]
[    1.512833] pci 0000:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff]
[    1.519183] pci 0000:01:00.0: supports D1
[    1.523201] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    1.557561] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.564203] pci 0000:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff]
[    1.571366] pci 0000:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff]
[    1.578530] pci 0000:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff]
[    1.585692] pci 0000:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff]
[    1.592855] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.597836] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[    1.604998] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    1.613475] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    1.621991] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.628131] pcieport 0000:00:00.0: PME: Signaling with IRQ 35
[    1.633938] pcieport 0000:00:00.0: AER: enabled with IRQ 35
[    1.639583] rp1 0000:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    1.648667] rp1 0000:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    1.657930] rp1 0000:01:00.0: enabling device (0000 -> 0002)
[    1.664258] rp1 0000:01:00.0: chip_id 0x20001927
[    1.673240] genirq: irq_chip rp1_irq_chip did not update eff. affinity mask of irq 97
[    1.709539] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 103 (2c:cf:67:27:0d:f6)
[    1.720221] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    1.725297] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[    1.732985] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810
[    1.741993] xhci-hcd xhci-hcd.0: irq 128, io mem 0x1f00200000
[    1.747829] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    1.752895] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    1.760148] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[    1.766321] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.774626] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.781877] usb usb1: Product: xHCI Host Controller
[    1.786768] usb usb1: Manufacturer: Linux 6.6.35 xhci-hcd
[    1.792183] usb usb1: SerialNumber: xhci-hcd.0
[    1.796711] hub 1-0:1.0: USB hub found
[    1.800480] hub 1-0:1.0: 2 ports detected
[    1.804595] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    1.812894] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.820143] usb usb2: Product: xHCI Host Controller
[    1.825034] usb usb2: Manufacturer: Linux 6.6.35 xhci-hcd
[    1.830453] usb usb2: SerialNumber: xhci-hcd.0
[    1.834962] hub 2-0:1.0: USB hub found
[    1.838729] hub 2-0:1.0: 1 port detected
[    1.842885] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    1.847957] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[    1.855637] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810
[    1.864642] xhci-hcd xhci-hcd.1: irq 133, io mem 0x1f00300000
[    1.870469] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    1.875537] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    1.882787] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[    1.888941] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.897239] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.904490] usb usb3: Product: xHCI Host Controller
[    1.909382] usb usb3: Manufacturer: Linux 6.6.35 xhci-hcd
[    1.914797] usb usb3: SerialNumber: xhci-hcd.1
[    1.919309] hub 3-0:1.0: USB hub found
[    1.923074] hub 3-0:1.0: 2 ports detected
[    1.927183] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    1.935482] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.942731] usb usb4: Product: xHCI Host Controller
[    1.947625] usb usb4: Manufacturer: Linux 6.6.35 xhci-hcd
[    1.953039] usb usb4: SerialNumber: xhci-hcd.1
[    1.957546] hub 4-0:1.0: USB hub found
[    1.961314] hub 4-0:1.0: 1 port detected
[    1.965350] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000
[    1.973142] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0
[    1.981102] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    1.989373] platform 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    1.997407] platform 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    2.005452] platform 1000800000.codec: Adding to iommu group 0
[    2.011311] platform 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    2.019521] platform 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    2.027732] platform 1000880000.pisp_be: Adding to iommu group 0
[    2.033773] platform 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    2.041634] platform 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    2.049670] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success
[    2.056686] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.064981] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success
[    2.072045] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.080301] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success
[    2.087761] sdhci-brcmstb 1000fff000.mmc: Got CD GPIO
[    2.087795] mmc1: CQHCI version 5.10
[    2.088077] of_cfs_init
[    2.088099] of_cfs_init: OK
[    2.088146] clk: Disabling unused clocks
[    2.105628] uart-pl011 107d001000.serial: no DMA platform data
[    2.130082] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[    2.236283] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
[    2.243159] mmcblk0: mmc0:aaaa SN01T 954 GiB
[    2.248139]  mmcblk0: p1 p2
[    2.250978] mmcblk0: mmc0:aaaa SN01T 954 GiB (quirks 0x00004000)
[    2.298093] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit
[    2.311707] EXT4-fs (mmcblk0p2): mounted filesystem ff313567-e9f1-5a5d-9895-3ba130b4a864 ro with ordered data mode. Quota mode: disabled.
[    2.324128] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.331122] Freeing unused kernel memory: 512K
[    2.335642] Run /sbin/init as init process
[    2.339753]   with arguments:
[    2.339754]     /sbin/init
[    2.339755]   with environment:
[    2.339756]     HOME=/
[    2.339757]     TERM=linux
[    2.350697] mmc1: new ultra high speed DDR50 SDIO card at address 0001
[    2.366134] init: Console is alive
[    2.369588] init: - watchdog -
[    2.439582] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.449676] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.463308] init: - preinit -
[    2.508964] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)
[    2.519896] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode
[    2.532674] pps pps0: new PPS source ptp0
[    2.536715] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.
[    3.028666] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[    3.061412] usb 4-1: New USB device found, idVendor=2c7c, idProduct=0800, bcdDevice= 4.14
[    3.069627] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.076789] usb 4-1: Product: RM502Q-AE
[    3.080635] usb 4-1: Manufacturer: Quectel
[    3.084741] usb 4-1: SerialNumber: f3b77b9d
[    3.265969] usb 4-1: Enable of device-initiated U1 failed.
[    3.330022] usb 4-1: Enable of device-initiated U2 failed.
[    4.592213] mount_root: mounting /dev/root with options 
[    4.689314] EXT4-fs (mmcblk0p2): re-mounted ff313567-e9f1-5a5d-9895-3ba130b4a864 r/w. Quota mode: disabled.
[    4.723672] insmod: module is already loaded - fat
[    4.728969] insmod: module is already loaded - vfat
[    4.744862] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.755146] urandom-seed: Seeding with /etc/urandom.seed
[    4.769110] macb 1f00100000.ethernet: gem-ptp-timer ptp clock unregistered.
[    4.777107] procd: - early -
[    4.780022] procd: - watchdog -
[    5.292832] procd: - watchdog -
[    5.296569] procd: - ubus -
[    5.449708] procd: - init -
[    5.512008] kmodloader: loading kernel modules from /etc/modules.d/*
[    5.525652] hid: raw HID events driver (C) Jiri Kosina
[    5.531237] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.550315] brcmutil: loading out-of-tree module taints kernel.
[    5.556527] usbcore: registered new interface driver cdc_wdm
[    5.562440] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[    5.569956] Backport generated by backports.git 193becf2
[    5.576765] usbcore: registered new interface driver usbhid
[    5.582369] usbhid: USB HID core driver
[    5.586942] usbcore: registered new interface driver usbserial_generic
[    5.593526] usbserial: USB Serial support registered for generic
[    5.602187] cdc_ether 4-1:1.4 usb0: register 'cdc_ether' at usb-xhci-hcd.1-1, CDC Ethernet Device, a6:cb:56:8e:d0:0c
[    5.633360] usb 4-1: Enable of device-initiated U1 failed.
[    5.697314] usb 4-1: Enable of device-initiated U2 failed.
[    5.729160] usbcore: registered new interface driver cdc_ether
[    5.735452] usbcore: registered new interface driver cdc_ncm
[    5.752997] PPP generic driver version 2.4.2
[    5.757440] NET: Registered PF_PPPOX protocol family
[    5.762663] usbcore: registered new interface driver qmi_wwan
[    5.773319] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.782075] usbcore: registered new interface driver brcmfmac
[    5.787872] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2
[    5.799579] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin
[    5.799641] usbcore: registered new interface driver cdc_mbim
[    5.816620] usbcore: registered new interface driver option
[    5.822232] usbserial: USB Serial support registered for GSM modem (1-port)
[    5.829267] option 4-1:1.0: GSM modem (1-port) converter detected
[    5.835424] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
[    5.842275] option 4-1:1.1: GSM modem (1-port) converter detected
[    5.848436] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
[    5.855279] option 4-1:1.2: GSM modem (1-port) converter detected
[    5.861440] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
[    5.868283] option 4-1:1.3: GSM modem (1-port) converter detected
[    5.874434] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB3
[    5.882374] usbcore: registered new interface driver qcserial
[    5.888185] usbserial: USB Serial support registered for Qualcomm USB modem
[    5.895240] kmodloader: done loading kernel modules from /etc/modules.d/*
[    6.041729] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    6.049626] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jul 29 2022 02:15:20 version 7.45.250 (70e9766 CY) FWID 01-e53e306b
[    6.531928] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)
[    6.542890] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode
[    6.554414] pps pps0: new PPS source ptp0
[    6.558479] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.
[    6.566072] br-lan: port 1(eth0) entered blocking state
[    6.571336] br-lan: port 1(eth0) entered disabled state
[    6.576589] macb 1f00100000.ethernet eth0: entered allmulticast mode
[    6.583036] macb 1f00100000.ethernet eth0: entered promiscuous mode
[    6.683377] brcmfmac mmc1:0001:1 phy0-sta0: renamed from wlan0
[    9.718716] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control tx
[    9.726520] br-lan: port 1(eth0) entered blocking state
[    9.731770] br-lan: port 1(eth0) entered forwarding state

Your modem is not in MBIM mode yet.
Power toggle the modem or the whole system or send at+cfun=1,1 to the modem.
Then give the modem a few moments to complete the restart and re-check with cat /sys/kernel/debug/usb/devices

So I sent at+cfun=1,1 to the modem.

Then:

root@OpenWrt:~# 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=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.06
S:  Manufacturer=Linux 6.6.35 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.0
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=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 6.06
S:  Manufacturer=Linux 6.6.35 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.0
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=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.06
S:  Manufacturer=Linux 6.6.35 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.1
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=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 6.06
S:  Manufacturer=Linux 6.6.35 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.1
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

(And thanks, by the way)

You need to give the modem some time before checking.

1 Like

Hi,

Thanks very much!

/dev/cdc=wm0 isnow appearing in a dropdown list in the Modem device field.

I am getting the following: Error: Unknown error (NO_SUBSCRIBER)

But I assume this is something to do with my internet provider.

Thanks again, I must have just been not waiting for this /dev/cdc-wdm0 device to be created or whatever.

I will mark this as solved. Great!

Now run logread -f then restart the interface in Luci.
Wait a minute or so then stop the log collection with Ctrl-C and post the output here.

Thanks for your continued help with this. I called my service provider and entered the correct APN and pin (this is the only information the had for me) (I also confirmed that my account was paid as it was supposed to be), and googled the error messages without any luck. Here is the output:

root@OpenWrt:~# logread -f
Sat Jun 29 12:36:49 2024 daemon.notice netifd: sixfab (4703): mbim[4703] Stopping network
Sat Jun 29 12:36:49 2024 daemon.notice netifd: sixfab (4703): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 12:36:49 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 12:36:49 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 12:36:49 2024 daemon.notice netifd: sixfab (4711): mbim[4711] Reading capabilities
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   devicetype: 0001 - embedded
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   cellularclass: 0001
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   voiceclass: 0001 - no-voice
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   simclass: 0002
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   dataclass: 8000003C
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   smscaps: 0003
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   controlcaps: 0001
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   maxsessions: 000F
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   deviceid: 016502003334247
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   hardwareinfo: RM502Q-AE
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711): mbim[4711] Checking pin
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711): required pin: 3 - pin2
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711): remaining attempts: 3
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711): mbim[4711] Checking subscriber
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   readystate: 0001 - initialized
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   simiccid: 89441000304318530785
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   subscriberid: 234159402048369
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711): mbim[4711] Register with network
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   nwerror: 0000 - unknown
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   registerstate: 0001 - deregistered
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   registermode: 0001 - automatic
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   availabledataclasses: 0000 - (null)
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   currentcellularclass: 0001 - gsm
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   provider_id: (null)
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   provider_name: (null)
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711):   roamingtext: (null)
Sat Jun 29 12:36:50 2024 daemon.notice netifd: sixfab (4711): mbim[4711] Subscriber registration failed (code 1)
Sat Jun 29 12:36:50 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 12:36:50 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4817): mbim[4817] Stopping network
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4817): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 12:36:53 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 12:36:53 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825): mbim[4825] Reading capabilities
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   devicetype: 0001 - embedded
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   cellularclass: 0001
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   voiceclass: 0001 - no-voice
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   simclass: 0002
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   dataclass: 8000003C
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   smscaps: 0003
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   controlcaps: 0001
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   maxsessions: 000F
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   deviceid: 016502003334247
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   hardwareinfo: RM502Q-AE
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825): mbim[4825] Checking pin
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825): required pin: 3 - pin2
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825): remaining attempts: 3
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825): mbim[4825] Checking subscriber
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   readystate: 0001 - initialized
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   simiccid: 89441000304318530785
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   subscriberid: 234159402048369
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825): mbim[4825] Register with network
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   nwerror: 0000 - unknown
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   registerstate: 0001 - deregistered
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   registermode: 0001 - automatic
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   availabledataclasses: 0000 - (null)
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   currentcellularclass: 0001 - gsm
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   provider_id: (null)
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   provider_name: (null)
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825):   roamingtext: (null)
Sat Jun 29 12:36:53 2024 daemon.notice netifd: sixfab (4825): mbim[4825] Subscriber registration failed (code 1)
Sat Jun 29 12:36:53 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 12:36:54 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 12:37:08 2024 daemon.notice netifd: sixfab (4927): mbim[4927] Stopping network
Sat Jun 29 12:37:08 2024 daemon.notice netifd: sixfab (4927): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 12:37:08 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 12:37:08 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 12:37:08 2024 daemon.notice netifd: sixfab (4935): mbim[4935] Reading capabilities
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   devicetype: 0001 - embedded
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   cellularclass: 0001
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   voiceclass: 0001 - no-voice
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   simclass: 0002
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   dataclass: 8000003C
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   smscaps: 0003
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   controlcaps: 0001
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   maxsessions: 000F
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   deviceid: 016502003334247
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   hardwareinfo: RM502Q-AE
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935): mbim[4935] Checking pin
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935): required pin: 3 - pin2
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935): remaining attempts: 3
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935): mbim[4935] Checking subscriber
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   readystate: 0001 - initialized
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   simiccid: 89441000304318530785
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   subscriberid: 234159402048369
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935): mbim[4935] Register with network
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   nwerror: 0000 - unknown
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   registerstate: 0001 - deregistered
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   registermode: 0001 - automatic
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   availabledataclasses: 0000 - (null)
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   currentcellularclass: 0001 - gsm
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   provider_id: (null)
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   provider_name: (null)
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935):   roamingtext: (null)
Sat Jun 29 12:37:09 2024 daemon.notice netifd: sixfab (4935): mbim[4935] Subscriber registration failed (code 1)
Sat Jun 29 12:37:09 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 12:37:09 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 12:37:24 2024 daemon.notice netifd: sixfab (5036): mbim[5036] Stopping network
Sat Jun 29 12:37:24 2024 daemon.notice netifd: sixfab (5036): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 12:37:24 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 12:37:24 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 12:37:24 2024 daemon.notice netifd: sixfab (5044): mbim[5044] Reading capabilities
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   devicetype: 0001 - embedded
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   cellularclass: 0001
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   voiceclass: 0001 - no-voice
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   simclass: 0002
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   dataclass: 8000003C
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   smscaps: 0003
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   controlcaps: 0001
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   maxsessions: 000F
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   deviceid: 016502003334247
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   hardwareinfo: RM502Q-AE
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044): mbim[5044] Checking pin
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044): required pin: 3 - pin2
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044): remaining attempts: 3
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044): mbim[5044] Checking subscriber
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   readystate: 0001 - initialized
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   simiccid: 89441000304318530785
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   subscriberid: 234159402048369
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044): mbim[5044] Register with network
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   nwerror: 0000 - unknown
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   registerstate: 0001 - deregistered
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   registermode: 0001 - automatic
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   availabledataclasses: 0000 - (null)
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   currentcellularclass: 0001 - gsm
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   provider_id: (null)
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   provider_name: (null)
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044):   roamingtext: (null)
Sat Jun 29 12:37:25 2024 daemon.notice netifd: sixfab (5044): mbim[5044] Subscriber registration failed (code 1)
Sat Jun 29 12:37:25 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 12:37:25 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5145): mbim[5145] Stopping network
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5145): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 12:37:40 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 12:37:40 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153): mbim[5153] Reading capabilities
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   devicetype: 0001 - embedded
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   cellularclass: 0001
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   voiceclass: 0001 - no-voice
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   simclass: 0002
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   dataclass: 8000003C
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   smscaps: 0003
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   controlcaps: 0001
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   maxsessions: 000F
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   deviceid: 016502003334247
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   hardwareinfo: RM502Q-AE
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153): mbim[5153] Checking pin
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153): required pin: 3 - pin2
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153): remaining attempts: 3
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153): mbim[5153] Checking subscriber
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   readystate: 0001 - initialized
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   simiccid: 89441000304318530785
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   subscriberid: 234159402048369
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153): mbim[5153] Register with network
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   nwerror: 0000 - unknown
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   registerstate: 0001 - deregistered
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   registermode: 0001 - automatic
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   availabledataclasses: 0000 - (null)
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   currentcellularclass: 0001 - gsm
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   provider_id: (null)
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   provider_name: (null)
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153):   roamingtext: (null)
Sat Jun 29 12:37:40 2024 daemon.notice netifd: sixfab (5153): mbim[5153] Subscriber registration failed (code 1)
Sat Jun 29 12:37:40 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 12:37:41 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 12:37:55 2024 daemon.notice netifd: sixfab (5254): mbim[5254] Stopping network
Sat Jun 29 12:37:55 2024 daemon.notice netifd: sixfab (5254): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 12:37:55 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 12:37:55 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 12:37:55 2024 daemon.notice netifd: sixfab (5262): mbim[5262] Reading capabilities
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   devicetype: 0001 - embedded
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   cellularclass: 0001
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   voiceclass: 0001 - no-voice
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   simclass: 0002
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   dataclass: 8000003C
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   smscaps: 0003
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   controlcaps: 0001
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   maxsessions: 000F
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   deviceid: 016502003334247
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   hardwareinfo: RM502Q-AE
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262): mbim[5262] Checking pin
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262): required pin: 3 - pin2
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262): remaining attempts: 3
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262): mbim[5262] Checking subscriber
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   readystate: 0001 - initialized
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   simiccid: 89441000304318530785
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   subscriberid: 234159402048369
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262): mbim[5262] Register with network
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   nwerror: 0000 - unknown
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   registerstate: 0001 - deregistered
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   registermode: 0001 - automatic
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   availabledataclasses: 0000 - (null)
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   currentcellularclass: 0001 - gsm
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   provider_id: (null)
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   provider_name: (null)
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262):   roamingtext: (null)
Sat Jun 29 12:37:56 2024 daemon.notice netifd: sixfab (5262): mbim[5262] Subscriber registration failed (code 1)
Sat Jun 29 12:37:56 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 12:37:56 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 12:38:11 2024 daemon.notice netifd: sixfab (5363): mbim[5363] Stopping network
Sat Jun 29 12:38:11 2024 daemon.notice netifd: sixfab (5363): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 12:38:11 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 12:38:11 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 12:38:11 2024 daemon.notice netifd: sixfab (5371): mbim[5371] Reading capabilities
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   devicetype: 0001 - embedded
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   cellularclass: 0001
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   voiceclass: 0001 - no-voice
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   simclass: 0002
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   dataclass: 8000003C
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   smscaps: 0003
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   controlcaps: 0001
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   maxsessions: 000F
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   deviceid: 016502003334247
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   hardwareinfo: RM502Q-AE
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371): mbim[5371] Checking pin
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371): required pin: 3 - pin2
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371): remaining attempts: 3
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371): mbim[5371] Checking subscriber
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   readystate: 0001 - initialized
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   simiccid: 89441000304318530785
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   subscriberid: 234159402048369
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371): mbim[5371] Register with network
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   nwerror: 0000 - unknown
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   registerstate: 0001 - deregistered
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   registermode: 0001 - automatic
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   availabledataclasses: 0000 - (null)
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   currentcellularclass: 0001 - gsm
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   provider_id: (null)
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   provider_name: (null)
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371):   roamingtext: (null)
Sat Jun 29 12:38:12 2024 daemon.notice netifd: sixfab (5371): mbim[5371] Subscriber registration failed (code 1)
Sat Jun 29 12:38:12 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 12:38:12 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
^Croot@OpenWrt:~# 

Back to the terminal:

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

Then check/set the APN as shown in the wiki: AT+CGDCONT?, etc.
Finally, send AT+CFUN=1,1 to reset the modem.
At this point you can run logread -f again and wait for the log data.

HI
So I literally have to leave the place I am trying to do this from. I will try and get back to this tomorrow but it might not be until Monday morning.

I have done as instructed in your previous post.

AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","MY.INTERNET","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

(the ip/APN is right, at least.)

The logs are here:

root@OpenWrt:~# logread -f
Sat Jun 29 13:26:10 2024 daemon.notice netifd: sixfab (11864): mbim[11864] Stopping network
Sat Jun 29 13:26:10 2024 daemon.notice netifd: sixfab (11864): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 13:26:10 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 13:26:10 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 13:26:10 2024 daemon.notice netifd: sixfab (11872): mbim[11872] Reading capabilities
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   devicetype: 0001 - embedded
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   cellularclass: 0001
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   voiceclass: 0001 - no-voice
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   simclass: 0002
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   dataclass: 8000003C
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   smscaps: 0003
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   controlcaps: 0001
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   maxsessions: 000F
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   deviceid: 016502003334247
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   hardwareinfo: RM502Q-AE
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872): mbim[11872] Checking pin
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872): required pin: 3 - pin2
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872): remaining attempts: 3
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872): mbim[11872] Checking subscriber
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   readystate: 0001 - initialized
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   simiccid: 89441000304318530785
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   subscriberid: 234159402048369
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872): mbim[11872] Register with network
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   nwerror: 0000 - unknown
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   registerstate: 0001 - deregistered
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   registermode: 0001 - automatic
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   availabledataclasses: 0000 - (null)
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   currentcellularclass: 0001 - gsm
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   provider_id: (null)
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   provider_name: (null)
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872):   roamingtext: (null)
Sat Jun 29 13:26:11 2024 daemon.notice netifd: sixfab (11872): mbim[11872] Subscriber registration failed (code 1)
Sat Jun 29 13:26:11 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 13:26:11 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 13:26:26 2024 daemon.notice netifd: sixfab (11981): mbim[11981] Stopping network
Sat Jun 29 13:26:26 2024 daemon.notice netifd: sixfab (11981): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 13:26:26 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 13:26:26 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 13:26:26 2024 daemon.notice netifd: sixfab (11989): mbim[11989] Reading capabilities
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.145980] usb 4-1: USB disconnect, device number 5
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.151125] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.159183] option 4-1:1.0: device disconnected
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.163863] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.172002] option 4-1:1.1: device disconnected
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.176918] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.185023] option 4-1:1.2: device disconnected
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.189696] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.197762] option 4-1:1.3: device disconnected
Sat Jun 29 13:26:27 2024 kern.info kernel: [ 1375.202496] cdc_mbim 4-1:1.4 wwan0: unregister 'cdc_mbim' usb-xhci-hcd.1-1, CDC MBIM
Sat Jun 29 13:26:27 2024 daemon.notice netifd: sixfab (12041): mbim[12041] Stopping network
Sat Jun 29 13:26:27 2024 daemon.notice netifd: sixfab (12041): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 13:26:27 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 13:26:28 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.250481] usb 4-1: new SuperSpeed USB device number 6 using xhci-hcd
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.282483] usb 4-1: New USB device found, idVendor=2c7c, idProduct=0800, bcdDevice= 4.14
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.290699] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.297861] usb 4-1: Product: RM502Q-AE
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.301710] usb 4-1: Manufacturer: Quectel
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.305848] usb 4-1: SerialNumber: f3b77b9d
Sat Jun 29 13:26:38 2024 kern.warn kernel: [ 1386.502194] usb 4-1: Enable of device-initiated U1 failed.
Sat Jun 29 13:26:38 2024 kern.warn kernel: [ 1386.566162] usb 4-1: Enable of device-initiated U2 failed.
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.598040] option 4-1:1.0: GSM modem (1-port) converter detected
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.604230] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.611155] option 4-1:1.1: GSM modem (1-port) converter detected
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.617378] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.624318] option 4-1:1.2: GSM modem (1-port) converter detected
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.630579] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.637509] option 4-1:1.3: GSM modem (1-port) converter detected
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.643694] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB3
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.670806] cdc_mbim 4-1:1.4: setting rx_max = 16384
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.676063] cdc_mbim 4-1:1.4: cdc-wdm0: USB WDM device
Sat Jun 29 13:26:38 2024 kern.info kernel: [ 1386.681456] cdc_mbim 4-1:1.4 wwan0: register 'cdc_mbim' at usb-xhci-hcd.1-1, CDC MBIM, 56:86:d1:48:cd:dc
Sat Jun 29 13:26:38 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 13:26:38 2024 daemon.notice netifd: sixfab (12203): mbim[12203] Reading capabilities
Sat Jun 29 13:26:38 2024 kern.warn kernel: [ 1386.694203] usb 4-1: Enable of device-initiated U1 failed.
Sat Jun 29 13:26:38 2024 kern.warn kernel: [ 1386.758172] usb 4-1: Enable of device-initiated U2 failed.
Sat Jun 29 13:26:53 2024 daemon.notice netifd: sixfab (12203): ERROR: mbim message timeout
Sat Jun 29 13:26:53 2024 daemon.notice netifd: sixfab (12203): mbim[12203] Failed to read modem caps
Sat Jun 29 13:26:53 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 13:27:08 2024 daemon.notice netifd: sixfab (12240): mbim[12240] Stopping network
Sat Jun 29 13:27:08 2024 daemon.notice netifd: sixfab (12240): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "sixfab" } (Permission denied)
Sat Jun 29 13:27:08 2024 daemon.notice netifd: Interface 'sixfab' is now down
Sat Jun 29 13:27:08 2024 daemon.notice netifd: Interface 'sixfab' is setting up now
Sat Jun 29 13:27:08 2024 daemon.notice netifd: sixfab (12248): mbim[12248] Reading capabilities
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   devicetype: 0001 - embedded
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   cellularclass: 0001
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   voiceclass: 0001 - no-voice
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   simclass: 0002
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   dataclass: 8000003C
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   smscaps: 0003
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   controlcaps: 0001
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   maxsessions: 000F
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   deviceid: 016502003334247
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   firmwareinfo: RM502QAEAAR11A04M4G
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   hardwareinfo: RM502Q-AE
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248): mbim[12248] Checking pin
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248): required pin: 3 - pin2
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248): remaining attempts: 3
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248): mbim[12248] Checking subscriber
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   readystate: 0001 - initialized
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   simiccid: 89441000304318530785
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   subscriberid: 234159402048369
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248): mbim[12248] Register with network
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   nwerror: 0000 - unknown
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   registerstate: 0002 - searching
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   registermode: 0001 - automatic
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   availabledataclasses: 0000 - (null)
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   currentcellularclass: 0001 - gsm
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   provider_id: (null)
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   provider_name: (null)
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248):   roamingtext: (null)
Sat Jun 29 13:27:09 2024 daemon.notice netifd: sixfab (12248): mbim[12248] Subscriber registration failed (code 2)
Sat Jun 29 13:27:09 2024 user.notice root: mbim bringup failed, retry in 15s
Sat Jun 29 13:27:09 2024 daemon.warn odhcpd[1116]: No default route present, overriding ra_lifetime to 0!
^Croot@OpenWrt:~# 

T;hanks very much

That is Asda mobile, right?

The problem now seems to be between the modem and the carrier, so it's worth asking a question in Quectel forum.

Yes, Asda mobile.

I am going to review all of this, and see where I am at. Then I will go to the quectel forum.

Thanks very much for your help this weekend.

I am in the process of asking in the quectel forum, but have ended up with an openwrt relevant question.

I am now at the point where I have checked the APN, username, and password settings from asda mobile, and am certain I have entered them exactly as advised! (And as how I was able to use this sim with a mikrotik router I tried earlier.)

The error(s) I now get are
' Error: PIN code rejected' followed by ' Error: Unknown error (NO_REGISTRATION)'.
(presumably when the attempted connection ultimately fails).

My openwrt relevant question is, is the PIN beneath the APN field the sim's pin?

I just tried a sim, whose pin I changed on my phone immediately prior to trying it in the quectel modem/raspberry pi. (I rebooted the phone immediately following changing the sim's pin to 123456. The phone asked for my sim's pin before it would allow me access (at which point I entered '123456', which was accepted by the phone.
So if that PIN field is the sim's pin then I can proceed with the quectel forum question. THanks.)

Yes, you can enter PIN in interface configuration but I suggest to disable PIN on that SIM.
However, according to the log posted earlier, PIN (pin1) was not active.

I don't exactly know what to make of the pin not being active in the logs.

The person I spoke to at asda mobile said the default pin was either 1234 or 0000. Prior to this they had told me to use the default pin in this 'PIN' field. After leaving that field blank, I did try both asda mobile's default PIN's but only got the 'PIN rejected' response. At that point I set the pin to something I 'knew' it was so I could test it with at least some confidence.

I actually can't see how to disable the pin via my phone. It simply asks me if I want to turn off the requirement to input the pin in order to use the SIM.

I don't know if these logs are useful.

I did:

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","MY.INTERNET","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

OK
AT+CFUN=1,1
OK

FATAL: read zero bytes from port
term_exitfunc: reset failed for dev UNKNOWN: Not a tty
root@OpenWrt:~# 
root@OpenWrt:~# logread -f
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.474030] usb 4-1: USB disconnect, device number 2
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.479170] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.487226] option 4-1:1.0: device disconnected
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.491911] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.500023] option 4-1:1.1: device disconnected
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.504921] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.513033] option 4-1:1.2: device disconnected
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.517738] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.525805] option 4-1:1.3: device disconnected
Mon Jul  1 14:36:49 2024 kern.info kernel: [  251.530461] cdc_mbim 4-1:1.4 wwan0: unregister 'cdc_mbim' usb-xhci-hcd.1-1, CDC MBIM
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.438480] usb 4-1: new SuperSpeed USB device number 3 using xhci-hcd
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.470514] usb 4-1: New USB device found, idVendor=2c7c, idProduct=0800, bcdDevice= 4.14
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.478731] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.485893] usb 4-1: Product: RM502Q-AE
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.489740] usb 4-1: Manufacturer: Quectel
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.493884] usb 4-1: SerialNumber: f3b77b9d
Mon Jul  1 14:37:00 2024 kern.warn kernel: [  262.670203] usb 4-1: Enable of device-initiated U1 failed.
Mon Jul  1 14:37:00 2024 kern.warn kernel: [  262.734213] usb 4-1: Enable of device-initiated U2 failed.
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.766066] option 4-1:1.0: GSM modem (1-port) converter detected
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.772252] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.779175] option 4-1:1.1: GSM modem (1-port) converter detected
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.785417] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.792346] option 4-1:1.2: GSM modem (1-port) converter detected
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.798563] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.805466] option 4-1:1.3: GSM modem (1-port) converter detected
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.811655] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB3
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.838801] cdc_mbim 4-1:1.4: setting rx_max = 16384
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.844066] cdc_mbim 4-1:1.4: cdc-wdm0: USB WDM device
Mon Jul  1 14:37:00 2024 kern.info kernel: [  262.849464] cdc_mbim 4-1:1.4 wwan0: register 'cdc_mbim' at usb-xhci-hcd.1-1, CDC MBIM, 0a:4e:a6:ff:42:6a
Mon Jul  1 14:37:00 2024 kern.warn kernel: [  262.862231] usb 4-1: Enable of device-initiated U1 failed.
Mon Jul  1 14:37:00 2024 kern.warn kernel: [  262.926221] usb 4-1: Enable of device-initiated U2 failed.
Mon Jul  1 14:37:41 2024 daemon.warn odhcpd[1106]: No default route present, overriding ra_lifetime to 0!

Delete or disable the interface in OpenWrt.
Restart the modem, then check the current state with AT+CPIN?
If PIN needs to be disabled - please refer to any modem AT command guide.

I had a couple of ideas someone here might be able to help with. Currently I am getting a 'PIN Code rejected, even though I know the PIN is correct.

I have tried various things without any luck. I think I locked the sim when playing around with AT commands and disabling the pin (amongst other commands). (I got a PUK code to unlock it without any trouble).

I had some pretty confusing/unexpected/random results when playing around with the pin, to the point I actually wonder if it is worth ordering a new sim or something.

I have taken this up on the quectel forum. I hope there is someone there who is comfortable with me using openwrt so I don't have to install debian or whatever.

I will just quickly say that:

5g isn't great at the location in which I am trying to sort this out, with the carrier I currently have. It is widely reported that this modem supports 4G/3G. It occured to me that maybe the issue is to do with the modem not falling back to 4g automatically, when 5G isn't availablle here, or something.

I will also say that openwrt still gives the 'PIN code rejected' error, even when the sim is not inserted into the modem. I realise this might just be slightly untidy programming or whatever, rather than evidence of an issue with openwrt.

If anyone here has anything to suggest I would appreciate any ideas!