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

Linux

8373 readers
338 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
top 45 comments
sorted by: hot top controversial new old
[–] riodoro1@lemmy.world 4 points 17 hours ago

So mamy cellular modems are going to break. That’s what you get for sticking to a shitty „standard” made by a corpo known from their shitty work.

[–] LiveLM@lemmy.zip 29 points 2 days ago* (last edited 2 days ago) (2 children)

Wait, isn't RNDIS what's used when you tether your Android's connection via USB? Or am I mistaking it for something else?

[–] Kazumara@discuss.tchncs.de 2 points 16 hours ago (1 children)

Yes, with the exception of some that switched to USB CDC NCM already. I seem to be lucky, the Pixel 6 is one of the first to have made the switch.

[–] argarath@lemmy.world 1 points 10 hours ago (1 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

[–] notfromhere@lemmy.ml 1 points 6 hours ago

Why couldn’t the NDIS driver run in userspace?

[–] einlander@lemmy.world 15 points 2 days ago (1 children)

Yes, and it's still in new phones. They're being disingenuous saying that it's android phones don't use it.

[–] GolfNovemberUniform@infosec.pub 2 points 1 day ago (1 children)

So I may not be able to use ADB and Fastboot anymore after I get the kernel update?

[–] Laser@feddit.org 12 points 1 day ago (1 children)

That's different protocols. This is only about the one being used when you share your phone's connection via USB (tethering). Neither adb nor fastboot make use of this.

Also, starting with Android 14, there should be an alternative available with NCM.

[–] GolfNovemberUniform@infosec.pub 1 points 1 day ago (1 children)

Well a14 is not that common but I've never heard of tethering before (except for WiFi tethering that improves connection) so I guess it's not important.

[–] Laser@feddit.org 10 points 1 day ago (1 children)

It's not about improving a connection, but making your phone's network connection available to other devices. USB tethering creates a network device at /dev/usb... that behaves like an any ordinary network device, allowing you to create a connection using it. Wi-Fi tethering creates a hotspot similar to what your router at home does.

[–] GolfNovemberUniform@infosec.pub -2 points 1 day ago (1 children)

So now you can't use USB hotspots on Linux? Yea mainstream has gone pretty evil then tbh. They didn't even stop at the previous drama.

[–] Laser@feddit.org 6 points 1 day ago (1 children)

There's no such thing as USB hotspots, that's a term for WiFi. Also you can still use the NMC protocol if your Android version is recent enough. Just not RNDIS anymore. It's an insecure Microsoft protocol, though this probably wouldn't have mattered for a lot of people.

[–] GolfNovemberUniform@infosec.pub 1 points 1 day ago* (last edited 1 day ago) (1 children)

There's no such thing as USB hotspots

That was its name on my old Sony phone though.

Also you can still use the NMC protocol if your Android version is recent enough.

Yea but it's not a justification.

It's an insecure Microsoft protocol, though this probably wouldn't have mattered for a lot of people.

That's why a DE warning would be enough. Linux is just making terrible decisions recently. I guess it'll continue until major maintainer changes take place and that won't happen without life losses because nobody is going to leave the project so we might lose many of the Linux's benefits in a few years imo.

[–] UnityDevice@startrek.website 1 points 14 hours ago (1 children)

A DE has little to do with this, it's a driver, it gets loaded when you plug in a compatible device, there's no interaction. This should have been disabled 2 years ago when the gaping security holes were found, and actually Greg had attempted to have it disabled in 2022 but it kept getting pushed back.

[–] GolfNovemberUniform@infosec.pub 0 points 14 hours ago (1 children)

Uhm 2 years ago a14 was just released. There were pretty much no devices with it. Even though the protocol is unsafe, it's a good feature and killing desktop features just pushes Linux back.

Also a DE has stuff to do with it. It should be able to detect the connection and send a notification about it being potentially unsafe. Killing it is just a stupid move done by rich folks with latest flagships for rich folks with latest flagships.

[–] zalgotext@sh.itjust.works 1 points 9 hours ago (1 children)

You're couching it as Linux "killing desktop features", when really it's just Linux removing one ancient, insecure driver for which there is a modern, secure alternative. And it's not like Linux is wiping the driver off the face of the planet. If you want to reintroduce the ancient, insecure driver back into your system, there are extensive instructions on compiling your own kernel with whatever you want in it.

[–] GolfNovemberUniform@infosec.pub -1 points 9 hours ago* (last edited 8 hours ago) (1 children)

I would love to see a new Linux user who just installed Linux on a pretty old machine because of no official Windows 11 support or performance issues compiling their own kernel. And they're not guaranteed to have a new phone either.

It's like saying that we should remove SDR monitor support because HDR somewhat works on Linux and it's better so everyone should move to it.

Same goes to X11. It's still available on sane and serious distros because it's needed for some people.

[–] zalgotext@sh.itjust.works 0 points 5 hours ago (1 children)

Those are terrible comparisons. The amount of people using SDR and X11 still is gigantic, the amount of people using USB tethering is... not.

[–] GolfNovemberUniform@infosec.pub 0 points 3 hours ago (1 children)

I think you missed the word "regularly" in your sentence. USB tethering is not required very often.

[–] zalgotext@sh.itjust.works 1 points 46 minutes ago

Nope, you just misread my comment

[–] Endymion_Mallorn@kbin.melroy.org 21 points 2 days ago (1 children)

Well, that'll be a problem for anything that's got crossplay between XP and Linux in a local environment.

[–] nao@sh.itjust.works 27 points 2 days ago (1 children)

someone using xp probably won't mind using some outdated linux kernel as well

[–] dual_sport_dork@lemmy.world 19 points 2 days ago (2 children)

Good on them, I guess.

This kind of thing can never be removed from Windows because somewhere there is a Fortune 500 company whose entire IT infrastructure is precariously balanced such that it relies on this obscure feature -- or some other equally rickety legacy Win32/16 API crap -- and if it ever goes away their business will collapse and they'll sue Microsoft for a billion dollars.

[–] kadup@lemmy.world 24 points 2 days ago* (last edited 2 days ago)

Those systems are running frozen versions of Windows, they're not being updated. Microsoft could introduce a patch for Windows 10 and 11 that removes the vulnerability and people running old software on XP would still be able to run it. Or, at the very least, make it disabled by default but let advanced users and sysadmins re-enable the vulnerable code.

That's what they did with SMB 1.0, for instance. It's disabled on any modern Windows install, even though a lot of universities and companies still have infrastructure based on it. If you browse the "advanced system features" options you can re-enable it manually, with the knowledge that you're voluntarily opening up your system to well known dangerous exploits in exchange for backwards compatibility.

EDIT: So further reading that's exactly what they're doing. The drivers aren't loaded by default on Windows 10 and 11, they need to be enabled after plugging a legacy device type requiring it.

[–] nesc@lemmy.cafe 18 points 2 days ago (1 children)

What are you talking about? Microsoft constatntly removes and adds features to their software and OS, no one can sue them for it.

[–] Fubarberry@sopuli.xyz 10 points 2 days ago (1 children)

Yeah, windows 10/11 has broken a ton of stuff. I have to use RS232 plugs for programming controllers at work, and I had to buy new usb-RS232 cables for all our computers because windows 11 broke support for all the older cables. I've also had a lot of programs break.

It's really frustrating to be trying to troubleshoot if an old controller is working or not, and not know if you can't connect to it because it's fried or if some new windows update is preventing the connection/software from working.

[–] biscuitswalrus@aussie.zone 3 points 2 days ago (1 children)

Those cables more than likely were using clone chips and for whatever reason Microsoft decided to back completely banning them when identified.

You'll probably know if your old one is a fake chip because it'll say "not a prolific..." which isn't just a reboot and edit to allow unsigned drivers, it's dead.

What's worse, it's absolutely impossible to tell if the cable you bought has the fake chip since legitimate stores and legitimate cable makers bought them so the loser is people.

Works fine on Mac and Linux though. Naturally.

[–] Fubarberry@sopuli.xyz 7 points 2 days ago (1 children)

From what I've read, Microsoft just decided to drop support for the PL-2303HXA/ TA/TB/HXD/RA/SA/EA. Some people report that RA chipsets still work some of the time, but inconsistently.

You can also sometimes forcibly install old drivers, that will continue to work.

[–] biscuitswalrus@aussie.zone 3 points 2 days ago

Ah sounds like two compounding issues then! I referenced this issue https://www.sleepyponylabs.com/blog/pl2303 since so many cables I had previously, even from the router and switch maker that came with the device, stopped working.

Great to know that there's a whole other bunch of issues around these cables further making life tough for consumers.

[–] bargo@mastodon.tn 8 points 2 days ago (3 children)

@cm0002 eh, does that mean I can't anymore tweak my Lumia? Fuck (yes I still have a Lumia, even many years after their death, it is still my best phone, android can't compete, an android, and I mean all of them, lags like hell on 2Gb RAM, the Lumia runs super smoothly with 1 Gb RAM)

[–] michael_palmer@lemmy.sdf.org 14 points 2 days ago (1 children)

android, and I mean all of them, lags like hell on 2Gb RAM

False. The key is the software you use. I use Lineage OS without Gapps, most apps from F-droid and my mid-range Samsung runs pretty smoothly with 2GB of RAM.

[–] specterspectre@lemmy.world 6 points 2 days ago (1 children)

This. LineageOS on any device that supports it immediately improves said device x10.

I have an old as hell Galaxy tablet that had slowed down to a crawl after a few years. With LineageOS it's usable again.

[–] bargo@mastodon.tn 0 points 1 day ago (2 children)

@specterspectre @michael_palmer can you find an official custom ROM of LineageOS for Nokia X or Alcatel Pixi 4 (4")?

[–] specterspectre@lemmy.world 1 points 20 hours ago (1 children)

https://wiki.lineageos.org/devices/ read on. Don't start any process on any device without reading all the info and steps.

[–] bargo@mastodon.tn 1 points 19 hours ago (1 children)

@specterspectre eh, I'm not a developer, plus, tuto like this takes time that I hardly find

[–] bargo@mastodon.tn 1 points 19 hours ago

@specterspectre plus, it doesn't have any of the phones I own

[–] bargo@mastodon.tn 1 points 1 day ago (1 children)

@specterspectre @michael_palmer also Samsung Galaxy A70, however, it is critical that I don't leave it unusable since it's essential for my work

[–] bargo@mastodon.tn 0 points 1 day ago
[–] cm0002@lemmy.world 6 points 2 days ago (1 children)

Unlikely, unless you tweak your Lumia that's plugged into a windows system remotely from a Linux system

[–] bargo@mastodon.tn 1 points 1 day ago

@cm0002 there's another way: using a VM

[–] nesc@lemmy.cafe -1 points 2 days ago

Can't you not run your android on 2gb of ram? 🙃 That's such a weird complaint to be honest, how often did you tweak your lumia before, anyway?