Hello all

!
A long time ago I was trying to figure out how to get my sheevaplug to work via USB wireless. I managed to do this originally with a netgear WG111V2 (there's a thread about this here -
http://plugcomputer.org/plugforum/index.php?topic=624.0 ) . Eventually I replaced that adapter with an Alfa networks wireless adaptor which seemed to work better.
Unfortunatly though the idea to use the sheevaplug over wireless still isn't 100% . The original problem with the WG111V2 was that it would drop the connection (if it would even connect at all) plus it ran very warm. The alfa networks device (actually an alfa networks AWUS036H) works better but it is still extremely prone to random disconnects and dropout. In fact I eventually ended up (with help) writing a script like this;
#!/bin/sh
#
# Tidied up script which checks if the sheevaplug is conencted, if it isn't
# then a connection is made for five attempts, and if it fails on the fifth
# go then the sheevaplug is reset.
#
# Uses a file called "count.var" to store the variable count into a file
#
# First check to see if the file count.var exists, and if not - make it!
if [ -e "count.var" ]
then
: # The file exists, so no need for any action
else
echo 0 > count.var # No file, so put 0 into the file count.var
fi
# Read count.var and put it into variable count
count=`cat count.var`
# Check to see if the connection has been lost
if=wlan0
if iwconfig $if | grep -q Not-Associated ;
then
: # Uh oh, lost connection so ....
else
count=0 # We're connected so set count to 0
rm count.var # Get rid of count.var
exit
fi
# Since we're not connected carry on....
# Has the counter reached 5 yet? If so, reboot.
if [ $count -eq 5 ] then
count=0 # Set counter to 0
rm count.var # Get rid of count.var
shutdown -r now # Not connected :-( so restart sheevaplug
exit
fi
# Counter hasn't gotten to 5 yet, so add 1 to count
count=$(($count +1))
# Save it to count.var
echo $count > count.var
# And try to reconnect ....
iwconfig $if ap auto
....because it drops out and disconnects so much. Pinging it also shows it is missing pings as well! So does anyone here know of a good stable usb wireless device that will work with the sheeva without all the dropout and disconnects?
Also one more thing -- I use the service noip and in order for it to function a small program ( noip-2.1.9-1 ,
http://www.no-ip.com/downloads.php ) is needed to make it work. I can compile this to run ok on a normal PC but does anyone have a version compiled for the sheevaplug at all?
BTW I have enclosed a (pretty crude!) diagram showing how I am hooking all this up together.
thanks
ljones