Sida 2 av 2

Postat: 07 feb 2008, 01:57
av Plutonium
Johan skrev:Det verkar som om jag har stött på patrull :(

johan@bubba:~/wdisplay$ ./GoWeather.sh
./GoWeather.sh: line 20: ./WeatherD: cannot execute binary file

blir det när jag ska starta den och jag har 777 på den vad jag vet iallafall.
Vad står det på rad 20 i .sh filen?

Postat: 07 feb 2008, 07:55
av Johan
********System Requirements**************
The following are known requirements and a variety of Linux distributions that Weather Display Linux is known to run on. However, this doesn't mean that it won't work on any untested systems(OpenBSD, FreeBSD, NetBSD, Solaris, etc...)
*X windows running maby this ????
*Supported Weather Station(all supported in the windows version http://www.weather-display.com/supported.php except Dallas One Wire should work.)
* at least 30 mb of RAM
* 50 mb of hardrive space for system files, more for log files(about 150mb for every year of data).
* Log files, datafiles, and webfiles from the windows version can be copied and pasted into the Weather Display Linux and used as normal.
*Known (tried!) Working Distributions:
Slackware 10.0
Slackware 9.1
Mandrake 9.1
Mandrake 9.2
Debian Testing
Debian Stable (does require installation of libc6)
Fedora Core 1
Susie 8.2
Susie 9.1
Red Hat 9.0
The biggest problem with the weather-display software is that it is compiled and only run on X86 machinnes such as PCs. Bubba runs on an Arm CPU and cannot execute this application.

Then the X-part is also a problem. But that actually can be solved. Even though its not practical to do so.

Postat: 07 feb 2008, 18:53
av Benke
Rad 20 startar WeatherD som också ska ges rättigheterna 777.
Går den filen inte att köra kan det bero på att du inte har rättigheterna.
Det är WeatherD som är det egentliga programmet. GoWeather.sh är bara ett
script som kollar att du inte är root när du startar WD. Det är farligt att låta
root göra sådant.

Glöm inte att ge rättigheter till serieporten.
kolla http://www.weather-display.com/wdlinuxhelp.doc

Vet inte om jag sagt det, men jag startade WD i min server, men kablen blev för lång
med störningar som följd. Men WD startade som det skulle.

Ge inte upp! :wink: Problen är till för att lösas.

Re: Logga data från WMR100 Oregon Scientific?

Postat: 18 dec 2008, 23:14
av airBÄGen
Det verkar vara problem att få WD att fungera på BUBBA. Tänkte höra om nån har erfarenhet av efterföljaren, BUBBA TWO. Går det att köra WD eller något annat program för att spara ner väderdata i en MySQL-databas?

Överväger att köpa en BUBBA TWO, men om det inte går att koppla till väderstationen så får nog pengarna gå till något annat.