Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

NotAnArdvark, to linux in Where can I ask questions about iproute2 tools?

I really appreciate this, thank you. I think I had confused myself by playing with ‘u16’ and ‘u8’ and somehow coming to the conclusion that they were matching the right side of a 32-bit string. (Which may still be true, but, I’m just masking u32s now).

This is what I ended up with, which is working the way I’d expect:


<span style="color:#323232;">tc filter add dev wlan0 protocol ip parent 1: prio 1 u32 
</span><span style="color:#323232;">	match u32 0x30d6 0x0000ffff at -16 
</span><span style="color:#323232;">	match u32 0xc92d1905 0xffffffff at -12 flowid 1:20
</span>

This sends Ethernet frames destined for 30:d6:c9:2d:19:05 to flow 1:20, and it doesn’t seem to match a second device I tested. So, all good! Thank you again.

NotAnArdvark, to linux in As a normal, boring user that does nothing special other than browse the internet and the occasional "casual coding" -- what am I supposed to do with 32GiB of ram?

Here’s a little script I’ve put in my $PATH, called memsum:


<span style="font-style:italic;color:#969896;">#!/usr/bin/bash
</span><span style="color:#323232;">/usr/bin/ps -eo rss,command --sort -rss </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">egrep $1 </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">awk </span><span style="color:#183691;">'{ hr=$1/1024 ; sum +=hr} END {print sum}'
</span>

Now you can go: memsum firefox or memsum whatever and see that, actually, apps use a ridiculous amount of memory these days.

I can get Firefox up to 8GB by using things like Office 365.

NotAnArdvark, to linux in 13" or smaller Linux laptop - best replacement for aging chromebook?

Oooh, don’t do the Pinebook Pro. I think anything Pine64 isn’t unsuitable for a non-tinkerer to be using. Also, if there’s DRM content involved (unsure on Hulu), you’ll probably want to stick with an x86 CPU.

NotAnArdvark, to linux in Best practices in mounting NAS shares?

Agreed on the latency issues. I tested SMB and NFS once and found them to be pretty much the same in that regard.

I’m interested to test iSCSI, as for some reason I think it might be better designed for latency.

NotAnArdvark, to linux in Best practices in mounting NAS shares?

I’ve found that Dolphin, at least, is much slower with network mounts than a CLI-based “mount”.

NotAnArdvark, to linux in Preparing to move from Ubuntu to Fedora

Are you leaving behind the dotfiles because you don’t want to bring over any of your old configuration?

For whatever it’s worth, you can remove Snap support from your Ubuntu system. If you want more current software, AppImage and Flatpaks are good for that.

NotAnArdvark, to asklemmy in What app do you use for Mastodon?

I find the mobile interface (the browser) to be really good, at least in comparison to Lemmy.

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