Spyke

(cant believe Im writing this but) ever since I switched to Arch all those years ago, my Linux hardware problems ended.

Turns out Linux is great when your kernel is relatively fresh by default.

9

Could be flashed with a different microcode that works better with Linux. Just because it’s of the same model doesn’t mean it’s the same. Sometimes it’s as little as a flag that is set. Looking at you battleye

91

A different revision could be very different, it's likely not really the exact same.

56
lemmy.world

You will learn SO MUCH about computers by just trying to make your wifi or some other thing work. And then you will never have trouble with that thing again. I remember having to do wrapping of drivers, but I don't know if that is still a thing.

48
Jankatarchreply
lemmy.world

This is how getting unsupported features work in linux feels

33
Natanaelreply
infosec.pub

Like that time I got a random no-name action cam's webcam mode to work on Linux by manually mounting it within seconds of connecting it

11
stolyreply
lemmy.world

There's something special about WiFi, but it is better than it used to be. I think it depends on your hardware more than anything. Any chance you can connect up to Ethernet in the meantime? You may be able to plug directly into a switch/router.

6
piefed.world

It's too far from the router right now, but I have some options.

I needed to have the new adapter plugged in to use a tool from the manufacturer that is supposed to detect your adapter and install the most up to date driver for you, but of course you have to be online, so I was using the old semi-broken adapter and had both plugged in and connected to my router at the same time.

It seems jank, but it made me wonder what would happen if I just left both connected forever. Would it stay seamlessly connected as long as they both don't drop at the same time? Lol

5
stolyreply
lemmy.world

You remind me of when I moved to Argentina. I had a laptop whose fan suddenly froze but I was too broke to get a computer so I figured out that if I put it in JUST THE RIGHT spot next to a fan, it would get enough passive cooling to work. Then I did the silly and decided to upgrade, which made me have to plug in Ethernet. It took me ages to get the computer back in the right spot so that it wouldn't power off due to overheating. All for WiFi...

8
Natanaelreply
infosec.pub

You can make Linux load balance over two network connectors, but usually it prioritizes one network adapter for all traffic based on a scoring algorithms (wired and high bandwidth gets most points).

You can manually set a priority too, or route specific traffic (based either on destination, protocol, or source program, etc) to a specific adapter. Some programs (like KTorrent) are capable of using multiple adapters without any specific config (which is why I was able to run torrents one time while literally nothing else worked with an old 3G internet dongle) .

4

Networking is wild. I've learned the Linux network stack by troubleshooting my Proxmox LXC + tailscale subnet router shit.

8

As far as first problems with Linux go, that one's a classic! Congrats, LOL

29

Be me and get a cheap MacBook Pro 2015 to run Linux Has Broadcom adapter Apparently the worst one 43602 chip Proceeds to install arch anyway Tries 3 drivers, no luck Tries many workarounds, no luck Cries to sleep Runs internet recovery to install macOS, fails

Guys, listen to the wiki and techstack sites. Don’t get broadcom

28
lemmy.world

This was also my first issue in Linux but it turned out my duel boot was somehow screwing things up. Windows broke WiFi for Linux, then when I booted into Windows it was broken there too. I blame Windows because it was right after a series of updates, but I have no idea why it'd impact other independent OS on other drives.

Unfortunately I forgot the solution. It was probably since bios impacting thing, like how they often say to disable fast boot and junk.

23
bleistift2reply
sopuli.xyz

Devices are configurable via software. If windows managed to “flip a switch” on the WiFi chip, it would affect Linux as well if it didn’t reset it on boot.

22

This. Way back in the day, I had a sound card that would absolutely not work in one OS unless I'd already booted into a different one and "activated" it with the driver there.

It might have been Win9x and WinNT, but it could just as easily have been Win9x and some early-ish version of RedHat.

But anyway, it would not surprise me to learn that the same sort of thing still happens with some hardware.

7

Ahh, ok that makes sense. Reading other posts, pretty sure my wifi chip is the same as OP.

1
Magisterreply
lemmy.world

Disable fast boot in your BIOS, else when you reboot, hardware is not re-initialized so if Windows loaded a custom firmware in the chip or set some stuff here and there, it may be incompatible with linux. If you dual boot, always disable FastBoot in the BIOS.

17

and at this point it's also worth noting that this is a setting in the UEFI setup, and this is different to the fast startup setting in windows that also needs to be turned off for other reasons.

8
feannagreply
sh.itjust.works

I had this issue and it was a fast boot issue. I'd shut down windows and boot Linux and WiFi wouldn't work. A restart would fix it. With fast boot, windows doesn't actually shut down, it's more like a hibernate state. So the driver or whatever it's called was being held by the widows partition and wouldn't respond to another kernal.

8
WhyJiffiereply
sh.itjust.works

I think windows does shut down, but the hardware in your computer does not, and so when booting linux, the hardware does not start with a fresh slate. It's not reinitialized, keeping configuration and possibly custom firmware from the other OS.
interestingly, it also means malware could also escape a reboot this way.. and for the network adapter, maybe it doesn't even need to be compatible with linux to work.

what you mean though is the fast startup setting of windows. that does hibernate the computer as you say, after it logs out the user.

3

You are correct. Fast startup used to be called fast boot, hence my confusion. And it looks like the current state of windows is saved in nonvolatile for fast startup, which I would consider not being fully shutdown, but that's probably semantics at that point.

2

My first Linux issue was that it didn’t support the USB hub I had at the time that was just always plugged into the windows machine I was installing Linux onto. So in 2003, I took my bulky tower to a friends house and it booted on the first try after weeks of failures trying on my own at home.
I was both relieved, and incredibly annoyed.

21

In a pinch you can tether your phone through USB and use its Wi-Fi.

If you have an old router lying around, you might be able to set it up as a repeater and then plug into it with Ethernet. That's what I did for a while when my computer's Wi-Fi was unreliable.

20
sh.itjust.works

After both the 4G modem and the wifi dongles didn't work I decided to flash an old TP-link router with OpenWRT (or was it DDWRT?) and using that in a bridge mode connected wifi and via ethernet to the PC. So yeah, then I got an Intel wifi 6 NIC and gave the router away.

18

Hah, I've totally done that. I'm thinking about doing it again, because it worked way better than my desktops built-in wifi adapter that has no external antenna.

3

starring this comment, amazing resource from the FSF - thank you!

2
piefed.world

Realtek. I was reading that many Realtek chipsets cause intermittent wifi drops, and that since they're pretty inexpensive, it's simpler to just get one that works. So, I went with another company that advertises as Linux compatible out of the box, plugged it in, checked it with 'lsusb', and saw the exact same Realtek chipset that my old one has.

23

Realtek is just ass in general. I avoid them like the plague.

They're OK in windows, but I have never had a good experience with them on Linux.

26
piefed.world

It sounds like you're not alone, and it's what I was trying to do too! I just didn't pay close enough attention to the specs on my new adapter, lol

Lesson learned.

5
lemmy.world

Did the new adapter have the same problems? I know you said it read as the same.

5

FreeNAS was my first experience with that...

After dealing with that for a month I swore I'll never buy a nother PC with a realtek nic. I think I spent like $50-100 more on my latest mobo in order to get Intel + Marvell instead of Realtek.

2
reddthat.com

Not sure if you have the same problem or not, but I had intermittent jitter spikes (and/or complete package drops) every 60 seconds on my Realtek chipset, ran:

sudo iw dev wlan0 set power_save off

And it's been stable since (just had to make a udev rule to make it persistent across boot)

5

Realtek only started to develop drivers in the upstream Linux kernel relatively recently, 5 years or so, and only for what was then the newest chipset. Something 88 and two letters but not 88 and other letters (I think CE).

Does Intel WIFI still exist? If so, that is what is probably the best supported chipset.

2

Realtek stuff tends to be junk in my experience (even outside of support which is terrible)

2
Magisterreply
lemmy.world

I have a Mediatek MT7921K, it's using the mt7921e driver, 3 years ago the chip was new I think and not well supported in linux (problem with init/sleep/resume) but a lot of people fixed it, and mediatek released new firmware, and the driver is rock solid for about 3 years now, I'm using it on my daily driver working PC 8h/day, 0 problem, and use a BLE keyboard and trackball too.

3

Yeah that's why I was wondering if their machine was fairly new. I've found consistently better driver support with time. I'm genuinely surprised that its an older machine and having these issue.

1
Decqreply
lemmy.world

Are all mediatek's horrible? I've got one in my desktop but it's just terrible. Randomly crashes my whole pc after a while. And the only way to fix it is to cmos reset the motherboard. It's forever disabled in the bios now, which also means no Bluetooth sadly. Just wondering if I had bad luck or to always avoid them.

2

Basically yes.

But thankfully they are equal-opportunity ass and suck on all platforms, not just Linux. I'm on bazzite rn because I couldnt get the bluetooth on either fedora OR ubuntu to work at full speed. Granted, my machine is very new, but like. I'm still getting that occasional issue where a bt device connects and the whole system lags.

1

I gave up on the built-in mediatek wifi chip in my motherboard and just pulled the dedicated wifi card from my old pc. I'm on ethernet now, but man troubleshooting that was not fun.

I even ordered a new chip, which, of course, never showed up.

2

Some distros have crusty old kernels/firmware and thus lack optimal support to boot lol.

Anyway even with Qualcomm Wi-Fi 7, it was not great even a month back. 🙄

I had to rebase to Bazzite-Testing and back to Bazzite-Stable a few times..... Ended up pinning an older testing image for a while to keep working wifi while Fedora upstream fixed their crap.

The joy of Atmoic made that super simple and painless I'll say.

Rolling back updates on tradish distros can be painful to the point of reinstall sometimes lol.

10
lemmy.zip

I personally would avoid Wifi 7 or anything newer. It takes a while to develop kernel support and it will be a bad experience. Wifi 7 support was only finished in the last year or two and it is going to be buggy.

4
jaxxedreply
lemmy.world

This.

Don't expect the brand new gear to work on Linux. It takes a while for the neckbeards to get access and write the drivers.

Heck, even new gear from companies that contribute their own drivers can be shaky.

I'm sorry, but for desktop, Linux can't be relied on as stable for early gear adoption. Usually even the specs are in limbo still.

This is coming from a linux/bsd only user for many years.

5
lemmy.zip

The vast majority of hardware is support maintained by the manufacturer. However, it takes quite a while for it to trickle down. Linux is purely a monothic kernel so bugs can be very bad.

2

yup, same problems with v4l and a kernel incongruency. NixOS to the rescue. Add a line to pin the kernel and everything keeps working like nothing ever happened.

2
addiereply
feddit.uk

Yep. Got an Intel AX210 Typhoon Peak in my (AMD) laptop. Never had a single issue. Their CPUs might be crap, but their wifi is the business.

3

Their WiFi cards were great until they "fixed" them to only work with recent Intel CPUs.

1

My work machine has an intel WiFi chip and it's given me nothing but trouble

2
lemmy.blahaj.zone

Similar thing happened to me a while back, though the new one was just as much of a pain. So anyway, there is now a new, RJ45-shaped, hole in my wall.

9
Monumentreply
lemmy.sdf.org

My overactive imagination: They used a speargun designed to fire RJ-45 shaped bolts through walls, pulling high tensile strength networking cable with it.

2
lemmy.world

As someone that spent a lot of years sitting next to an IT help desk, I'm not sure any chipsets work well at all. A lot of times you just have to figure out what makes them happy and get used to it.

I'd hear things like "as long as I don't close my laptop after I undock, i don't have to reboot to fix the wifi" as the person waddled across the office propping their laptop open. And these were high end windows laptops.

9

If you want to save troubleshooting time, just skip straight to the blood sacrifice. Computers are happy when you bleed, for some reason.

3

Man that reminds me that I bought a Chinese motherboard to build my homelab and installed Debian. Great! One kernel upgrade later and my network card stopped working. Tried a lot of things but to preserve my mental health and to enjoy my jellyfin again, I just returned to the older kernel and voilá, everything worked again..so no updates for now ...or ever

9
itsjessreply
lemmy.blahaj.zone

Have you ever compiled your own kernel? Could be the upgraded version doesn't enable a module your motherboard needed or something. A fairly simple test would be to compile thw kernel with everything enabled as a module and use that

10
sh.itjust.works

I did it once but I remember not being able to judge if I needed all the modules or what to flag on each line I saw. I tried to load the module this time after the upgrade but without success. Maybe I'll try someday if I get the time..

2

I'm not a kernel expert but found a good way to solve the "which modules do i need" delimma is to use modprobed-db. First compile with all modules, run modprobed-db every once in a while to store which modules are loaded and then run "make localmodconfig".

https://wiki.gentoo.org/wiki/Modprobed-db

3

Sounds like a rockchip board like orangepi haha. It's funny because they actually have some killer hardware, but documentation on kernel drivers and DTB boot chain is sketchy at best.

3
baltakateireply
sopuli.xyz

Same happened with me and a USB video capture card I bought specifically for Debian Linux compatibility. One kernel upgrade later… doesn't work. Try again on old kernel? Works. I'll probably try in a few months, but I can't be bothered now.

2

Same here..O have around 20 containers running on my potato server and I really enjoy using them..not enough time to debug this thing.

1
lemmy.world

The modem chipset everywhere are a CPU in its own and a black box at that.

In your case it might go to sleep occasionally.

8

Had the same problem while dual booting. Was a realtek chipset. Had a script to wake it up on booting or on disconnect. A hack I cobbled from internet lost to multiple hardware changes and multiple accidental wiping the whole computer.

2

if you use windows too, I remember from way back that windows made my network card to go to sleep(or some powersave move) at the windows shutdown, that make linux have issue with it.

I don't remember what the exact issue was but I remember it was windows doing it at its shutdown to save power, because pcie network card can stay awake even with pc off so that computer can be woke up via network ('Shutdown Wake-On-Lan' or a 'Wake on Magic Packet') windows made the card go to sleep and linux didn't wake it up.

2
lemmy.world

The Teacher in me has to ask,"So, what have we learned from all this?"

8
lemmy.world

You could try switching your wifi backend to iwd instead of wpa_supplicant.

If you're using NetworkManager, then create the file /etc/NetworkManager/conf.d/wifi_backend.conf, and add the following configuration:

[device]
wifi.backend=iwd
7
talreply
lemmy.today

If it's periodically dropping, I doubt that it's going to be the userspace WiFi backend. I'd be more-inclined to blame either the driver or an (unlabeled) hardware variation.

5
doughlessreply
lemmy.world

I had this exact issue with both my desktop and server. Anytime I put any sort of load on the outbound connection, the wifi would cut out. After switching to the iwd backend, I haven't had any issues.

5
discuss.online

These shit are so weird, breaks on windows works on Linux, doesn't work sometimes on boot and I have to restart my pc for it to work

7
piefed.world

Pop OS. It seems to be working for now, but I think my next step if it happens again will be to just use ethernet and call it a day.

6

Well, the PC is far from the router, but someone mentioned setting up a WiFi extender that has an ethernet port, and that doesn't sound like too bad of an idea.

2

I bought a cheap wifi card and it worked instantly after installing it. Linux really fell off, huh?

6

inb4 Ubuntu added a kernel patch to improve support and didn't contribute it upstream.

4
piefed.ca

Does anyone know a good Wi-Fi 7 chipset that plays well with AMD? I saw the Qualcomm one and it looks promising, but I've heard its support for Linux is spotty.

3

With hwe kernels, I'm generally satisfied with my Qualcomm NCM825. It might fail to come back from sleep 1 time out of 100 but that may be fixed now that I think about it.

4

Wifi 7 is not a great choice with Linux as it is very new.

I would stick with Wifi 5 or 6

4

I am trying to install Private Internet Access (a VPN) on my laptop after transitioning to Linux mint on it and it won't work. I downloaded the Linux version of the file from the site.

I will get the actual message later once I boot it back up.

This weekend I am fully ready to install Linux mint on my desktop.

2
lemmy.world

One of my goals is to get my storage and backups to the point that it's ALWAYS a good day to reinstall my distro

5
lemmy.dbzer0.com

Use a separate home partition to decouple the system from your user data. Easier to snapshot and to replace the system.

5
lemmy.today

Or a NAS for truly decoupled. Only thing I'd lose with a fresh install is any installed applications which can all be pulled again easily but the added upside of my wife also having easy access.

3
lemmy.dbzer0.com

How do you handle offline access, for example when using a Laptop? Syncthing seems to be an option.

1

It depends on the data but usually I'm just never offline. My NAS is accessible from around the world for my music and code repo and since I'm on IPV6 I didn't even have to deal with port forwarding and reverse proxy nonsense. Photos I'm hosting an app that's similar to Google photos and backs up from phone (it's kind of custom to how I do things but there's various self hostable apps). If I know I'm going to be truly offline unable to even connect through my phone somehow I'll manually copy the files to my laptop. I haven't done that in like five years though and it's only been a mild inconvenience once and honestly I just disconnected and enjoyed a peaceful offline day.

1
lemmy.world

Tienes que poner el locale en español. Ese es el truco.

1
sidelovereply
lemmy.world

It does, I lost Bluetooth support on an older laptop by upgrading to Windows 10, and for that there was NO diy fix

23

Or when any WIN1124H2 device was asleep during major updates it BITLOCKED ITSELF. Like the 5 laptops I'm fixing for people rn smdh

9
Aniviareply
feddit.org

Have you ever tried to set up a printer on Windows?

On Linux (and MacOS) they just work. No driver installation, no nothing. Just plug and play

11
lemmy.world

Forget printers. Windows screams about installing drivers when you plug in a mouse or USB drive half the time.

6

Me: [connects a mouse]
Windows: "please wait we are searching for drivers so the mouse works"
Me: [drags the mouse over to the popup to close it]
Me: jaquer

9

Windows never does crazy shit like this right?

It most certainly never:

  • kills drives
  • borks updates
  • wifi connectivity issues
  • reboot loops
  • breaking Bluetooth entirely
  • breaking administrative privileges on windows enterprise
  • not allowing restart OR shutdowns internally
  • have the worst search known to man
  • fucking copilot.
  • loose it's mind because a single sector wen bad on a hard disk causing blue screen that won't ever go away fuck you windows I don't care if that was 15 years ago I'm still pissed.
5