Install on a Synology DS214play
Posted: Sun Dec 14, 2014 4:32 pm
hi, i want to install the softether VPN server on my Synology DS214play. follow on some tips on the internet i have done this steps:
first, check the CPU and DSM version: DS214play
- x86-32
- Intel Atom CE5335 (2C/4T)
- 1.6GHz
SSH login via "root" and install IPKG
# cat /etc.defaults/VERSION
> majorversion="5"
> minorversion="1"
> buildphase="release"
> buildnumber="5004"
> smallfixnumber=2
> builddate=2014/11/29
> buildtime="15:23:37"
# cd /root
# wget http://ipkg.nslu2-linux.org/feeds/optwa ... 7_i686.xsh
# sh syno-i686-bootstrap_1.2-7_i686.xsh
# vi /root/.profile
=> disable the following lines with a "#"
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
> export PATH
# reboot
after reboot, update ipkg:
# ipkg update
and now install some libs:
# ipkg install make
# ipkg install binutils
# ipkg install gcc
# ipkg install glib
# ipkg install zlib
# ipkg install openssl
# ipkg install ncurses
based on a thread, it also needed to install "deadline" (cent os ?), but for IPKG there is no package available for "deadline"...
now add gconv to the enviroments:
# export GCONV_PATH="/volume1/@optware/lib/gconv"
at this point, i will try to install softether server. Download and extract:
# wget http://www.softether-download.com/files ... bit.tar.gz
# tar -xvzf softether-vpnserver-v4.12-9514-beta-2014.11.17-linux-x86-32bit.tar.gz
# cd vpnserver
# pwd
> /root/vpnserver
now the install:
# sh .install.sh
after the license questions i get this output:
=============== OUTPUT START ===============
Preparing SoftEther VPN Server...
ranlib lib/libcharset.a
ranlib lib/libcrypto.a
ranlib lib/libedit.a
ranlib lib/libiconv.a
ranlib lib/libintelaes.a
ranlib lib/libncurses.a
ranlib lib/libssl.a
ranlib lib/libz.a
ranlib code/vpnserver.a
gcc code/vpnserver.a -O2 -fsigned-char -pthread -m32 -lm -ldl -lrt -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a lib/libintelaes.a -o vpnserver
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/librt.so: undefined reference to `__librt_enable_asynccancel@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `__libc_sigaction@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/librt.so: undefined reference to `__librt_multiple_threads@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/librt.so: undefined reference to `__librt_disable_asynccancel@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `_h_errno@GLIBC_2.0'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `__on_exit@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libdl.so: undefined reference to `_dl_open@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libdl.so: undefined reference to `_dl_close@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `_errno@GLIBC_2.0'
collect2: ld returned 1 exit status
make: *** [i_read_and_agree_the_license_agreement] Error 1
=============== OUTPUT END ===============
but now, i have no idea, what can i do ?
greez & thx,
sky...
first, check the CPU and DSM version: DS214play
- x86-32
- Intel Atom CE5335 (2C/4T)
- 1.6GHz
SSH login via "root" and install IPKG
# cat /etc.defaults/VERSION
> majorversion="5"
> minorversion="1"
> buildphase="release"
> buildnumber="5004"
> smallfixnumber=2
> builddate=2014/11/29
> buildtime="15:23:37"
# cd /root
# wget http://ipkg.nslu2-linux.org/feeds/optwa ... 7_i686.xsh
# sh syno-i686-bootstrap_1.2-7_i686.xsh
# vi /root/.profile
=> disable the following lines with a "#"
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
> export PATH
# reboot
after reboot, update ipkg:
# ipkg update
and now install some libs:
# ipkg install make
# ipkg install binutils
# ipkg install gcc
# ipkg install glib
# ipkg install zlib
# ipkg install openssl
# ipkg install ncurses
based on a thread, it also needed to install "deadline" (cent os ?), but for IPKG there is no package available for "deadline"...
now add gconv to the enviroments:
# export GCONV_PATH="/volume1/@optware/lib/gconv"
at this point, i will try to install softether server. Download and extract:
# wget http://www.softether-download.com/files ... bit.tar.gz
# tar -xvzf softether-vpnserver-v4.12-9514-beta-2014.11.17-linux-x86-32bit.tar.gz
# cd vpnserver
# pwd
> /root/vpnserver
now the install:
# sh .install.sh
after the license questions i get this output:
=============== OUTPUT START ===============
Preparing SoftEther VPN Server...
ranlib lib/libcharset.a
ranlib lib/libcrypto.a
ranlib lib/libedit.a
ranlib lib/libiconv.a
ranlib lib/libintelaes.a
ranlib lib/libncurses.a
ranlib lib/libssl.a
ranlib lib/libz.a
ranlib code/vpnserver.a
gcc code/vpnserver.a -O2 -fsigned-char -pthread -m32 -lm -ldl -lrt -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a lib/libintelaes.a -o vpnserver
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/librt.so: undefined reference to `__librt_enable_asynccancel@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `__libc_sigaction@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/librt.so: undefined reference to `__librt_multiple_threads@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/librt.so: undefined reference to `__librt_disable_asynccancel@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `_h_errno@GLIBC_2.0'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `__on_exit@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libdl.so: undefined reference to `_dl_open@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libdl.so: undefined reference to `_dl_close@GLIBC_PRIVATE'
/opt/lib/gcc/i686-linux-gnu/4.2.1/../../../../i686-linux-gnu/lib/libpthread.so: undefined reference to `_errno@GLIBC_2.0'
collect2: ld returned 1 exit status
make: *** [i_read_and_agree_the_license_agreement] Error 1
=============== OUTPUT END ===============
but now, i have no idea, what can i do ?
greez & thx,
sky...