Synology DS-101 station and nslu packages
I have 2 Synology NAS Stations which I use for Backup. On the one box, a passive cooled DS-101 (IPX420 processor) I have activated the telnet service (see below and nslu2 project and installed the optware as described also below. This box is my always on Linux home server which provides services like dyndns updates, subversion, backup services, databases, and so on. The other Box is a DS-101j and is still in its original state for using it as a second and fail back backup space.
In the following section I will describe how to to install a useful environment on the DS-101 as it works on 22-12-2006, cause some available notes on the internet are outdated with the newest Firmware of Synology.
In the section below the install procedure I will describe how to activate the subversion service and include some useful but missing packages for the DS-101 ARM architecture (I'm not an unloader of the original stream ...).
Install new DS-101 with newest Firmware and Optware
1) Download the newest Firmware for the DS-101 from Synology (see also www.synology.com/enu/support/releaseNote/DS101.php)
2) Update the firmware on your Synology Box (DS-101) (see also www.synology.com/enu/support/help-page.php?q_id=302)
3) Restart your Synology box.
- Activate wished services
- web
- php
4) Use script and updating process to activate telnet:
www.nslu2-linux.org/wiki/DS101/EnableTelnet
At my station only the way with "Alternate Way To Gain Telnet Access"
has been working. The updater file which is activating the telnet
access is available
here.
5) With the NAS Webfrontend add a user account with write permissions to all exports.
6) Bootstrap optware / ipkg: www.nslu2-linux.org/wiki/DS101/DS101BootStrap
For Bootstrap use <em>ds101-bootstrap_0.1-8_armeb.xsh</em>
(the ds101-bootstrap_1.0-4_armeb.xsh was not working here).<br />
==> now optware and /opt is installed </p>
7) if necessary fix the broken installation:
see also
During installation the following error occurs:
Installing OpenSSL... /opt/bin/ipkg: /lib/ld-linux.so.2: version `GLIBC_2.1.1' not found (required by /opt/lib/libc.so.6) /opt/bin/ipkg: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by /opt/lib/libc.so.6) /opt/bin/ipkg: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by /opt/lib/libc.so.6)
Solution:
manual installation of openssl and wget-ssl
- download the 2 files and place them in the public repository on your
Synology NAS:
- openssl_0.9.7d-5_armeb.ipk
- wget-ssl_1.10.2-2_armeb.ipk
- open a telnet session to your synology
- remove the libraries which gives conflicts:
> rm /opt/lib/libc* - install the packages by hand:
> cd /volume1/public > ipkg install openssl_0.9.7d-5_armeb.ipk > ipkg install wget-ssl_1.10.2-2_armeb.ipk - remove now the libaries which are in /lib and in /opt/lib
8) edit /etc/passwd for your useraccount
9) install useful packages:
- joe (I like jmacs)
> ipkg install joe - smartmontools (if your disk is "SMART able")
> ipkg install smartmontools
( - openssh
> ipkg install openssh - less
> ipkg install less - rsync > ipkg install rsync
Self Builded Packages for the DS-101
Usually when I don't use a version control system I'm always searching for files and information after a while. Even I have subversion service(s) for larger projects on our main-server I like to have also an in house subversion server at home for tests and software development at home. So it was rather a question when I build a subversion package for the DS-101, rather than if I should build it at all. The svnserve service is still enough in a one-switch environment so I build this service with the necessary dependencies.
hardliback a backup tool developed by Tobi Oetiker. Hardliback needs a real and full-featured perl so I build the perl package to:
- apr-util_0.9.13-2_armeb.ipk
- apr_0.9.13-3_armeb.ipk
- cyrus-sasl-libs_2.1.22-1_armeb.ipk
- cyrus-sasl_2.1.22-1_armeb.ipk
- gdbm_1.8.3-2_armeb.ipk
- libdb_4.2.52-3_armeb.ipk
- libxml2_2.6.27-2_armeb.ipk
- neon_0.24.7-1_armeb.ipk
- openldap-libs_2.3.27-4_armeb.ipk
- openldap_2.3.27-4_armeb.ipk
- openssl_0.9.7l-3_armeb.ipk
- perl_5.8.8-12_armeb.ipk
- svn_1.4.2-1_armeb.ipk
- zlib_1.2.3-1_armeb.ipk
You can download this packages through: ipkg packages for DS-101
or include my Package stream into your ipkg configuration: add Packages to your ipkg system:
create a file /opt/etc/ipkg/roman_plessl-feed.conf with the following contents (one line):
src/gz cross http://roman.plessl.info/projects/synlogy/nslu/