4g dongle not showing as usb0 after reboot wrt 24.10.1

same dongle as i was using before Help figuring out usb 4g dongle type

seems like im not installing a required dependency

have followed the instructions here https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_rndis#setting_up_rndis-based_dongles

thanks

edit:

dmesg

[    0.000000] Linux version 6.6.86 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28597-0425664679) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Sun Apr 13 16:38:32 2025
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link Archer C20 v1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00074bee
[    0.000000] Readback ErrCtl register=00074bee
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55152K/65536K available (6661K kernel code, 618K rwdata, 880K rodata, 1240K init, 241K bss, 10384K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000002] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007677] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.073590] pid_max: default: 32768 minimum: 301
[    0.090816] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097880] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.116872] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.135593] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.145179] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.155052] pinctrl core: initialized pinctrl subsystem
[    0.163828] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.170484] thermal_sys: Registered thermal governor 'step_wise'
[    0.175079] /pinctrl: Fixed dependency cycle(s) with /pinctrl/pinctrl0
[    0.685416] PCI host bridge to bus 0000:00
[    0.689357] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.696084] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.702706] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.710468] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[    0.716262] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.722350] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    0.728573] pci 0000:00:00.0: supports D1
[    0.732420] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.740259] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.748261] pci 0000:01:00.0: [14c3:7650] type 00 class 0x028000
[    0.754075] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.760316] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.766637] pci 0000:01:00.1: [14c3:8650] type 00 class 0x0d1100
[    0.772497] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.778676] pci 0000:01:00.1: supports D1
[    0.782512] pci 0000:01:00.1: PME# supported from D0 D1 D3hot D3cold
[    0.789033] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.795454] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.801869] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.808276] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.815032] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    0.821630] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.828223] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    0.834822] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.841405] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.846229] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    0.854880] clocksource: Switched to clocksource systick
[    0.874011] NET: Registered PF_INET protocol family
[    0.879097] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.888027] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.896287] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.903764] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.911224] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.918086] TCP: Hash tables configured (established 1024 bind 1024)
[    0.925182] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.932479] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.938841] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.946780] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.952360] PCI: CLS 0 bytes, default 32
[    0.956507] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.969772] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.978216] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.983837] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.000733] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.010524] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.023962] printk: console [ttyS0] disabled
[    1.028889] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    1.038612] printk: console [ttyS0] enabled
[    1.047071] printk: bootconsole [early0] disabled
[    1.095983] spi spi0.0: force spi mode3
[    1.100537] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    1.105835] 6 fixed-partitions partitions found on MTD device spi0.0
[    1.112372] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.119893] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.127685] Creating 6 MTD partitions on "spi0.0":
[    1.132598] 0x000000000000-0x000000020000 : "u-boot"
[    1.141738] 0x000000020000-0x0000007c0000 : "firmware"
[    1.150176] 2 tplink-fw partitions found on MTD device firmware
[    1.156327] Creating 2 MTD partitions on "firmware":
[    1.161408] 0x000000000000-0x0000002775e6 : "kernel"
[    1.166492] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.177580] 0x0000002775e8-0x0000007a0000 : "rootfs"
[    1.182689] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.194658] mtd: setting mtd3 (rootfs) as root device
[    1.200012] 1 squashfs-split partitions found on MTD device rootfs
[    1.206437] 0x000000650000-0x0000007a0000 : "rootfs_data"
[    1.214557] 0x0000007c0000-0x0000007d0000 : "config"
[    1.222423] 0x0000007d0000-0x0000007e0000 : "rom"
[    1.230136] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.238056] 0x0000007e0000-0x0000007f0000 : "romfile"
[    1.246053] 0x0000007f0000-0x000000800000 : "radio"
[    1.254242] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.298205] gsw: setting port4 to ephy mode
[    1.302761] mtk_soc_eth 10100000.ethernet: mdio-bus disabled
[    1.308821] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.315827] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.325069] rt2880_wdt 10000120.watchdog: Initialized
[    1.332990] NET: Registered PF_INET6 protocol family
[    1.345986] Segment Routing with IPv6
[    1.349863] In-situ OAM (IOAM) with IPv6
[    1.354162] NET: Registered PF_PACKET protocol family
[    1.359385] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.372996] 8021q: 802.1Q VLAN Support v1.8
[    1.424438] clk: Disabling unused clocks
[    1.439231] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.453275] Freeing unused kernel image (initmem) memory: 1240K
[    1.459378] This architecture does not have kernel memory protection.
[    1.465977] Run /sbin/init as init process
[    1.470159]   with arguments:
[    1.470167]     /sbin/init
[    1.470176]   with environment:
[    1.470183]     HOME=/
[    1.470190]     TERM=linux
[    2.474715] init: Console is alive
[    2.478725] init: - watchdog -
[    4.102738] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.205138] usbcore: registered new interface driver usbfs
[    4.211005] usbcore: registered new interface driver hub
[    4.216625] usbcore: registered new device driver usb
[    4.226663] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    4.258947] phy phy-usbphy.0: remote usb device wakeup disabled
[    4.265047] phy phy-usbphy.0: UTMI 16bit 30MHz
[    4.269592] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.275574] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.283827] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.299358] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.307238] hub 1-0:1.0: USB hub found
[    4.312333] hub 1-0:1.0: 1 port detected
[    4.328531] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.335600] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.343967] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.380547] hub 2-0:1.0: USB hub found
[    4.385261] hub 2-0:1.0: 1 port detected
[    4.405339] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.418036] init: - preinit -
[    4.756984] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.428861] random: crng init done
[    8.615116] 8021q: adding VLAN 0 to HW filter on device eth0
[    9.580019] mtk_soc_eth 10100000.ethernet eth0: port 3 link up (100Mbps/Full duplex)
[   10.441114] jffs2: notice: (475) jffs2_build_xattr_subsystem: complete building xattr subsystem, 64 of xdatum (21 unchecked, 42 orphan) and 71 of xref (42 dead, 0 orphan) found.
[   10.461303] mount_root: switching to jffs2 overlay
[   10.480306] overlayfs: upper fs does not support tmpfile.
[   10.497896] urandom-seed: Seeding with /etc/urandom.seed
[   10.628842] procd: - early -
[   10.632158] procd: - watchdog -
[   11.270742] procd: - watchdog -
[   11.275864] procd: - ubus -
[   11.454681] procd: - init -
[   13.312661] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.712614] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[   14.720354] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[   14.837126] usbcore: registered new interface driver cdc_ether
[   15.518793] PPP generic driver version 2.4.2
[   15.538069] NET: Registered PF_PPPOX protocol family
[   15.555974] usbcore: registered new interface driver rndis_host
[   15.598325] mt76x0e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[   15.604961] mt76x0e 0000:01:00.0: ASIC revision: 76100002
[   15.627011] mt76x0e 0000:01:00.0: Firmware Version: 0.1.00
[   15.916153] mt76x0e 0000:01:00.0: EEPROM ver:02 fae:00
[   15.922147] mt76x0e 0000:01:00.0: registering led 'mt76-phy0'
[   15.930160] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.057798] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   16.066359] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[   16.075438] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   16.215733] kmodloader: done loading kernel modules from /etc/modules.d/*
[   27.465143] usb 1-1: USB disconnect, device number 2
[   27.895338] usb 1-1: new high-speed USB device number 3 using ehci-platform
[   28.216508] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-101c0000.ehci-1, RNDIS device, 02:51:5a:01:30:30
[   63.620410] 8021q: adding VLAN 0 to HW filter on device eth0
[   63.684164] br-lan: port 1(eth0.1) entered blocking state
[   63.689789] br-lan: port 1(eth0.1) entered disabled state
[   63.695392] eth0.1: entered allmulticast mode
[   63.699860] mtk_soc_eth 10100000.ethernet eth0: entered allmulticast mode
[   63.707231] eth0.1: entered promiscuous mode
[   63.711627] mtk_soc_eth 10100000.ethernet eth0: entered promiscuous mode
[   63.857153] br-lan: port 1(eth0.1) entered blocking state
[   63.862715] br-lan: port 1(eth0.1) entered forwarding state
[   75.957371] ieee80211 phy1: rt2800_rxiq_calibration: Warning - RXIQ calibration FAIL
[   80.407388] ieee80211 phy1: rt2800_rxiq_calibration: Warning - RXIQ calibration FAIL
[   80.457082] phy1-sta0: authenticate with 5c:a0:00:96:98:00 (local address=18:d6:c7:3e:f5:5e)
[   80.465803] phy1-sta0: send auth to 5c:a0:00:96:98:00 (try 1/3)
[   80.480877] phy1-sta0: authenticated
[   80.555398] phy1-sta0: associate with 5c:a0:00:96:98:00 (try 1/3)
[   80.600463] phy1-sta0: RX AssocResp from 5c:a0:00:96:98:00 (capab=0x8431 status=0 aid=1)
[   80.609070] phy1-sta0: associated
[   81.034754] br-lan: port 2(phy0-ap0) entered blocking state
[   81.040557] br-lan: port 2(phy0-ap0) entered disabled state
[   81.046343] mt76x0e 0000:01:00.0 phy0-ap0: entered allmulticast mode
[   81.053241] mt76x0e 0000:01:00.0 phy0-ap0: entered promiscuous mode
[   81.059942] br-lan: port 2(phy0-ap0) entered blocking state
[   81.065706] br-lan: port 2(phy0-ap0) entered forwarding state
[   81.645381] br-lan: port 2(phy0-ap0) entered disabled state
[   82.645660] br-lan: port 2(phy0-ap0) entered blocking state
[   82.651400] br-lan: port 2(phy0-ap0) entered forwarding state

edit:

cat /sys/kernel/debug/usb/devices

root@OpenWrt:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.06
S:  Manufacturer=Linux 6.6.86 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=101c0000.ehci
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=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05c6 ProdID=9091 Rev=ff.ff
S:  Manufacturer=Android
S:  Product=Android
S:  SerialNumber=cb100280
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 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= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=85(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 6.06
S:  Manufacturer=Linux 6.6.86 ohci_hcd
S:  Product=Generic Platform OHCI controller
S:  SerialNumber=101c1000.ohci
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=   2 Ivl=255ms

which dependencies did you install then ?

1 Like

only

kmod-usb-net-rndis

added the output of dmesg to OP

thanks

usb0 is the device name that you should use in the configuration

1 Like

it doesn't seem to be showing up in network > interfaces > devices

thanks

Please follow https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_rndis#setting_up_rndis-based_dongles
There is no need in posting pictures.

1 Like

sorry for the confusion,

the cross link (old post) of the device was showing that usb0 in dmesg

with the current firmware 24.10.1 and following https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_rndis#setting_up_rndis-based_dongles

dmesg shows the following

root@OpenWrt:~# dmesg
[    0.000000] Linux version 6.6.86 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28597-0425664679) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Sun Apr 13 16:38:32 2025
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link Archer C20 v1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00074be0
[    0.000000] Readback ErrCtl register=00074be0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55152K/65536K available (6661K kernel code, 618K rwdata, 880K rodata, 1240K init, 241K bss, 10384K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000002] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007676] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.073595] pid_max: default: 32768 minimum: 301
[    0.090821] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097886] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.116890] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.135621] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.145207] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.155084] pinctrl core: initialized pinctrl subsystem
[    0.163856] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.170515] thermal_sys: Registered thermal governor 'step_wise'
[    0.175120] /pinctrl: Fixed dependency cycle(s) with /pinctrl/pinctrl0
[    0.463457] PCI host bridge to bus 0000:00
[    0.467399] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.474125] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.480746] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.488510] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[    0.494304] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.500392] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[    0.506614] pci 0000:00:00.0: supports D1
[    0.510463] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.518490] pci 0000:01:00.0: [14c3:7650] type 00 class 0x028000
[    0.524354] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.530542] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.536876] pci 0000:01:00.1: [14c3:8650] type 00 class 0x0d1100
[    0.542701] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.548945] pci 0000:01:00.1: supports D1
[    0.552775] pci 0000:01:00.1: PME# supported from D0 D1 D3hot D3cold
[    0.559317] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.565711] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.572183] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.578553] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.585331] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    0.591908] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.598521] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    0.605100] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.611704] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.616508] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    0.625193] clocksource: Switched to clocksource systick
[    0.644294] NET: Registered PF_INET protocol family
[    0.649380] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.658309] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.666568] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.674048] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.681507] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.688368] TCP: Hash tables configured (established 1024 bind 1024)
[    0.695466] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.702761] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.709123] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.717065] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.722647] PCI: CLS 0 bytes, default 32
[    0.726795] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.740102] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.748549] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.754170] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.771072] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.780873] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.794337] printk: console [ttyS0] disabled
[    0.799267] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    0.808988] printk: console [ttyS0] enabled
[    0.817447] printk: bootconsole [early0] disabled
[    0.866425] spi spi0.0: force spi mode3
[    0.870976] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    0.876274] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.882811] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.890332] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.898125] Creating 6 MTD partitions on "spi0.0":
[    0.903039] 0x000000000000-0x000000020000 : "u-boot"
[    0.912190] 0x000000020000-0x0000007c0000 : "firmware"
[    0.920622] 2 tplink-fw partitions found on MTD device firmware
[    0.926772] Creating 2 MTD partitions on "firmware":
[    0.931853] 0x000000000000-0x0000002775e6 : "kernel"
[    0.936938] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.948027] 0x0000002775e8-0x0000007a0000 : "rootfs"
[    0.953136] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.965110] mtd: setting mtd3 (rootfs) as root device
[    0.970464] 1 squashfs-split partitions found on MTD device rootfs
[    0.976895] 0x000000650000-0x0000007a0000 : "rootfs_data"
[    0.985017] 0x0000007c0000-0x0000007d0000 : "config"
[    0.992868] 0x0000007d0000-0x0000007e0000 : "rom"
[    1.000541] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.008466] 0x0000007e0000-0x0000007f0000 : "romfile"
[    1.014804] 0x0000007f0000-0x000000800000 : "radio"
[    1.024407] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.068203] gsw: setting port4 to ephy mode
[    1.072758] mtk_soc_eth 10100000.ethernet: mdio-bus disabled
[    1.078823] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.085831] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.095072] rt2880_wdt 10000120.watchdog: Initialized
[    1.103010] NET: Registered PF_INET6 protocol family
[    1.116057] Segment Routing with IPv6
[    1.119936] In-situ OAM (IOAM) with IPv6
[    1.124161] NET: Registered PF_PACKET protocol family
[    1.129445] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.143057] 8021q: 802.1Q VLAN Support v1.8
[    1.194379] clk: Disabling unused clocks
[    1.209247] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.223293] Freeing unused kernel image (initmem) memory: 1240K
[    1.229396] This architecture does not have kernel memory protection.
[    1.235996] Run /sbin/init as init process
[    1.240177]   with arguments:
[    1.240186]     /sbin/init
[    1.240195]   with environment:
[    1.240202]     HOME=/
[    1.240209]     TERM=linux
[    2.244262] init: Console is alive
[    2.248431] init: - watchdog -
[    2.665930] mtk_soc_eth 10100000.ethernet eth0: port 3 link up (100Mbps/Full duplex)
[    3.880121] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.982443] usbcore: registered new interface driver usbfs
[    3.988379] usbcore: registered new interface driver hub
[    3.993938] usbcore: registered new device driver usb
[    4.003958] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    4.036299] phy phy-usbphy.0: remote usb device wakeup disabled
[    4.042382] phy phy-usbphy.0: UTMI 16bit 30MHz
[    4.046935] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.052917] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.061198] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.077702] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.085586] hub 1-0:1.0: USB hub found
[    4.090686] hub 1-0:1.0: 1 port detected
[    4.106877] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.113995] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.122331] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.158465] hub 2-0:1.0: USB hub found
[    4.163589] hub 2-0:1.0: 1 port detected
[    4.183727] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.192691] init: - preinit -
[    4.531286] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.202839] random: crng init done
[    8.398086] 8021q: adding VLAN 0 to HW filter on device eth0
[   10.219159] jffs2: notice: (475) jffs2_build_xattr_subsystem: complete building xattr subsystem, 65 of xdatum (21 unchecked, 43 orphan) and 72 of xref (43 dead, 0 orphan) found.
[   10.239348] mount_root: switching to jffs2 overlay
[   10.258265] overlayfs: upper fs does not support tmpfile.
[   10.272206] urandom-seed: Seeding with /etc/urandom.seed
[   10.404855] procd: - early -
[   10.408169] procd: - watchdog -
[   11.047758] procd: - watchdog -
[   11.052828] procd: - ubus -
[   11.230544] procd: - init -
[   13.127366] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.839580] jitterentropy: Initialization failed with host not compliant with requirements: 9
[   14.337585] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[   14.345324] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[   14.458596] usbcore: registered new interface driver cdc_ether
[   15.146790] PPP generic driver version 2.4.2
[   15.161651] NET: Registered PF_PPPOX protocol family
[   15.182714] usbcore: registered new interface driver rndis_host
[   15.223199] mt76x0e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[   15.229821] mt76x0e 0000:01:00.0: ASIC revision: 76100002
[   15.261992] mt76x0e 0000:01:00.0: Firmware Version: 0.1.00
[   15.541195] mt76x0e 0000:01:00.0: EEPROM ver:02 fae:00
[   15.547226] mt76x0e 0000:01:00.0: registering led 'mt76-phy0'
[   15.555315] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.690414] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   15.698887] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[   15.707876] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   16.249947] jitterentropy: Initialization failed with host not compliant with requirements: 9
[   17.150852] kmodloader: 1 module could not be probed
[   17.156264] kmodloader: - jitterentropy_rng - 0
[   63.565485] 8021q: adding VLAN 0 to HW filter on device eth0
[   63.642156] br-lan: port 1(eth0.1) entered blocking state
[   63.647716] br-lan: port 1(eth0.1) entered disabled state
[   63.653356] eth0.1: entered allmulticast mode
[   63.657825] mtk_soc_eth 10100000.ethernet eth0: entered allmulticast mode
[   63.665183] eth0.1: entered promiscuous mode
[   63.669580] mtk_soc_eth 10100000.ethernet eth0: entered promiscuous mode
[   63.841057] br-lan: port 1(eth0.1) entered blocking state
[   63.846619] br-lan: port 1(eth0.1) entered forwarding state
[   75.792409] ieee80211 phy1: rt2800_rxiq_calibration: Warning - RXIQ calibration FAIL
[   80.180506] ieee80211 phy1: rt2800_rxiq_calibration: Warning - RXIQ calibration FAIL
[   80.222534] phy1-sta0: authenticate with 5c:a0:00:96:98:00 (local address=18:d6:c7:3e:f5:5e)
[   80.231283] phy1-sta0: send auth to 5c:a0:00:96:98:00 (try 1/3)
[   80.246394] phy1-sta0: authenticated
[   80.340427] phy1-sta0: associate with 5c:a0:00:96:98:00 (try 1/3)
[   80.384240] phy1-sta0: RX AssocResp from 5c:a0:00:96:98:00 (capab=0x8431 status=0 aid=2)
[   80.392936] phy1-sta0: associated
[   80.804668] br-lan: port 2(phy0-ap0) entered blocking state
[   80.810481] br-lan: port 2(phy0-ap0) entered disabled state
[   80.816226] mt76x0e 0000:01:00.0 phy0-ap0: entered allmulticast mode
[   80.823140] mt76x0e 0000:01:00.0 phy0-ap0: entered promiscuous mode
[   80.829747] br-lan: port 2(phy0-ap0) entered blocking state
[   80.835519] br-lan: port 2(phy0-ap0) entered forwarding state
[   81.480364] br-lan: port 2(phy0-ap0) entered disabled state
[   82.384467] br-lan: port 2(phy0-ap0) entered blocking state
[   82.390211] br-lan: port 2(phy0-ap0) entered forwarding state
[  151.428348] urngd: v1.0.2 started.

Please show the current output of cat /sys/kernel/debug/usb/devices
Then disconnect the dongle, run logread -f and connect the dongle back.
Post the log data collected.

1 Like

cat /sys/kernel/debug/usb/devices

root@OpenWrt:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.06
S:  Manufacturer=Linux 6.6.86 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=101c0000.ehci
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=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05c6 ProdID=9091 Rev=ff.ff
S:  Manufacturer=Android
S:  Product=Android
S:  SerialNumber=cb100280
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 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= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=85(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 6.06
S:  Manufacturer=Linux 6.6.86 ohci_hcd
S:  Product=Generic Platform OHCI controller
S:  SerialNumber=101c1000.ohci
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=   2 Ivl=255ms

logread -f after disconnecting usb device

root@OpenWrt:~# logread -f
Mon Apr 28 18:31:43 2025 daemon.warn odhcpd[1743]: No default route present, overriding ra_lifetime to 0!
Mon Apr 28 18:33:10 2025 daemon.warn odhcpd[1743]: No default route present, overriding ra_lifetime to 0!

logread -f after connecting usb device

root@OpenWrt:~# logread -f
Mon Apr 28 18:35:46 2025 daemon.notice netifd: wwan (4759): udhcpc: sending renew to server 192.168.100.1
Mon Apr 28 18:35:46 2025 daemon.notice netifd: wwan (4759): udhcpc: lease of 192.168.100.17 obtained from 192.168.100.1, lease time 120

thanks

installed
kmod-usb-serial , kmod-usb-serial-option , kmod-usb-serial-qualcomm , kmod-usb-acm

just for good measure

no joy

shouldn't there be a device or ifname here ?

1 Like

thanks, it ideally should, problem is the device(usb dongle) is not showing up in interfaces
:frowning:

is it one of UF896 - Qualcomm MSM8916 LTE router ~384MiB RAM/2.4GiB flash, Android: OpenWrt? ?

are you able to get it to work using some other Linux dist ?

1 Like

it is Muvit 4G LTE Wireless Dongle

it is working fine with Debian latest, just plug it in usb and it just works. nothing else required

Please follow instructions more precisely and only post information that has been requested.

Technically you don't have RNDIS dongle now.

this is most likely your QMI interface.

So you need to figure out why the operating mode has changed or just follow https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

1 Like

Plug into the Debian PC then read that machine's log to see what driver is in use.

1 Like

from debian

cat /var/log/syslog

2025-04-29T03:10:42.786649+05:30 debian kernel: [ 3231.881233] usb 1-2: new high-speed USB device number 4 using xhci_hcd
2025-04-29T03:10:42.934487+05:30 debian kernel: [ 3232.031586] usb 1-2: New USB device found, idVendor=05c6, idProduct=9091, bcdDevice=ff.ff
2025-04-29T03:10:42.934531+05:30 debian kernel: [ 3232.031598] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2025-04-29T03:10:42.934535+05:30 debian kernel: [ 3232.031601] usb 1-2: Product: Android
2025-04-29T03:10:42.934538+05:30 debian kernel: [ 3232.031603] usb 1-2: Manufacturer: Android
2025-04-29T03:10:42.934539+05:30 debian kernel: [ 3232.031605] usb 1-2: SerialNumber: cb100280
2025-04-29T03:10:42.958954+05:30 debian mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2"
2025-04-29T03:10:42.971790+05:30 debian mtp-probe: bus: 1, device: 4 was not an MTP device
2025-04-29T03:10:42.990324+05:30 debian kernel: [ 3232.086403] usbcore: registered new interface driver cdc_wdm
2025-04-29T03:10:42.994352+05:30 debian kernel: [ 3232.089402] qmi_wwan 1-2:1.2: cdc-wdm0: USB WDM device
2025-04-29T03:10:42.994377+05:30 debian kernel: [ 3232.089830] qmi_wwan 1-2:1.2 wwan0: register 'qmi_wwan' at usb-0000:00:15.0-2, WWAN/QMI device, 32:28:cc:28:37:8d
2025-04-29T03:10:42.994384+05:30 debian kernel: [ 3232.089882] usbcore: registered new interface driver qmi_wwan
2025-04-29T03:10:42.996716+05:30 debian mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2"
2025-04-29T03:10:43.005971+05:30 debian mtp-probe: bus: 1, device: 4 was not an MTP device
2025-04-29T03:10:45.514228+05:30 debian ModemManager[781]: <info>  [device /sys/devices/pci0000:00/0000:00:15.0/usb1/1-2] creating modem with plugin 'generic' and '2' ports
2025-04-29T03:10:45.531047+05:30 debian ModemManager[781]: <info>  [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2' successfully created
2025-04-29T03:10:46.847660+05:30 debian ModemManager[781]: <warn>  [modem0] couldn't load power state: Unhandled power state: 'shutting-down' (5)
2025-04-29T03:10:47.038831+05:30 debian ModemManager[781]: <warn>  [modem0] couldn't query SIM slots: QMI protocol error (94): 'NotSupported'
2025-04-29T03:10:55.103032+05:30 debian ModemManager[781]: <warn>  [modem0/sim0] couldn't load operator identifier: Couldn't get home network: QMI protocol error (16): 'NotProvisioned'
2025-04-29T03:10:55.134555+05:30 debian ModemManager[781]: <warn>  [modem0/sim0] couldn't load operator name: Couldn't get home network: QMI protocol error (16): 'NotProvisioned'
2025-04-29T03:10:55.134860+05:30 debian ModemManager[781]: <warn>  [modem0/sim0] couldn't load list of emergency numbers: No AT port available to run command
2025-04-29T03:10:55.486926+05:30 debian ModemManager[781]: <warn>  [modem0] couldn't load list of own numbers: Couldn't get MSISDN: QMI protocol error (16): 'NotProvisioned'
2025-04-29T03:10:57.248086+05:30 debian ModemManager[781]: <warn>  [modem0] couldn't load UE mode of operation for EPS: No AT port available to run command
2025-04-29T03:10:57.599813+05:30 debian ModemManager[781]: <info>  [modem0] state changed (unknown -> disabled)
2025-04-29T03:10:57.616106+05:30 debian NetworkManager[783]: <info>  [1745876457.6148] manager: (cdc-wdm0): new Broadband device (/org/freedesktop/NetworkManager/Devices/8)
2025-04-29T03:10:57.618635+05:30 debian NetworkManager[783]: <info>  [1745876457.6174] device (cdc-wdm0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
2025-04-29T03:10:57.619502+05:30 debian NetworkManager[783]: <info>  [1745876457.6182] device (cdc-wdm0): modem state 'enabling'
2025-04-29T03:10:57.620157+05:30 debian NetworkManager[783]: <info>  [1745876457.6192] device (cdc-wdm0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
2025-04-29T03:10:57.633366+05:30 debian ModemManager[781]: <info>  [modem0] state changed (disabled -> enabling)
2025-04-29T03:10:57.791256+05:30 debian ModemManager[781]: <info>  [modem0] power state updated: on
2025-04-29T03:10:58.175217+05:30 debian ModemManager[781]: <info>  [modem0] 3GPP registration state changed (unknown -> unknown)
2025-04-29T03:10:58.846413+05:30 debian ModemManager[781]: <info>  [modem0] state changed (enabling -> enabled)
2025-04-29T03:11:06.074407+05:30 debian kernel: [ 3255.170343] usb 1-2: USB disconnect, device number 4
2025-04-29T03:11:06.074458+05:30 debian kernel: [ 3255.170900] qmi_wwan 1-2:1.2 wwan0: unregister 'qmi_wwan' usb-0000:00:15.0-2, WWAN/QMI device
2025-04-29T03:11:06.093055+05:30 debian NetworkManager[783]: <info>  [1745876466.0896] device (cdc-wdm0): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
2025-04-29T03:11:06.093650+05:30 debian ModemManager[781]: <warn>  Cannot read from istream: connection broken
2025-04-29T03:11:06.093820+05:30 debian ModemManager[781]: <info>  [modem0] port 'cdc-wdm0' no longer controllable, reprobing
2025-04-29T03:11:06.095779+05:30 debian ModemManager[781]: <info>  [base-manager] port cdc-wdm0 released by device '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2'
2025-04-29T03:11:06.406670+05:30 debian kernel: [ 3255.501232] usb 1-2: new high-speed USB device number 5 using xhci_hcd
2025-04-29T03:11:06.554442+05:30 debian kernel: [ 3255.650771] usb 1-2: New USB device found, idVendor=05c6, idProduct=90b4, bcdDevice=ff.ff
2025-04-29T03:11:06.554512+05:30 debian kernel: [ 3255.650794] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2025-04-29T03:11:06.554525+05:30 debian kernel: [ 3255.650801] usb 1-2: Product: Android
2025-04-29T03:11:06.554554+05:30 debian kernel: [ 3255.650806] usb 1-2: Manufacturer: Android
2025-04-29T03:11:06.554561+05:30 debian kernel: [ 3255.650811] usb 1-2: SerialNumber: cb100280
2025-04-29T03:11:06.570027+05:30 debian ModemManager[781]: <info>  [base-manager] port wwan0 released by device '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2'
2025-04-29T03:11:06.584529+05:30 debian mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2"
2025-04-29T03:11:06.597488+05:30 debian mtp-probe: bus: 1, device: 5 was not an MTP device
2025-04-29T03:11:06.610322+05:30 debian kernel: [ 3255.705644] usbcore: registered new interface driver cdc_ether
2025-04-29T03:11:06.612566+05:30 debian NetworkManager[783]: <info>  [1745876466.6123] manager: (usb0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/9)
2025-04-29T03:11:06.614335+05:30 debian kernel: [ 3255.709277] rndis_host 1-2:1.0 usb0: register 'rndis_host' at usb-0000:00:15.0-2, RNDIS device, 02:51:5a:01:30:30
2025-04-29T03:11:06.614360+05:30 debian kernel: [ 3255.709380] usbcore: registered new interface driver rndis_host
2025-04-29T03:11:06.618457+05:30 debian mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2"
2025-04-29T03:11:06.626206+05:30 debian mtp-probe: bus: 1, device: 5 was not an MTP device
2025-04-29T03:11:06.634387+05:30 debian kernel: [ 3255.730311] rndis_host 1-2:1.0 enx02515a013030: renamed from usb0
2025-04-29T03:11:06.643488+05:30 debian NetworkManager[783]: <info>  [1745876466.6431] device (usb0): interface index 9 renamed iface from 'usb0' to 'enx02515a013030'
2025-04-29T03:11:06.660399+05:30 debian NetworkManager[783]: <info>  [1745876466.6595] device (enx02515a013030): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
2025-04-29T03:11:06.662523+05:30 debian NetworkManager[783]: <info>  [1745876466.6623] settings: (enx02515a013030): created default wired connection 'Wired connection 1'
2025-04-29T03:11:06.663183+05:30 debian NetworkManager[783]: <info>  [1745876466.6631] device (enx02515a013030): carrier: link connected
2025-04-29T03:11:06.663631+05:30 debian NetworkManager[783]: <info>  [1745876466.6635] device (enx02515a013030): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
2025-04-29T03:11:06.664881+05:30 debian NetworkManager[783]: <info>  [1745876466.6647] policy: auto-activating connection 'Wired connection 1' (b8c54b5b-1372-3f75-b3ac-bddb556055d9)
2025-04-29T03:11:06.665568+05:30 debian NetworkManager[783]: <info>  [1745876466.6654] device (enx02515a013030): Activation: starting connection 'Wired connection 1' (b8c54b5b-1372-3f75-b3ac-bddb556055d9)
2025-04-29T03:11:06.665844+05:30 debian NetworkManager[783]: <info>  [1745876466.6657] device (enx02515a013030): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
2025-04-29T03:11:06.666437+05:30 debian NetworkManager[783]: <info>  [1745876466.6663] manager: NetworkManager state is now CONNECTING
2025-04-29T03:11:06.666822+05:30 debian NetworkManager[783]: <info>  [1745876466.6667] device (enx02515a013030): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
2025-04-29T03:11:06.667843+05:30 debian NetworkManager[783]: <info>  [1745876466.6677] device (enx02515a013030): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
2025-04-29T03:11:06.668932+05:30 debian NetworkManager[783]: <info>  [1745876466.6688] dhcp4 (enx02515a013030): activation: beginning transaction (timeout in 45 seconds)
2025-04-29T03:11:06.673062+05:30 debian avahi-daemon[671]: Joining mDNS multicast group on interface enx02515a013030.IPv6 with address fe80::4a19:8c42:aabb:f029.
2025-04-29T03:11:06.673315+05:30 debian avahi-daemon[671]: New relevant interface enx02515a013030.IPv6 for mDNS.
2025-04-29T03:11:06.673403+05:30 debian avahi-daemon[671]: Registering new address record for fe80::4a19:8c42:aabb:f029 on enx02515a013030.*.
2025-04-29T03:11:08.690551+05:30 debian NetworkManager[783]: <info>  [1745876468.6891] dhcp4 (enx02515a013030): state changed new lease, address=192.168.100.223
2025-04-29T03:11:08.691110+05:30 debian NetworkManager[783]: <info>  [1745876468.6905] policy: set 'Wired connection 1' (enx02515a013030) as default for IPv4 routing and DNS
2025-04-29T03:11:08.703781+05:30 debian avahi-daemon[671]: Joining mDNS multicast group on interface enx02515a013030.IPv4 with address 192.168.100.223.
2025-04-29T03:11:08.704189+05:30 debian avahi-daemon[671]: New relevant interface enx02515a013030.IPv4 for mDNS.
2025-04-29T03:11:08.704445+05:30 debian avahi-daemon[671]: Registering new address record for 192.168.100.223 on enx02515a013030.IPv4.
2025-04-29T03:11:08.712036+05:30 debian dbus-daemon[678]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=783 comm="/usr/sbin/NetworkManager --no-daemon")
2025-04-29T03:11:08.712601+05:30 debian NetworkManager[783]: <info>  [1745876468.7114] device (enx02515a013030): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
2025-04-29T03:11:08.748122+05:30 debian systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
2025-04-29T03:11:08.761086+05:30 debian dbus-daemon[678]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
2025-04-29T03:11:08.761425+05:30 debian systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
2025-04-29T03:11:08.764486+05:30 debian NetworkManager[783]: <info>  [1745876468.7643] device (enx02515a013030): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
2025-04-29T03:11:08.764684+05:30 debian NetworkManager[783]: <info>  [1745876468.7646] device (enx02515a013030): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
2025-04-29T03:11:08.765171+05:30 debian NetworkManager[783]: <info>  [1745876468.7650] manager: NetworkManager state is now CONNECTED_SITE
2025-04-29T03:11:08.765618+05:30 debian NetworkManager[783]: <info>  [1745876468.7654] device (enx02515a013030): Activation: successful, device activated.
2025-04-29T03:11:08.766189+05:30 debian NetworkManager[783]: <info>  [1745876468.7659] manager: NetworkManager state is now CONNECTED_GLOBAL
2025-04-29T03:11:09.162882+05:30 debian ModemManager[781]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-2': not supported by any plugin

followed the instructions on https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

did not work :frowning:

Exactly like with Debian initially, where ModemManager sees the QMI interface, tries to use it, gives up and does some magic with reprobing. It looks like QMI is broken or not fully implemented in this modem.
This reprobing switches the modem to RNDIS mode (and another idProduct - 90b4).

1 Like

yup, noticed that!

is it that 24.10.1 needs a specific driver as opposed to 23.05.3 in the sense that wrt 23.05.3 will do what debian does

in short, how can i get it to work like it was in wrt 23.05.3

thanks

edit:

will usb-modeswitch help to switch the modem to RNDIS mode