Public bug reported:

After upgrading from kernel version 6.11.0-26-generic to
6.11.0-29-generic, plugging my Xiaomi Poco X3 phone (LineageOS 21 /
Android 14) to Ubuntu with USB tethering enabled doesn't show the
connection in NetworkManager, and the device appears as type wwan
(unmanaged by NetworkManager), and doesn't get an IPv4 address, so it
cannot be used as a wired network device.

System reboots:

reboot   system boot  6.11.0-29-generi Fri Jul 11 09:04 - 18:03  (08:58)
reboot   system boot  6.11.0-26-generi Mon Jul  7 08:06 - 02:02 (3+17:55)

$ journalctl | grep -i rndis_host
Jul 07 08:13:26 discotecamovil kernel: rndis_host 9-1:1.0 enx469e3dd89eec: 
unregister 'rndis_host' usb-0000:07:00.4-1, RNDIS device
Jul 07 08:55:33 discotecamovil kernel: rndis_host 7-1:1.0 eth0: register 
'rndis_host' at usb-0000:07:00.3-1, RNDIS device, 0a:27:76:e5:87:53
Jul 07 08:55:34 discotecamovil kernel: rndis_host 7-1:1.0 enx0a2776e58753: 
renamed from eth0
Jul 07 10:34:08 discotecamovil kernel: rndis_host 7-1:1.0 enx0a2776e58753: 
unregister 'rndis_host' usb-0000:07:00.3-1, RNDIS device
Jul 07 10:34:43 discotecamovil kernel: rndis_host 7-1:1.0 eth0: register 
'rndis_host' at usb-0000:07:00.3-1, RNDIS device, 02:4d:a0:0c:94:ab
Jul 07 10:34:43 discotecamovil kernel: rndis_host 7-1:1.0 enx024da00c94ab: 
renamed from eth0
Jul 07 17:21:43 discotecamovil kernel: rndis_host 7-1:1.0 enx024da00c94ab: 
unregister 'rndis_host' usb-0000:07:00.3-1, RNDIS device
Jul 07 18:11:59 discotecamovil kernel: rndis_host 7-1:1.0 eth0: register 
'rndis_host' at usb-0000:07:00.3-1, RNDIS device, be:08:2f:8a:ce:c2
Jul 07 18:11:59 discotecamovil kernel: rndis_host 7-1:1.0 enxbe082f8acec2: 
renamed from eth0
Jul 07 18:13:16 discotecamovil kernel: rndis_host 7-1:1.0 enxbe082f8acec2: 
unregister 'rndis_host' usb-0000:07:00.3-1, RNDIS device
Jul 11 09:10:20 discotecamovil kernel: rndis_host 7-1:1.0 wwan0: register 
'rndis_host' at usb-0000:07:00.3-1, Mobile Broadband RNDIS device, 
f6:6e:5d:1e:bf:2e
Jul 11 09:10:20 discotecamovil kernel: usbcore: registered new interface driver 
rndis_host
Jul 11 09:10:20 discotecamovil kernel: rndis_host 7-1:1.0 wwxf66e5d1ebf2e: 
renamed from wwan0
Jul 11 09:14:05 discotecamovil kernel: rndis_host 7-1:1.0 wwxf66e5d1ebf2e: 
unregister 'rndis_host' usb-0000:07:00.3-1, Mobile Broadband RNDIS device
Jul 11 09:14:12 discotecamovil kernel: rndis_host 7-1:1.0 wwan0: register 
'rndis_host' at usb-0000:07:00.3-1, Mobile Broadband RNDIS device, 
b2:ac:20:e3:6b:e7
Jul 11 09:14:12 discotecamovil kernel: rndis_host 7-1:1.0 wwxb2ac20e36be7: 
renamed from wwan0


Ubuntu version 

No LSB modules are available.
Description:    Ubuntu 24.04.2 LTS
Release:        24.04


A possible workaround is

$ sudo tee /etc/udev/rules.d/70-persistent-rndis.rules > /dev/null <<EOF
SUBSYSTEM=="net", ACTION=="add", ATTR{address}==<<WRITE YOUR PHONE'S MAC 
ADDRESS HERE>>, NAME="usb-tether"
EOF


$ sudo tee /etc/systemd/network/99-usb.network > /dev/null <<EOF
[Match]
Name=usb-tether

[Network]
DHCP=yes
EOF


Then

$ sudo systemctl restart systemd-networkd
$ sudo networkctl reconfigure usb-tether

Then

$ journalctl -u systemd-networkd -n 50 | grep usb-tether

should show

  usb-tether: DHCPv4 client started

and the network be available (although still not visible in
NetworkManager).

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.11.0-29-generic 6.11.0-29.29~24.04.1
ProcVersionSignature: Ubuntu 6.11.0-29.29~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-29-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC2:  david      3394 F.... wireplumber
 /dev/snd/controlC1:  david      3394 F.... wireplumber
 /dev/snd/controlC0:  david      3394 F.... wireplumber
 /dev/snd/seq:        david      3390 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Jul 12 15:25:11 2025
InstallationDate: Installed on 2025-02-12 (150 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
MachineType: ASUSTeK COMPUTER INC. ASUS TUF Gaming A15 FA507NVR_FA507NVR
ProcFB: 0 simpledrmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-29-generic 
root=UUID=2c89dd96-ec21-4ec0-9deb-ac6f634dc97b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.11.0-29-generic N/A
 linux-backports-modules-6.11.0-29-generic  N/A
 linux-firmware                             20240318.git3b128b60-0ubuntu2.14
SourcePackage: linux-hwe-6.11
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/15/2024
dmi.bios.release: 5.24
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: FA507NVR.300
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: FA507NVR
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 3.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrFA507NVR.300:bd03/15/2024:br5.24:efr3.0:svnASUSTeKCOMPUTERINC.:pnASUSTUFGamingA15FA507NVR_FA507NVR:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFA507NVR:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
dmi.product.family: ASUS TUF Gaming A15
dmi.product.name: ASUS TUF Gaming A15 FA507NVR_FA507NVR
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

** Affects: linux-hwe-6.11 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2116773

Title:
  USB tethered Xiaomi Poco X3 no longer recognized as eth0 device

Status in linux-hwe-6.11 package in Ubuntu:
  New

Bug description:
  After upgrading from kernel version 6.11.0-26-generic to
  6.11.0-29-generic, plugging my Xiaomi Poco X3 phone (LineageOS 21 /
  Android 14) to Ubuntu with USB tethering enabled doesn't show the
  connection in NetworkManager, and the device appears as type wwan
  (unmanaged by NetworkManager), and doesn't get an IPv4 address, so it
  cannot be used as a wired network device.

  System reboots:

  reboot   system boot  6.11.0-29-generi Fri Jul 11 09:04 - 18:03  (08:58)
  reboot   system boot  6.11.0-26-generi Mon Jul  7 08:06 - 02:02 (3+17:55)

  $ journalctl | grep -i rndis_host
  Jul 07 08:13:26 discotecamovil kernel: rndis_host 9-1:1.0 enx469e3dd89eec: 
unregister 'rndis_host' usb-0000:07:00.4-1, RNDIS device
  Jul 07 08:55:33 discotecamovil kernel: rndis_host 7-1:1.0 eth0: register 
'rndis_host' at usb-0000:07:00.3-1, RNDIS device, 0a:27:76:e5:87:53
  Jul 07 08:55:34 discotecamovil kernel: rndis_host 7-1:1.0 enx0a2776e58753: 
renamed from eth0
  Jul 07 10:34:08 discotecamovil kernel: rndis_host 7-1:1.0 enx0a2776e58753: 
unregister 'rndis_host' usb-0000:07:00.3-1, RNDIS device
  Jul 07 10:34:43 discotecamovil kernel: rndis_host 7-1:1.0 eth0: register 
'rndis_host' at usb-0000:07:00.3-1, RNDIS device, 02:4d:a0:0c:94:ab
  Jul 07 10:34:43 discotecamovil kernel: rndis_host 7-1:1.0 enx024da00c94ab: 
renamed from eth0
  Jul 07 17:21:43 discotecamovil kernel: rndis_host 7-1:1.0 enx024da00c94ab: 
unregister 'rndis_host' usb-0000:07:00.3-1, RNDIS device
  Jul 07 18:11:59 discotecamovil kernel: rndis_host 7-1:1.0 eth0: register 
'rndis_host' at usb-0000:07:00.3-1, RNDIS device, be:08:2f:8a:ce:c2
  Jul 07 18:11:59 discotecamovil kernel: rndis_host 7-1:1.0 enxbe082f8acec2: 
renamed from eth0
  Jul 07 18:13:16 discotecamovil kernel: rndis_host 7-1:1.0 enxbe082f8acec2: 
unregister 'rndis_host' usb-0000:07:00.3-1, RNDIS device
  Jul 11 09:10:20 discotecamovil kernel: rndis_host 7-1:1.0 wwan0: register 
'rndis_host' at usb-0000:07:00.3-1, Mobile Broadband RNDIS device, 
f6:6e:5d:1e:bf:2e
  Jul 11 09:10:20 discotecamovil kernel: usbcore: registered new interface 
driver rndis_host
  Jul 11 09:10:20 discotecamovil kernel: rndis_host 7-1:1.0 wwxf66e5d1ebf2e: 
renamed from wwan0
  Jul 11 09:14:05 discotecamovil kernel: rndis_host 7-1:1.0 wwxf66e5d1ebf2e: 
unregister 'rndis_host' usb-0000:07:00.3-1, Mobile Broadband RNDIS device
  Jul 11 09:14:12 discotecamovil kernel: rndis_host 7-1:1.0 wwan0: register 
'rndis_host' at usb-0000:07:00.3-1, Mobile Broadband RNDIS device, 
b2:ac:20:e3:6b:e7
  Jul 11 09:14:12 discotecamovil kernel: rndis_host 7-1:1.0 wwxb2ac20e36be7: 
renamed from wwan0

  
  Ubuntu version 

  No LSB modules are available.
  Description:  Ubuntu 24.04.2 LTS
  Release:      24.04

  
  A possible workaround is

  $ sudo tee /etc/udev/rules.d/70-persistent-rndis.rules > /dev/null <<EOF
  SUBSYSTEM=="net", ACTION=="add", ATTR{address}==<<WRITE YOUR PHONE'S MAC 
ADDRESS HERE>>, NAME="usb-tether"
  EOF

  
  $ sudo tee /etc/systemd/network/99-usb.network > /dev/null <<EOF
  [Match]
  Name=usb-tether

  [Network]
  DHCP=yes
  EOF

  
  Then

  $ sudo systemctl restart systemd-networkd
  $ sudo networkctl reconfigure usb-tether

  Then

  $ journalctl -u systemd-networkd -n 50 | grep usb-tether

  should show

    usb-tether: DHCPv4 client started

  and the network be available (although still not visible in
  NetworkManager).

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: linux-image-6.11.0-29-generic 6.11.0-29.29~24.04.1
  ProcVersionSignature: Ubuntu 6.11.0-29.29~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3.7
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  david      3394 F.... wireplumber
   /dev/snd/controlC1:  david      3394 F.... wireplumber
   /dev/snd/controlC0:  david      3394 F.... wireplumber
   /dev/snd/seq:        david      3390 F.... pipewire
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Jul 12 15:25:11 2025
  InstallationDate: Installed on 2025-02-12 (150 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
  MachineType: ASUSTeK COMPUTER INC. ASUS TUF Gaming A15 FA507NVR_FA507NVR
  ProcFB: 0 simpledrmdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-29-generic 
root=UUID=2c89dd96-ec21-4ec0-9deb-ac6f634dc97b ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-29-generic N/A
   linux-backports-modules-6.11.0-29-generic  N/A
   linux-firmware                             20240318.git3b128b60-0ubuntu2.14
  SourcePackage: linux-hwe-6.11
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/15/2024
  dmi.bios.release: 5.24
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: FA507NVR.300
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: FA507NVR
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.ec.firmware.release: 3.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrFA507NVR.300:bd03/15/2024:br5.24:efr3.0:svnASUSTeKCOMPUTERINC.:pnASUSTUFGamingA15FA507NVR_FA507NVR:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFA507NVR:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
  dmi.product.family: ASUS TUF Gaming A15
  dmi.product.name: ASUS TUF Gaming A15 FA507NVR_FA507NVR
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.11/+bug/2116773/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to