Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 06:59
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Is there an app to determine wifi strength or speed?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
mikeslr


Joined: 16 Jun 2008
Posts: 776
Location: Union New Jersey USA

PostPosted: Thu 23 Jan 2014, 09:26    Post_subject: Thanks  

Hi mikeb,

I forgot about this thread. Been experimenting with video, so wasn't looking for things in general to read.

Thank you and patriot for the app.

In the basement, two floors below the router, I get "56%" in Slacko 5.6 and raring 3.9.9.2 both with frisbee. I'll add comparisons as I switch to other pups.

I take it the the "%" should be read watts RMS?

mikesLr
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8213

PostPosted: Thu 23 Jan 2014, 10:08    Post_subject:  

patriot is yer man.... Just call me 'Friendly Fire' Wink associate member of the sidekicks union.

mike
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2491
Location: New Zealand

PostPosted: Thu 23 Jan 2014, 20:31    Post_subject: Re: Is there an app to determine wifi strength or speed?
Sub_title: (Solved)
 

mikeslr wrote:
I have a strong feeling that recent pups --precise, slacko, but especially raring-- although they enable an internet connection via wifi, do not work as efficiently as Lupu.

Hi Mike, I have experienced variable wifi connection strengths between different puppies, and wonder if it is something to do with the firmware, or the way the wifi interface is initialized.

I tried to explain my results recently in another thread:
http://murga-linux.com/puppy/viewtopic.php?p=751488#751488
Interested to know if you see the same effect I do...
Back to top
View user's profile Send_private_message 
peebee


Joined: 21 Sep 2008
Posts: 1393
Location: Malvern, Worcs, UK

PostPosted: Sat 25 Jan 2014, 13:19    Post_subject:  

Changed the right click action to call defaultconnect - recompiled - made a pet to put it into /root/Startup instead of /usr/bin so it starts automatically.

Seems to work OK on Slacko5.6.5.2 (actually LxPup derivative)....mainly shows the yellow medium strength for me although I have seen it turn red but not yet green Sad

Cheers
peebee
wifitray-0.3alpha.pet
Description 
pet

 Download 
Filename  wifitray-0.3alpha.pet 
Filesize  9.9 KB 
Downloaded  127 Time(s) 

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8213

PostPosted: Sat 25 Jan 2014, 13:22    Post_subject:  

Yes handy little app..

Something that always seemed to be absent in linux land.

mike
Back to top
View user's profile Send_private_message 
Wognath

Joined: 19 Apr 2009
Posts: 169

PostPosted: Sat 25 Jan 2014, 14:31    Post_subject:  

Quote:
I take it the the "%" should be read watts RMS?

it's signal quality on a scale from 0 to 70.

EDIT:
Code:
# 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%

Edited_times_total
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8213

PostPosted: Sat 25 Jan 2014, 15:40    Post_subject:  

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. Smile

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


mike
Back to top
View user's profile Send_private_message 
Wognath

Joined: 19 Apr 2009
Posts: 169

PostPosted: Mon 27 Jan 2014, 16:00    Post_subject: Correction: signal quality  

from iwconfig man page:
Quote:
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.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8213

PostPosted: Mon 27 Jan 2014, 17:56    Post_subject:  

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

mike
Back to top
View user's profile Send_private_message 
peebee


Joined: 21 Sep 2008
Posts: 1393
Location: Malvern, Worcs, UK

PostPosted: Tue 28 Jan 2014, 09:52    Post_subject: for woof-ce pups only....  

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
wifitray-0.3alpha-lx.pet
Description 
pet

 Download 
Filename  wifitray-0.3alpha-lx.pet 
Filesize  6.33 KB 
Downloaded  84 Time(s) 

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send_private_message 
Wognath

Joined: 19 Apr 2009
Posts: 169

PostPosted: Tue 28 Jan 2014, 18:35    Post_subject: Link quality vs. dB  

Too much free time! Very Happy (data from iwconfig)
Signal_quality.png
 Description   
 Filesize   14.33 KB
 Viewed   287 Time(s)

Signal_quality.png

Back to top
View user's profile Send_private_message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2313
Location: Heart of Texas

PostPosted: Tue 28 Jan 2014, 18:57    Post_subject:  

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... Laughing
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. Crying or Very sad
Back to top
View user's profile Send_private_message 
peebee


Joined: 21 Sep 2008
Posts: 1393
Location: Malvern, Worcs, UK

PostPosted: Thu 30 Jan 2014, 16:23    Post_subject: Tweaked c code  

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
lamewifitray.c.gz
Description  remove false .gz
gz

 Download 
Filename  lamewifitray.c.gz 
Filesize  5.82 KB 
Downloaded  82 Time(s) 

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send_private_message 
Wognath

Joined: 19 Apr 2009
Posts: 169

PostPosted: Tue 29 Apr 2014, 15:33    Post_subject: Another wifi-tray/logger script  

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.
wlan_tray.tar.gz
Description 
gz

 Download 
Filename  wlan_tray.tar.gz 
Filesize  20.37 KB 
Downloaded  13 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0763s ][ Queries: 13 (0.0048s) ][ GZIP on ]