Re: news ds213j bootstrap ipkg pyload plex
Inviato: sabato 27 settembre 2014, 11:51
Per irssi dovrai usare un repository diverso. Lo cerco e te lo do
inviato dal mio topotalk
inviato dal mio topotalk
Synology Italia SPK Repository
https://www.synologyitalia.com/
burghy86 ha scritto:Per irssi dovrai usare un repository diverso. Lo cerco e te lo do
inviato dal mio topotalk
Se Burghy ha tempo di dare un okkio alla stessa e dirci cosa ne pensa .....I noticed that lftp was the old version 4.4.0, but the actual version is 4.4.15 (or now higher, if you read these lines in 2015 or later). This is because the IPKG package mentioned above is from 2012, when the current lftp version was 4.4.0. So we have to tell IPKG that it better get a) a more current lftp version and b) compile it with the proper libstdc++ version.
13. Change the line in /opt/etc/ipkg/feeds.conf from:
Code: Select all
src cross http://ipkg.nslu2-linux.org/feeds/optwa ... s/unstable
to
Code: Select all
src cross http://www.thingotron.com/ds213j
14. To update ipkg, enter the following command:
DiskStation> ipkg update
15. To update the libstdc++ which is necessary to compile the current lftp version, enter the following command:
DiskStation> ipkg install libstdc++
16. To install lftp, enter the following command:
DiskStation> ipkg install lftp
Now, "lftp -v" responds with version 4.4.15.
If you want to remove lftp at any time, enter the following command:
DiskStation> ipkg remove lftp
I prayed, the skies opened and vputz helped me to get the solution. Most of it is similar to this guide on GitHub, but I had to find out a few... peanuts. Heaven, my nerves! And because I hate it when people ask a question, find the solution later on, but do not write it into their own topic they've created, I do it better and give you now an...
IPKG + lftp installation on a Synology DiskStation DS114 with DSM 4.3-3827
0. The usual disclaimer: this procedure worked fine for me, but I can not guarantee that it will work for your DiskStation. So everything you do is on your own risk.
1. Login via SSH as root.
2. To create the optware root directory, enter the following commands:
DiskStation> mkdir /volume1/@optware
DiskStation> mkdir /opt
DiskStation> mount -o bind /volume1/@optware /opt
3. To set up IPKG, enter the following commands:
DiskStation> feed=http://ipkg.nslu2-linux.org/feeds/optwa ... s/unstable
DiskStation> ipk_name=`wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}'`
DiskStation> wget $feed/$ipk_name
DiskStation> tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
DiskStation> mkdir -p /opt/etc/ipkg
DiskStation> echo "src cross $feed" > /opt/etc/ipkg/feeds.conf
4a. Add the following line to /etc/profile:
Code: Select all
PATH=/opt/bin:/opt/sbin:$PATH
4b. Add the following line to /root/.profile:
Code: Select all
PATH=/opt/bin:/opt/sbin:$PATH
5. Reboot your DiskStation. Do NOT use the "reboot" command, use "reboot -f" or reboot with the DSM GUI.
6. Login via SSH as root.
7. Create the /etc/rc.local file and insert:
Code: Select all
#!/bin/sh
# Optware setup
[ -x /etc/rc.optware ] && /etc/rc.optware start
8. To make this file executable, enter the following command:
DiskStation> chmod 755 /etc/rc.local
9. Create the /etc/rc.optware file and insert:
Code: Select all
#! /bin/sh
if test -z "${REAL_OPT_DIR}"; then
# next line to be replaced according to OPTWARE_TARGET
REAL_OPT_DIR=/volume1/@optware
fi
case "$1" in
start)
echo "Starting Optware."
if test -n "${REAL_OPT_DIR}"; then
if ! grep ' /opt ' /proc/mounts >/dev/null 2>&1 ; then
mkdir -p /opt
mount -o bind ${REAL_OPT_DIR} /opt
fi
fi
[ -x /opt/etc/rc.optware ] && /opt/etc/rc.optware
;;
reconfig)
true
;;
stop)
echo "Shutting down Optware."
true
;;
*)
echo "Usage: $0 {start|stop|reconfig}"
exit 1
esac
exit 0
10. To make this file executable, enter the following command:
DiskStation> chmod 755 /etc/rc.optware
11. To update ipkg, enter the following command:
DiskStation> ipkg update
12. To install lftp, enter the following command:
DiskStation> ipkg install lftp
That's all, worked fine for me.
A big thank you goes to vputz.
_______________________________________________________________________________________________________________________________________________________
I noticed that lftp was the old version 4.4.0, but the actual version is 4.4.15 (or now higher, if you read these lines in 2015 or later). This is because the IPKG package mentioned above is from 2012, when the current lftp version was 4.4.0. So we have to tell IPKG that it better get a) a more current lftp version and b) compile it with the proper libstdc++ version.
13. Change the line in /opt/etc/ipkg/feeds.conf from:
Code: Select all
src cross http://ipkg.nslu2-linux.org/feeds/optwa ... s/unstable
to
Code: Select all
src cross http://www.thingotron.com/ds213j
14. To update ipkg, enter the following command:
DiskStation> ipkg update
15. To update the libstdc++ which is necessary to compile the current lftp version, enter the following command:
DiskStation> ipkg install libstdc++
16. To install lftp, enter the following command:
DiskStation> ipkg install lftp
Now, "lftp -v" responds with version 4.4.15.
If you want to remove lftp at any time, enter the following command:
DiskStation> ipkg remove lftp