this post was submitted on 02 Jan 2025
230 points (99.6% liked)

Linux

8382 readers
220 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] argarath@lemmy.world 1 points 2 days ago (2 children)

So if my mint install updates I won't be able to use USB tethering? Is there a way to update my phone to use USB CDC NCM? Or would I have better luck recompiling my mint install to add the standard they just removed? I'm pretty new to Linux (literally made the switch last November) and I sadly have to use USB tethering when my ISP shits the bed with routing to the US

[–] Kazumara@discuss.tchncs.de 1 points 1 day ago* (last edited 1 day ago)

First you will have to find out about your specific phone model. It seems that different chipset vendors implement different things for tethering.

Someone in the raspberry pi forums checked what his Pi Zero was doing with lsusb -t and someone in an old reddit thread checked his dmesg while connecting the phone and turning on tethering, maybe you can try those things while tethering to see whether currently the RNDIS or the USB CDC driver gets loaded for your phone.

Then we will have to see in which kernel version Greg's change finally lands. At the earliest it will land in Kernel 6.14 because 6.13 is already on the fifth release candidate so new changes shouldn't be added anymore. Then you have to find out when your Mint install will move to that kernel. If you are currently on Mint 22 Wilma (supported until 2029), then that's based on Ubuntu 24.04 LTS, which is based on the Ubuntu LTS Kernel 6.8.

I'm guessing now, based on past regularities, that Mint 23 will be based on Ubuntu 26.04 LTS, and that Ubuntu will choose a fresh kernel for their LTS in the beginning of 2026, so probably one that will contain this change by Greg. So it seems to me, that if 1) your phone still needs RNDIS for tethering and 2) you still have that phone in the middle of 2026 and 3) you still have that Mint install you should probably not upgrade to Mint 23, but stay on Mint 22 until its support ends in 2029.

But projecting that far into the future is kind of difficult, maybe distro maintainers will reenable RNDIS if they see it's still needed, or maybe a future Android Update will force OEMs to use USB CDC.

[–] notfromhere@lemmy.ml 1 points 2 days ago (1 children)

Why couldn’t the NDIS driver run in userspace?

[–] argarath@lemmy.world 1 points 1 day ago* (last edited 1 day ago) (1 children)

What's NDIS and what do you mean to run it in userspace? I am very new to Linux and am barely considered tech savvy so this is all going over my head

I just googled what a NDIS is and with my limited knowledge I think I understood what you're saying. Are you saying that I could keep an older/custom version of NDIS running on my own user account instead of changing the entire kernel for me to be able to use USB CDC NCM to keep using USB tethering?

[–] notfromhere@lemmy.ml 1 points 1 day ago

Yes you nailed it. No reason for kernel mode unless there are controlling lines needed that the user account is not able to change the signaling on (more rare), if it’s only data mode your user account should suffice.