ipkg on Synology NAS.

Just to keep the note for myself: 1. Read WIKI. For DS213+ (e500, e500v2) 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 2. add /opt to path vi .profile PATH=..:/opt/bin:/opt/sbin 3. Logout and Login again to apply PATHs. 4. update ipkg and install some tools ipkg-opt update ipkg-opt install mc ipkg install mlocate updatedb

SynologyDSM 4.2 released. issues and workarounds.

As usual ipkg (and software like Midnight Commander) will stop work after firmware update. Solution as usual: vi /root/.profile ln -s /volume1/@optware /opt . /root/.profile mc .profile # add /opt/bin and /opt/sbin to PATH PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin export PATH # comment out old TERM #TERM=${TERM:-cons25} #export TERM # add new for Midnight Commander export TERMINFO=/opt/share/terminfo export TERM=xterm […]