IPKG installieren DSM 5.0: Unterschied zwischen den Versionen
Erscheinungsbild
Die Seite wurde neu angelegt: „==System== What kind of CPU does my NAS have http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have Alte Geräte: cat /proc/cpuinfo | gre…“ |
|||
| Zeile 23: | Zeile 23: | ||
disable these lines by adding the # as line prefix | disable these lines by adding the # as line prefix | ||
<syntaxhighlight lang="bash" line start="1" highlight="5" enclose="div"> | |||
#if [ -e "$REAL_OPT_DIR" ] ; then | #if [ -e "$REAL_OPT_DIR" ] ; then | ||
# echo "Backup your configuration settings, then type:" | # echo "Backup your configuration settings, then type:" | ||
| Zeile 37: | Zeile 38: | ||
# exit 3 | # exit 3 | ||
#fi | #fi | ||
</syntaxhighlight> | |||
Run bootstrap | Run bootstrap | ||
Version vom 11. Juni 2014, 15:45 Uhr
System
What kind of CPU does my NAS have
http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have
Alte Geräte:
cat /proc/cpuinfo | grep cpu
Neuere Geräte:
cat /proc/cpuinfo | grep Processor
Install ipkg on a ds414 DSM 5
Actually there is no xsh bootstrap for the ds414 (Marvell Armada XP armv7l) although the existing Marvell Kirkwood mv6281 binaries "are ~ compatible" (http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/). So this is a small guide to setup manually the optware environment, which based partly on trepmag's guide - many thanks.
cd /volume1/public
wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/syno-mvkw-bootstrap_1.2-7_arm.xsh
chmod 700 syno-mvkw-bootstrap_1.2-7_arm.xsh
sh syno-mvkw-bootstrap_1.2-7_arm.xsh
Edit the bootstrap.sh file
vi bootstrap.sh
disable these lines by adding the # as line prefix
#if [ -e "$REAL_OPT_DIR" ] ; then
# echo "Backup your configuration settings, then type:"
# echo " rm -rf $REAL_OPT_DIR"
# echo " rm -rf /usr/lib/ipkg"
# echo "This will remove all existing optware packages."
# echo
# echo "You must *reboot* and then restart the bootstrap script."
# exit 1
#fi
#if ! grep Feroceon-KW /proc/cpuinfo >/dev/null 2>&1; then
# echo "Error: CPU not Marvell Kirkwood, probably wrong bootstrap.xsh"
# exit 3
#fi
Run bootstrap
sh bootstrap.sh
Reboot your diskstation
/opt/bin/ipkg update /opt/bin/ipkg list /opt/bin/ipkg install pkg
Extend the PATH variable 'PATH=$PATH:/opt/bin:/opt/sbin' - check the synology wiki