Hi, thanks a lot for the very detailed guide. I managed to get my weewx up 
on my ds411+ii (intel-based), though just tested the simulator station.
I already have my weewx operating on my Android-turn-to-ubuntu tv box. My 
questions are:
- how do I transfer all my setup, including all extensions, to the 
Synology. I'm not sure which folders on Synology I should copy to.

Thank you.

On Thursday, 27 November 2014 20:48:42 UTC+7, Lucas Heijst wrote:
>
> To all Synology users: 
>
> The synology (ds209+ii) NAS has a python 2.7 package. I was not able to 
> get the required packages for weewx installed without getting compilation 
> errors.
> At last I found a way to install everything succesfully including proper 
> system logging and an automatic startup of weewx after a system boot.
>
> Note: The description below starts with a backup of an earlier installed 
> weewx version. You can skip the backup and restore actions when you install 
> weewx for the first time.
>
> Luc
>
> # note: the actions below are done in a putty session with user root
> # delete old ipkg installation (not weewx)
> rm -rf /volume1/@optware
> rm -rf /usr/lib/ipkg
>
> # backup current weewx version (in /home/weewx)
> # note: I made a share "linux" on my disk station on volume 1. This share 
> can be seen from Windows via a network share to 'linux', e,g. t:/0/weewx
> mkdir /home
> cp -rf /volume1/linux/0/weewx  /home/
>
> # install ipkg
> cd /volume1/linux/0
> wget 
> http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/syno-e500-bootstrap_1.2-7_powerpc.xsh
> sh syno-e500-bootstrap_1.2-7_powerpc.xsh 
>
> # find path to mysqladmin
> cd /
> find -name mysqladmin
> ./usr/syno/mysql/bin/mysqladmin
>
> # boot diskstation to make syslog.deny active
>
> # start a putty session with user root
> ipkg update
> ipkg upgrade
> ipkg install py26-setuptools
> # note: this command installs also pyton 2.6
>
> ipkg install py26-configobj
>
> ipkg install py26-cheetah
>
> ipkg install py26-pil
>
> ipkg install py25-usb
> …...
>

Reply via email to