Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Wireless link quality monitor, simple bash script< Next Oldest | Next Newest >
Modrak Offline





Group: Members
Posts: 189
Joined: Dec. 2003
Posted: Feb. 22 2004,21:04 QUOTE

Here it comes

wifimon.sh
Code Sample

#!/bin/bash
while true; do
q=`iwconfig eth0 | grep Link | awk '{print $2}' | sed 's#Quality:##g' | sed 's#/92##g'`
j=$((q / 2))
echo -n "$q "
for i in `seq $j`;do echo -n "="; done
echo ""
sleep 1
done


Every 1 sec. it does something like this
Code Sample

18 =========
24 ============
26 =============
22 ===========
30 ===============
22 ===========
22 ===========
22 ===========
18 =========
28 ==============

As you can see...the link Quality isn't very good

2John...it's small so why don't add it to 0.6.1 (I'm also working on swap script in perl)
Back to top
Profile PM 
TyphoonMentat Offline





Group: Members
Posts: 183
Joined: Oct. 2003
Posted: Feb. 22 2004,21:52 QUOTE

Or wavemon is a possibility - it's a small wireless link monitor.
Back to top
Profile PM 
hasty Offline





Group: Members
Posts: 280
Joined: Oct. 2003
Posted: Feb. 22 2004,22:12 QUOTE

Damn - I'm going to have to grab the netgear from upstairs and try this out

I'm afraid this distro is getting like all the others.

Theres so much you can tinker with that I'm never going to get any work done :D
Back to top
Profile PM 
Modrak Offline





Group: Members
Posts: 189
Joined: Dec. 2003
Posted: Feb. 23 2004,21:13 QUOTE

http://sweb.cz/bill.gates.2004/wifimon.sh

2hasty:What 'bout yo'r netgar ?
Back to top
Profile PM 
hasty Offline





Group: Members
Posts: 280
Joined: Oct. 2003
Posted: Feb. 24 2004,18:46 QUOTE

Quick try with a netgear ma101 did'nt work but didn't have time to fiddle.

A friend arrived with his laptop because his 14 yr old daughter couldn't get on hotmail..doh.
Quick upgrade to ie5.5 (i know its older, so's his laptop) and all solved.
I'm officially a genius :laugh:

Will have another go at the w/e, but it's really only playing as I don't really need it.
More out of curiosity.......
Back to top
Profile PM 
4 replies since Feb. 22 2004,21:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Wireless link quality monitor

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code