Pagina 3 di 4

Re: news ds213j bootstrap ipkg pyload plex

Inviato: sabato 27 settembre 2014, 11:51
da burghy86
Per irssi dovrai usare un repository diverso. Lo cerco e te lo do

inviato dal mio topotalk

Re: news ds213j bootstrap ipkg pyload plex

Inviato: lunedì 29 settembre 2014, 11:00
da peterflyer
burghy86 ha scritto:Per irssi dovrai usare un repository diverso. Lo cerco e te lo do

inviato dal mio topotalk

Grazie della gentilezza

8-)

Re: news ds213j bootstrap ipkg pyload plex

Inviato: martedì 30 settembre 2014, 10:33
da peterflyer
Ho trovato qui:

_http://forum.synology.com/enu/viewtopic.php?f=40&t=84073

questa procedura che sembra essere aggiornata...

in particolare è stata aggiunta questa parte all nota procedura precedente:
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. :D


If you want to remove lftp at any time, enter the following command:
DiskStation> ipkg remove lftp
Se Burghy ha tempo di dare un okkio alla stessa e dirci cosa ne pensa .....

Grazie

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. :D
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. :D


If you want to remove lftp at any time, enter the following command:
DiskStation> ipkg remove lftp

Re: news ds213j bootstrap ipkg pyload plex

Inviato: lunedì 22 dicembre 2014, 12:21
da Zottex
ragazzi dopo questi aggiornamenti ( mi sono letto tuttoil thread) visto che è una cosa un pò complicata potreste fare una guida dettagliata di cosa fare?
per uno smanettone che magari non sa moltissimo di linux tutto ciò sembra molto complicato.

Re: news ds213j bootstrap ipkg pyload plex

Inviato: lunedì 22 dicembre 2014, 12:27
da burghy86
l'ultima guida quotata è completamente passo passo.. non puoi sbagliare

Re: news ds213j bootstrap ipkg pyload plex

Inviato: martedì 23 dicembre 2014, 14:49
da Zottex
quindi se seguo quei comandi installo il bootstrap. poi volendoposso installare amule?

Re: R: news ds213j bootstrap ipkg pyload plex

Inviato: martedì 23 dicembre 2014, 15:22
da burghy86
Amule è già dentro la ds download

inviato con il mio topotalk

Re: news ds213j bootstrap ipkg pyload plex

Inviato: martedì 23 dicembre 2014, 15:41
da Zottex
sono arrivato aqui:
11. To update ipkg, enter the following command:
DiskStation> ipkg update

ma mi dice:ipkg: not found

mi pare di aver fatto tutto giusto e riavviato da dsm

Re: news ds213j bootstrap ipkg pyload plex

Inviato: martedì 23 dicembre 2014, 18:13
da burghy86
Amule è gia dentro la ds download

Re: news ds213j bootstrap ipkg pyload plex

Inviato: martedì 23 dicembre 2014, 20:11
da Zottex
credo di aver risolto rifacendo daccapo il comando 3
ora ho provato a installare amule adunanza seguendo questa guida:
guide-tips/installare-amule-adunanza-fa ... t2820.html

va tutto ok ma non riesco ad accedere alla web console