this post was submitted on 17 Apr 2025
25 points (93.1% liked)

Linux

53843 readers
1266 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Upon upgrading from Fedora 41 to 42, I noticed that the USB tethering just doesn't work

networkctl recognizes the device as "wwan" now, instead of "ether". If I load up a previous kernel, USB tethering works normally.

This seems to be a change in the kernel, and probably won't be reverted in the future. What do I do?

More detail in this comment

You know what? Fuck this. I just backed my shit up and installed Debian. Still, please try to look into this, this could be a problem for many others

you are viewing a single comment's thread
view the rest of the comments
[–] Xiisadaddy@lemmygrad.ml 1 points 2 weeks ago

I asked ChatGPT about it since I'm not sure how to go about it, and got this. Might be worth a try.

Prompt: In a recent update to the fedora operating system they changed it so mobile broadband modems are now flagged as WWAN devices rather then ethernet devices. This is causing it to treat a usb tethered phone as a WWAN device instead of a ethernet over usb device, and the tether is not working as a result. How could a user fix this on their system?

Answer: You can teach ModemManager to completely ignore your phone’s RNDIS interface so that NetworkManager will handle it as a normal Ethernet link again. Here’s how:

  1. Find your phone’s USB IDs
    Plug in your phone with USB‑tethering enabled and run:

    lsusb
    

    You’ll see a line like:

    Bus 002 Device 008: ID 18d1:4ee7 Google Inc. Nexus/Pixel (tethering)
    

    Note the idVendor (here 18d1) and idProduct (here 4ee7).

  2. Create a udev rule to ignore it
    As root, create /etc/udev/rules.d/99-usb-tether-ignore.rules with these contents:

    # Tell ModemManager to ignore my phone’s USB‑tether interface
    ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="4ee7", ENV{ID_MM_DEVICE_IGNORE}="1"
    

    (Replace 18d1/4ee7 with your phone’s IDs.) citeturn5search4

  3. Reload udev and restart services

    sudo udevadm control --reload-rules
    sudo udevadm trigger
    sudo systemctl restart ModemManager NetworkManager
    

After that, your tethered phone will no longer be treated as a WWAN modem but as an ordinary USB‑Ethernet device—DHCP will kick in and Internet will flow as before.


Tip:
If you never use a cellular modem on this machine, you can also just uninstall ModemManager entirely:

sudo dnf remove ModemManager
``` citeturn5search4