infosec.pub

Norgur, to linuxmemes in It's OK if you cry

The very evening I installed Linux for the first time (I think it was Ubuntu 12.04), my Wifi stick was the first major hurdle. I was a teenager, had no idea about package managers and such, but the drivers for my stick were only available in an uncompiled format, so I had to first learn what build utils and kernel dev packages were, download them and their dependencies onto the windows PC of my dad and copy them onto a CD.

After I had figured all that out (took me.a while), I learned how to compile on the fly.

After I had run ./configure and it finallyfinally ran through without error, the config script had this last line:

Configure done successfully. Now type 'make' and pray

Things have changed over the years, but they haven't changed enough.

NaoPb, (edited )

Whenever I come across something I’d have to build myself, I just give up. No matter the instruction, there is always something wrong.

0x4E4F, (edited )

That is true on any LTS distro. Try rolling release, works without a glitch almost every time… well, at least on Void it does.

Norgur,

I read the previous comment and thought to myself "I bet there is some reply about LTS vs rolling release to this". I KNEW IT!

0x4E4F, (edited )

Yep, been in the same boat 😂. Was an LTS fan for a long long time till I realized… this shit ain’t worth it 😂.

Everthing there is out there in 99% of the cases compiles against latest libraries. And well, LTS is just… lagging behind 🤷. So, you solve one lib dependcy and then, bam, another one pops up… OK, solved that one, bam, another one 😒… it just gets frustrating to compile stuff on LTS.

And then you get all sorts of errors from the package manager cuz you did the unthinkable - install latest libs on an LTS distro.

LTS is good for one thing only nowadays - servers.

NaoPb,

Interesting. I did not know about that. I’ll be sure to give rolling a try then.

Norgur,

Compiling starts to work rather well once you've done it a few times. Especially when you get more used to understanding what ./configure tries to tell you. You should really try to get behind that, since you Linux will

https://youtu.be/dQw4w9WgXcQ?si=E9Ftjm4FfMg6F2IU

NaoPb,

Allright. You’ve convinced me not to give up.

And that Rick Roll song perfectly sums up how I personally think of Linux. I will not be giving it up. And I will not be saying goodbye.

0x4E4F,

This has to be the best script message I’ve ever seen 😂.

Norgur,

Netgear WiFi USB drivers. Weren't good for much, but this one message was true as fuck!

FartsWithAnAccent, to linuxmemes in It's OK if you cry
@FartsWithAnAccent@lemmy.world avatar

Remember ndiswrapper?

0x4E4F,

Don’t remind me 😔…

Ooops,
@Ooops@kbin.social avatar

No, that buried deep in the box with suppressed memories. So thank you for reminding me.

umbrella, to linuxmemes in It's OK if you cry
@umbrella@lemmy.ml avatar

wifi drivers are fine nowadays

still have issues with some webcams tho

uis, to linuxmemes in It's OK if you cry
@uis@lemmy.world avatar

To be fair most wifi device manufacturers are bastards and don’t publicise manuals.

khannie,
@khannie@lemmy.world avatar

Fucking fuck realtek

Urist, (edited ) to linuxmemes in It's OK if you cry
@Urist@lemmy.ml avatar

LPT: Swapping Wifi modules is (sometimes at least) stupidly easy to do. I had a shitty

Trigger WarningRealtek wifi card

and bought an Intel card to replace it for about 30 bucks. Begone random disconnects and packet drops. Note that this was on a laptop and it was still just an issue of removing a few screws and swapping modules.

0x4E4F,

LPT - Line Print Terminal? 🤨

sapient_cogbag,
@sapient_cogbag@sh.itjust.works avatar

Life Pro Tip

NaoPb, to linuxmemes in It's OK if you cry

I still have issues with certain ASUS cards that simply crash the whole system when it gets too high a load or something. I’ve never been able to find a solution for it and I fear I never will.

0x4E4F,

Chipset?

NaoPb,

I just had a look. It’s the Asus PCE-N10. From what I can find they have the Realtek RTL8188CE chipset.

0x4E4F, (edited )

Yeah, Realtek WiFi cards are known to be problematic in Linux. Lan as well, but not to that extent.

Just swap the card with another one, no need to pull hair over it, it will most probably never work like it should.

NaoPb,

I’ve started using usb wifi adapters so I can easily swap them out if they don’t work. Looks less neat to me but it is what it is.

0x4E4F,

They have a very very limited range. I have used them, but only if the AP is in the same room, otherwise, they crap out.

PS: Everything’s built from reinforced concrete and cinderblocks/bricks around here (seismically active region), so we have trouble with all sorts of wireless signals, including WiFi and 3/4G. 5G is out of the question here. We do have the towers, but less than 1% of users actually use them.

mlg, to linuxmemes in It's OK if you cry
@mlg@lemmy.world avatar

akmod and dkms to the rescue so you can watch as your kernel fights with the hardware in real time

0x4E4F,

I just do lspci and install the adequate firmware 😂.

Synthead, to linuxmemes in It's OK if you cry

Every wireless adapter I’ve used in Linux for the last 10 years has worked flawlessly.

bjorney,

10 years ago was the turning point. I remember as late as 2010 -2012 having to use NDISwrapper to install the windows XP wifi drivers because there were no native drivers so you had to run the windows drivers through an emulation layer to get wifi to work. Even within the past 5 years I’ve had to compile my own fixes for realtek chips because the auto installed drivers were not working optimally

0x4E4F,

Yes, if it’s on 5 to 10 year old hardware.

Synthead,

I haven’t had any issues with new hardware, either.

TheMissingBit, to linuxmemes in It's OK if you cry

Lots of people saying this is an old problem , but I have a new IdeaPad I bought a few months ago and any non-rolling release distro I find, the wifi hardware isn’t detected.

Until just a few weeks ago I couldn’t find any solution. Fortunately I finally found a way to build the drivers, but it still requires me to tether my phone to get internet long enough to download the source.

So the problem might be better but it’s not the non-issue some people are pretending it is.

umbrella, (edited )
@umbrella@lemmy.ml avatar

generally speaking brand new hardware wont usually have proper support unless you are using newer versions of the kernel, thats not really limited to just wifi

0x4E4F,

Why not use LAN instead?

fallingcats,

Swap the module for an Intel one.

kala_telo, to linuxmemes in It's OK if you cry
@kala_telo@lemmy.blahaj.zone avatar

I think it very depends on your hardware. I, personally, never had problems with it, on thinkpad which I use right now WiFi drivers were out of box even in Gentoo minimal ISO(It uses iwlwifi). But, every hardware that I have is about 10yo. And I think I haven’t any non-intel WiFi-cards.

But also one of my friends had to compile drivers for his card manually from github, and second friend had issues with his WiFi constantly disconnecting which we couldn’t solve.

kala_telo,
@kala_telo@lemmy.blahaj.zone avatar

And also I never had nvidia chips, I have one very old from AMD, and other computers use just intel integrated graphic.

0x4E4F,

Yeah, I use whatever integrated I can get 😂. Don’t game, 2 monitors is more than enough for me, so 🤷 😂.

0x4E4F,

That might also be a general network drivers vs. kernel version problem as well. I’ve had that on some Ubuntu falvors on various cards, it isn’t specific to just wi-fi, it happened on lan as well (just disconnects for a few ms and then connects again).

And yeah, one of the many reasons why I usually buy second hand hardware as well. One, it’s a lot cheaper, two, drivers for Linux are usually not a problem 😁.

popekingjoe, to linuxmemes in It's OK if you cry
@popekingjoe@lemmy.world avatar

ndiswrapper flashbacks o_o

ace,
@ace@lemmy.ananace.dev avatar

Amusingly enough, one of the HP laptops I used in that era actually worked better with ndiswrapper somehow.

It was the only one to do so though.

popekingjoe,
@popekingjoe@lemmy.world avatar

Miracles happen I suppose. :D

ace,
@ace@lemmy.ananace.dev avatar

“It’s a ndiswrapper miracle!” - a statement only uttered by the completely deranged.

Sowhatever,

Debían 3.0… good times.

EpicFailGuy,
@EpicFailGuy@lemmy.world avatar

BROADCOM …

folkrav,

I thought I had completely erased this from my memory. Turns out I did not. I would thank you if it wasn’t such a traumatic experience.

popekingjoe,
@popekingjoe@lemmy.world avatar

I am so sorry.

maryjayjay,

You are a bad person

popekingjoe,
@popekingjoe@lemmy.world avatar

I accept this.

thequickben,

Oh no. My broadcom laptop chip from 2005 was a major pain in the ass and this did not help 😆

popekingjoe,
@popekingjoe@lemmy.world avatar

Yeah those were some dark times.

jkmooney, to linuxmemes in It's OK if you cry
@jkmooney@kbin.social avatar

The thing is, there's "iwd" and "wpa_supplicant". You use either one or the other, but not both. Sources like the Gentoo handbook will tell you that but, not all Wiki's do as good a job of pointing that out <...looking directly at you Arch...>.

backhdlp,
@backhdlp@lemmy.blahaj.zone avatar

I don’t understand anything to do with network configuration, I just install a few packages (iwd and wpa_supplicant included), start a few services, run a few commands, and hope it magically works after rebooting

jkmooney,
@jkmooney@kbin.social avatar

...although, to be fair, a lot of distro's just kinda sort it out for you.

0x4E4F,

I use Void BTW 😁.

JCreazy, to linuxmemes in It's OK if you cry

All my Wi-Fi just works on any machine I have Linux on. But yeah years ago this was not the case.

0x4E4F,

Agreed 👍.

DudeDudenson,

Now you get to struggle with audio drivers!

Chobbes,

Audio drivers have never really been a problem in my experience, but maybe you’re referring to pulseaudio? In which case, pipewire has been great!

DudeDudenson,

It works great until you try to use Bluetooth anything and need to connect and disconnect regularly (it can literally freeze your entire system), and don’t get me started with trying to get digital surround to work

pistapopper,

There’s this one Bluetooth speaker with a microphone that I have, that I had hoped to use for calls, that has just refused to work. Spent hours trying to get them to work but had to admit defeat. But yes, things have improved significantly.

ThisIsAManWhoKnowsHowToGling,
@ThisIsAManWhoKnowsHowToGling@lemmy.dbzer0.com avatar

Mine doesn’t work. Definitely linux’s fault that I destroyed its wifi giblets while moving my PC a bit too aggressively

hperrin, to linuxmemes in Every god damn time!

Ok, I don’t get it. Can you explain it to me?

0x4E4F,

Timeshift works only with BTRFS subvolumes, thus, if you wanna have backups (snapshots), you have to have subvolumes and not install in the root of a BTRFS filesystem 😔.

rostby,

Immutable distros rejoice 😎

0x4E4F,

Take way too much space… I dual boot on the same drive 🤷.

Turun,

If you want to you can just create a new subvolume, mount it temporarily and move all your files from root to there. Then you need to figure out how to make the new subvolume your root directory upon boot and you are done.

0x4E4F, (edited )

I know how to do that, you set the subvolume as the default one, thus, when mounting, if no options are passed, it always mounts that subvolume as root.

But, you have to disable that. Sure, I set it during install, cuz installers are stupid (if you tell it to install in /@, it will most probably moan), but disable it after first run (set the real root as the default subvol, i.e. mount point) and just add subvol mount options in fstab.

It’s just extra steps I have to do now 😒, that’s why the rant.

PrecisePangolin,

Thank you for sharing your knowledge.

eager_eagle,
@eager_eagle@lemmy.world avatar

That’s only to backup/rollback the root though, right? If one’s looking to backup - say - their home dir, they can just recreate the home as a subvolume without reinstalling the system. Or am I mistaken?

AnonStoleMyPants,

You can definitely do this with a few commands.

raldone01, (edited )

github.com/…/btrfs_folder_to_subvol.fish

Because I often forget to do it I wrote a little helper script.

This file can be run or sourced and only depends on btrfs-progs and fish.

0x4E4F,

Awww man, thanks ☺️.

Good thing I love fiish, it’s my default shell 😉.

0x4E4F,

Yes, you can just set it to mount a, let’s say @home, subvolume to /home and that’s that, done.

reflex, (edited )
@reflex@kbin.social avatar

Timeshift

Oh okey so if I have Snapper already, nothing I need to worry about?

valveman,

Snapper also uses btrfs subvolumes to create snapshots, so if you did create them during your installation process, nothing to worry about.

I don’t remember if there is a way to create them after the installation, neither if it’s a tough process tho. I used to simply reinstall when I messed up with the subvolumes.

backhdlp,
@backhdlp@lemmy.blahaj.zone avatar

sudo btrfs subvolumes create /path/to/subvolume

If you don’t configure anything, root will already be a subvolume.

If you wanna make a used directory a subvolume, you have to move the contents first, and move them back after creation.

The only thing that takes time here is the move

0x4E4F, (edited )

Yeah, but Timeshift uses the Ubuntu style subvolume naming, @ for root, @home for /home, so you have to create them that way, otherwise, it won’t work. It can work if you tell it to ignore home, but checks for @ as root on start up.

domi, (edited )
@domi@lemmy.secnd.me avatar

Check out Btrfs Assistant. It does what Timeshift does with a similar UI but works with any subvolume layout.

0x4E4F,

Hm, will check it out, thanks for the suggestion 😉.

backhdlp,
@backhdlp@lemmy.blahaj.zone avatar

Wasn’t aware of that, using snapper for my snapshotting needs.

0x4E4F, (edited )

I haven’t tried it. Does it have like daily, weekly, monthly snapshots setup?

backhdlp,
@backhdlp@lemmy.blahaj.zone avatar

You can have hourly, daily, weekly, monthly and yearly. I also use snap-pac to make snapshots before and after pacman transactions.

Check out wiki.archlinux.org/title/Snapper

akatsukilevi, to linuxmemes in It's OK if you cry
@akatsukilevi@kbin.social avatar

Am I supposed to have Wifi driver issues? My laptop's one always worked flawlessly without me having to even look at it

cholesterol,

Wi-Fi used to be a pretty common thing to not work out of the box or to break in updates. I kept a usb Wi-Fi dongle in a bag as a backup just because of this.

be_excellent_to_each_other,
@be_excellent_to_each_other@kbin.social avatar

It's a really simple problem to avoid, and IMO has been for years. It's been at least 10 years since I've bought something without intel wifi so maybe I'm out of touch, but I'm kind of astounded there are so many upvotes to the meme.

My rule for a very long time has been: Get something with intel wifi, or even atheros wifi, and you will almost certainly not have a problem. Get broadcom wifi and your problem will directly relate to how much effort your distro has put into trying to make broadcom not be shit. Stay the fuck way from realtek and mediatek.

That's it. I literally can't recall a time since about 2010 when I had a wifi problem with Linux on any device I owned.

I keep two of these in my bag for instant wifi on any device I might happen to be working on that doesn't have it. Most recently popped one into an old desktop I picked up for my youngest son, and have used it previously as a workaround for someone who had a laptop where the onboard wifi worked but would not come back from sleep. (That was broadcom, IIRC)

0x4E4F,

Trust me when I say this, that wasn’t always the case 😔.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20975616 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4210688 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 36