Zum Inhalt springen

IPKG installieren DSM 5.0

Aus Computech CMS Wiki
Version vom 11. Juni 2014, 15:44 Uhr von Simon Zeberli (Diskussion | Beiträge) (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…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

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

  1. if [ -e "$REAL_OPT_DIR" ] ; then
  2. echo "Backup your configuration settings, then type:"
  3. echo " rm -rf $REAL_OPT_DIR"
  4. echo " rm -rf /usr/lib/ipkg"
  5. echo "This will remove all existing optware packages."
  6. echo
  7. echo "You must *reboot* and then restart the bootstrap script."
  8. exit 1
  9. fi
  1. if ! grep Feroceon-KW /proc/cpuinfo >/dev/null 2>&1; then
  2. echo "Error: CPU not Marvell Kirkwood, probably wrong bootstrap.xsh"
  3. exit 3
  4. 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