Given your comment of not having much time, I believe you want WDisplay. This is the package of software with the graphs.
WDconsole can be used to simply poll a select number of weather stations and create a raw data file. This data file can be shared by other WDconsole applications. In short, it allows you to setup a single server' (if you will) with multiple clients’ (WDisplay).
You should be warned the WDisplay software is extremely buggy. I would believe it’s fair to say Brian is in Alpha with this port.
I have to inline my `GoWeather.sh’ script since the board doesn’t allow me to attach it - Brian, perhaps this is something you can fix?
# Function to establish user id of current user.
# We call this function later on to test if they are ROOT and fail if they are.
id $1 | sed -e 's/(.*$//' -e 's/^uid=//'
# Test if user is root and deny access if they are.
# It is not a good idea to be running software as root.
if [ "`getUID`" = 0 ] ; then
echo "ERROR: You can't run this as ROOT. Change to another user and try again.";
# End of User test.
# setup the path to inlcude our directory
# If we made it this far we mustn't be root.
# Just set the library path.
# Then run the program.
Chris (admin) would be the person to talk to about that
so i still do have the updated needed .sh file?
I will update it to this
the other solution is to change to root in the terminal and then copy the library files from the deploy folder to /usr/lib/
(then enter password)
then cd to the deploy folder
cp lib*.* /usr/lib/
Thanks for all the suggestions. I tried Brian’s suggestion to copy the contents of the deploy folder to /usr/lib (while logged in under su). When I tried to run the ./GoWeather.sh script I got the same error message, that is, “error while loading shared libraries: libusbdll.so: cannot open shared object file: no such file or directory”.
I should note that I do not find a file with the name libusbdll.so in my deploy folder. Could it be possible that I don’t have the correct file? Did I make a mistake in the installation?
Pablo, thank you for sending the GoWeather.sh file but I don’t know what to do with it. Are you suggesting that I replace my existing GoWeather.sh file with the script you sent and try running that?
Coyote, I am running Xandros on a recently purchased eeePC from Asus. I know, its not a powerful machine but its actually remarkably capable. One thing I noticed that is different from the other versions of Linux that I’ve read other people post: The wdisplay directory and WeatherD.tar.gz were downloaded to “My Documents” directory. The full path is /home/user/My Documents. Don’t know if that makes any difference.
No. The libusbdll.so file is not in the deploy folder that I have. The deploy folder appeared automatically after I downloaded WeatherD.tar.gz so I assume it came when I downloaded that compressed file.
I’ve been somewhat staying away because I think `too many chefs spoils the meal’ … …
Let’s do this … first off, please undo the copying of the library files into /usr/lib. That’s a bad practice because on a re-install, you’ll lose those changes. Personally, I believe any files placed in /usr/lib should be handled via .rpm’s.
Get your system back to the way it was before you installed the software.
Once you’ve undone the previous suggestions/effort, unzip the bits into any directory of your choosing. Do not do this as `root’ (not sudo).
After unzip’ing cd to the directory and type the following and post the results:
find . -print
Next, please type `file GoWeather.sh’ and post the results of this too.
And finally, phew, type and post the results of the following: