53
submitted 1 month ago by letbelight@lemmy.ml to c/linux@lemmy.ml

Hello, I just want to share here. Hopefully it's useful. Thanks

all 11 comments
sorted by: hot top controversial new old
[-] tills13@lemmy.world 3 points 1 month ago* (last edited 1 month ago)

Out of curiosity is there an analogous utility for if you are using networkd instead of NetworkManager?

Aside from parsing proc wireless...

[-] BaumGeist@lemmy.ml 2 points 1 month ago

iw dev <interface> station dump will show every metric about the connection, including the signal strength and average signal strength.

It won't show it as an ascii graphic as with nmcli, but it shouldn't be hard to create a wrapper script to grep that info and convert it to a simplified output if you're willing to put in the effort of understanding the dBm numbers.

E.g. -10 dBm is the maximum possible and -100 dBm is the minimum (for the 802.11 spec), but the scale is logarithmic so -90 dBm is 10x stronger than the absolute minimum needed for connectivity, and I can only get ~-20 dBm with my laptop touching the AP.

Basically my point is that the good ol' "bars" method of demonstrating connection strength was arbitrarily decided and isn't closely tied to connection quality. This way you get to decide what numbers you want to equate to a 100% connection.

[-] wallybeavis@lemmy.world 3 points 1 month ago

TiL. I'm going to have to play around with this, thank you!

[-] muhyb@programming.dev 1 points 1 month ago

I think I used to do that with wicd.

[-] h0bbl3s@lemmy.world 1 points 1 month ago

Thanks that's good to learn!

[-] xavier666@lemm.ee 0 points 1 month ago

It should be hobby, not hoby

[-] letbelight@lemmy.ml 4 points 1 month ago

Ah alright. 😂 Thanks for pointing out the mistake. Appreciate it.

[-] AnokLola@lemm.ee -2 points 1 month ago

Why don't you have an applet or something instead?

[-] leo85811nardo@lemmy.world 3 points 1 month ago

Because the machine could be headless so it can't display the applet to click on

[-] letbelight@lemmy.ml 1 points 1 month ago

It's as other said, headless. Sometimes I only need to check if the signal strength is alright, as I use that machine as servers and host several service on it.

this post was submitted on 11 Aug 2024
53 points (89.6% liked)

Linux

47210 readers
760 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS