Using Redmi note 12 RNDIS

I am trying to use TP-Link Archer C5 V4 with Android through USB
My phone is Redmi note 12

I followed this guide: https://openwrt.org/docs/guide-user/network/wan/smartphone.usb.tethering

when I fire dmesg I am able to get

[    3.955680] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   19.294948] usbcore: registered new interface driver rndis_host

however I do not see ethX or usb0 in devices list

help, my only aim is to use usb rndis internet on router

Please show the output of cat /sys/kernel/debug/usb/devices

2 Likes

Show lsusb when phone is connected. In general screen has to be unlocked and tethering option enabled as long as data connection is used.

1 Like
root@Archer-C5:~# 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.63 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#=  3 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2717 ProdID=ff80 Rev= 5.04
S:  Manufacturer=Xiaomi
S:  Product=Redmi Note 12 5G
S:  SerialNumber=xkcd
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=ef(misc ) Sub=04 Prot=01
I:* If#= 0 Alt= 0 #EPs= 1 Cls=ef(misc ) Sub=04 Prot=01 Driver=rndis_host
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
E:  Ad=8e(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=0f(O) 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.63 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
root@Archer-C5:~#

Please do not use pictures when you need to show text.

updated text

Not bad so far. Disconnect the phone, run logread -f then reconnect the phone and make sure thethering is enabled, etc. like @brada4 said. Give it a few moments to run and post the log data collected.

1 Like

restarted both phone and router again

root@Archer-C5:~# logread -f
Thu Dec  5 02:19:35 2024 kern.info kernel: [  751.095983] usb 1-1: new high-speed USB device number 5 using ehci-platform

now created interfaces with eth1 DHCP and DHCPV6 and it worked,
not sure how eth1 does not appear in the devices tab, anyways no issues now, thanks all

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.