this post was submitted on 17 Apr 2025
25 points (93.1% liked)
Linux
53752 readers
1295 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Seems to be rndis for me.
try to look up how to enable rndis in fedora manually and try it. Might work. Or you might need to download something too.
Below are the kernel logs for when I connect the USB on F42 (new kernel)
new(the one that doesn't work)
And these are the logs on the old kernel that still works:
old(the one that works)
{clock details changed to hh:mm for privacy}
One thing I notice is the new upgrade trying to use ModemManager rather than NetworkManager. The device is also defined as "Mobile Broadband", instead of "Ethernet".
Loading the kernel module with modprobe, as another commenter suggested, didn't make any change.
Another thing: An excerpt from the kernel changelog at https://cdn.kernel.org/pub/linux/kernel/v6.x/
I am so lost xD
So its treating your phone like a WWAN device like if you had mobile broadband built into the computer instead of treating it like a ethernet over usb connection. If there is a network connection showing up for it try to go in and force it to allow the phone to handle DHCP. Tethered phones act as the DHCP server in most cases, but if it thinks its an internet WWAN device the computer might be trying to be the DHCP server causing a conflict. Or force it to somehow recognize it as an ethernet connection.
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:
Find your phone’s USB IDs
Plug in your phone with USB‑tethering enabled and run:
You’ll see a line like:
Note the idVendor (here
18d1
) and idProduct (here4ee7
).Create a udev rule to ignore it
As root, create
/etc/udev/rules.d/99-usb-tether-ignore.rules
with these contents:(Replace
18d1
/4ee7
with your phone’s IDs.) citeturn5search4Reload udev and restart services
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.