Been searching the forum but, have not been able to find what I am looking for. Is there a basic setup guide or some documentation for setting up WD on Linux, specifically the Raspberry Pi? Step 1 do this, step 2 do this etc. Any information would be helpful.
1.2.2 modify in the downloaded folder libhid/test/lshid.c line 41
Reads now: len = ((unsigned long)custom);
modify that one line and add the extra two lines: //len = ((unsigned long)custom);
len = len;
custom = custom;
1.2.3 When you are in that folder in a terminal window sudo ./configure && make
at the end you will get an error 2 in the make part, ignore that sudo make install
this finishes without errors
1.3.2 in a terminal-window go into that folder and type sudo ./configure --prefix=/usr --disable-static && make
at the end you will get an error 1, ignore those sudo make install
this finishes without errors
2.3 modify the text file config.txt in the unzipped folder with your settings
2.4 and copy the consolewdfiles folder to your pi folder on the RaspberryPI
Do not read or use the readme.txt when it is dated in the past.
So do not try to use sudo ./GoWdconsole.sh
2.3 Set all rights of the consolewdfiles folder to 777 including all of its its contents
2.4 copy all files from the consolewdfiles/deploy to the systemfolders
go into the consolewdfiles/deploy folder in your terminal window and type sudo cp *.so /usr/lib/
sudo cp *.so /usr/local/lib/
2.6 start consolewd by typing sudo ./consolewd
errors which may pop up Missing libhid.so.0
In the deploy folder simply copy libhid.so.0.0 to libhid.so.0 and do step 2.4 again
At least this list (got it from Raspi), tested it a few times for writing an instruction in Dutch, works for me.
Thanks, just tried this today on My Pi which has been doing nothing but gathering dust for the last few months. The guide is excellent and everything works pretty much as it should.
I have problems with the directory structures,
As i have /public_html on my server. I have done:
Do clientraw FTP=Y //(set to Y for yes, N for no), uploads every 1 minute
FTP server=hetweerindiemen.nl
FTP username=“username”
FTP password=“password”
FTP port=21 //default is 21
FTP remote dir=/public_html/voorpagina/
FTP remote dir wx.html=/public_html/voorpagina/
FTP remote dir wx2.html=/public_html/
FTP use passive=Y //(set to Y for yes, N for no)
FTP use remote file rename= //Write here the remote name: NOTE that not all FTP servers allow remote file rename"
FTP time interval=60 //the interval between two upload of the clientraw.txt and custom file
Save logfile=Y //to save the .txt logfile (set to N to save on disk space)
Logfile metric=Y
Create custom file=Y //converts the custom tags in a file called wxlocal.html to wx.html
Use this filename instead of wx.html=testtags.php
Use this filename instead of wx2.html=customtextout10.txt
Even tried ./public_html/ I only get clientdraw.txt and it is placed on top (above /public_html/
Had a chat with my domain provider, They had an issue with the security of my php files, now i get everything exept customtextoud10.txt that also is writing to /voorpagina but should go to the home directory. But that is not a big problem.
There is also a image available for use with the first raspberry B and the B+ So not (yet) for the 2.
The pdf is at: http://www.weerstation-leuven.be/CW-image-install-english.pdf
In the pdf is the download link.
md5 in the pdf is not updated
The download versions name = 2 but contains the latest (4) version. Although that is not important because those discussions are lost forever.
How would I go about configuring the config.txt ? since I don’t want to FTP the clientraw to a server, instead just copying from /home/pi/consolewdfiles/clientraw.txt to /var/www/weather28/uploadCW/ (when using Leuven-Template 2.8 for example)
Ive seen config.txt with this text, will that work? :
copy clientraw/customclient raw to this directory=/var/www/weather28/uploadCW/
copy datafiles to this directory=
copy logfiles to this directory=
or… maybe even better (to help reduce the number of read/write on the SD-card), if you could specify the path in which to create the original clientraw.txt file… is there a setting for that in config.txt ?
or… can you create a symbolic link in the /var/www/weather28/uploadCW/ that points to the /home/pi/consolewdfiles/clientraw.txt ?