Is there an app to determine wifi strength or speed?

Message
Author
Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

#21 Post by Wognath »

I take it the the "%" should be read watts RMS?
it's signal quality on a scale from 0 to 70.

EDIT:

Code: Select all

# iwconfig wlan0 | grep -i quality
          Link Quality=55/70  Signal level=-55 dBm
I don't know how it's calculated...The tooltip in wifitray maxes out at 70%
Last edited by Wognath on Sat 25 Jan 2014, 20:24, edited 2 times in total.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#22 Post by mikeb »

milliwatts maybe or a figure of signal density/quality in some decibel based unit at a guess

Watts rms would grab the attention of the FCC and would provide wifi in the next town. :)

Perhaps its a figure of how much it warms the kids up


mike

Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

Correction: signal quality

#23 Post by Wognath »

from iwconfig man page:
Link quality
Overall quality of the link. May be based on the level of contention or interference, the bit or frame error rate, how good the received signal is, some timing synchronisation, or other hardware metric. This is an aggregate value, and depends totally on the driver and hardware.

wifitray reads /proc/net/wireless which appears to give the same signal quality and signal level numbers. At least on my machine, it reports numbers from 0 to 70.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#24 Post by mikeb »

hmm so who came up with 70 ??.... well older and slightly wiser

mike

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

for woof-ce pups only....

#25 Post by peebee »

The attached pet is ONLY for use on 32-bit woof-ce puppies - i.e. as of now Slacko 5.6.5.2

It:
- uses stock woof-ce svg icons
- installs into /root/.config/autostart - NOT /root/Startup
- calculates % strength based on 70 max

Cheers
peebee
Attachments
wifitray-0.3alpha-lx.pet
(6.33 KiB) Downloaded 333 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

Link quality vs. dB

#26 Post by Wognath »

Too much free time! :D (data from iwconfig)
Attachments
Signal_quality.png
(14.33 KiB) Downloaded 693 times

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#27 Post by Ted Dog »

once during a regional emergency my pop cranked his ham radio to highest international limit minus a few hundred watts... The Tower tip and isolation tie down parts where glowing red.. sounded like a bug zapper. Was the only thing people could get on radios for blocks... :lol:
Second time I was at summer camp and heard my dad on the Army heliocopter radio 60 miles away. there is a famous Texas song called TEXAS flood based on that event. oh the Army heliocopter was dropping off generators at the water blocked camp we where stuck.
Could not convinced the army guys to let me talk to him on the emergency radio. :cry:

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Tweaked c code

#28 Post by peebee »

amigo asked me to post the amended c code

I didn't keep the code for the 1st version

but the only change was to make it open defaultconnect on line 72

the amended code for the woof-ce version is attached - remove the false .gz
Attachments
lamewifitray.c.gz
remove false .gz
(5.82 KiB) Downloaded 281 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

Another wifi-tray/logger script

#29 Post by Wognath »

Edited 5/2/14 to include only script + icons
Edited to use Jan 2013 revision of sit

I am in the trial period with a new ISP, so I made a script that checks internet connection as well as wifi quality, inserts an icon in the tray and logs the results. I hope this is useful to someone, but it may need to be adapted, depending on the output of iwconfig on your system.

The tray icon requires technosaurus' sit binary: http://www.murga-linux.com/puppy/viewtopic.php?t=76431, included in Fatdog.
The icons should be in /usr/share/wifi-icons. The quality cutoffs for the icons are arbitrary, but make sense to me.

The script will work as is if $(iwconfig wlan0 | grep Link) reads "Link Quality=65/70..." Otherwise it will need to be modified to extract out that quality number. (iwconfig output is device dependent, according to man page)

The log file records wifi quality from 0-7 or "-" for no wifi, or "_" for no internet, lines 19 & 41.

To test internet connection the script pings google.com.
Attachments
wlan_tray.tar.gz
(20.37 KiB) Downloaded 209 times

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Is there an app to determine wifi strength or speed?

#30 Post by Sky Aisling »

@mikeb

Hello mikeb, :)

I've downloaded wifi tray program into Precise Puppy-571.

I get no joy when I clickup wifitray.

Do I have it in the right directory?
Attachments
wifitray-mikeb1.png
(61.99 KiB) Downloaded 325 times

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#31 Post by mikeb »

Ah yes...well it was not a complete project as such ...I just grabbed it to demonstrate.... if you srcoll further down you will find the icons I forgot to include.... :oops:

Otherwise one of the other posters offerings might be useful.

mike

Post Reply