I use my PDA in client mode to connect to an access point, but Idon't have a particularly good signal quality and I often need to readjust the position of the PDA and its antenna. Unfortunately mycomputer is not in sight of the PDA and I had to keep going backwardsand forwards from my computer to the laptop making adjustments thenchecking the signal strength on the screen of my computer. This cantake ages to to set up properly, so I decided to get my computer to usethe "festival" speech synthesis program to tell me what the currentsignal level is.
Now I just run this script and turn up the volume on my computer when I need to move the antenna.
Thanks...
#! /bin/bash
# Use "festival" to say out loud how much signal strength we have
# The IP address of the PDA
ip_addr="192.168.1.1"
# The username and password for the PDA
This works by using the same process as the 'Status-->Wireless'page i.e. it gets a chunk of data by wget'ing theStatus_Wireless.live.asp page from the PDA then running awk to get therelevant chunk of data (the signal strength) and then piping that intothe festival speech engine.user="root"
pass="admin"
DOWNLOAD FULL SCRIPT
fi
done
Now I just run this script and turn up the volume on my computer when I need to move the antenna.
Thanks...
Saturday, January 08, 2011
Anu
