I tried the instructions described in the Blogpost Bootstrap DS215j to install optware for ds215j but was unsatisfied with the long outdated packages it provided. Luckily, there now is optware-ng which is a fork of optware and provides recent packages.
This is how I managed to install optware-ng on my Synology ds215j inspired by the instructions in the Gist Boostrap the Synology DS215j with optware, ipkg, and sudo:
# become root
sudo -i
# Create a directory that won't get nuked during DSM security updates
mkdir /volume1/@optware
cd /volume1/@optware
# Download & configure ipkg
wget -O - http://ipkg.nslu2-linux.org/optware-ng/bootstrap/buildroot-armeabihf-bootstrap.sh | sh
# Move the extracted /opt files to our persistent optware directory & symlink /opt
mv /opt/* /volume1/@optware/
rm -r /opt
ln -s /volume1/@optware /opt
# Make sure that the symlink gets recreated on every boot
echo "/bin/ln -sf /volume1/@optware /opt" >> /etc/rc.local
echo "/bin/sed -i 's|PATH=/sbin|PATH=/opt/bin:/opt/sbin:/sbin|' /etc/profile" >> /etc/rc.local
# Make ipkg available immediately to all users
sed -i 's|PATH=/sbin|PATH=/opt/bin:/opt/sbin:/sbin|' /etc/profile
# Logout & Login
exit
sudo -i
ipkg install nano
# become root
sudo -i
# unlink opt folder
unlink /opt
# remove optware folder
rm -rf /volume1/@optware
# remove entry in .bashrc
vi ~/.bashrc
ffeldhaus,
Thanks for the instuctions..but it looks this line is not working for me:
sed '/ulimit/iexport PATH=/opt/bin:/opt/sbin:\$PATH\n' /etc/profile >> /etc/profile
however, root is working fine )).