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