{"id":3681,"date":"2012-04-22T12:11:37","date_gmt":"2012-04-22T10:11:37","guid":{"rendered":"https:\/\/ingmarverheij.com\/?p=3681"},"modified":"2013-12-07T11:04:00","modified_gmt":"2013-12-07T10:04:00","slug":"how-to-install-ipkg-on-synology-nas-ds212","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/how-to-install-ipkg-on-synology-nas-ds212\/","title":{"rendered":"How to install ipkg on Synology NAS (DS212+)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Synology DS212+\" alt=\"Synology DS212+\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/DS212.jpg\" width=\"92\" height=\"92\" align=\"right\" border=\"0\" \/><\/p>\n<p>If you want to install additional packages on your Synology NAS you first need to install <em>ipkg<\/em>. In this post I\u2019ll explain the steps you need to take to install this package on your Synology NAS.<\/p>\n<p>If you don\u2019t have terminal access, please enable that first (<a href=\"https:\/\/ingmarverheij.com\/en\/2012\/04\/how-to-enable-terminal-access-to-synology-nas\/\" target=\"_blank\">link<\/a>).<\/p>\n<p><!--more--><\/p>\n<p>First thing you need to do is determine what kind of CPU your Synology NAS has. The easiest way is looking it up in on the Synology Wiki page (<a href=\"https:\/\/forum.synology.com\/wiki\/index.php\/What_kind_of_CPU_does_my_NAS_have\" target=\"_blank\">What kind of CPU does my NAS have<\/a>). In case of my DS212+ it\u2019s a <a href=\"https:\/\/www.marvell.com\/embedded-processors\/kirkwood\/assets\/88f6282-3_pb.pdf\" target=\"_blank\">Marvell Kirkwood mv6282<\/a>.<\/p>\n<p>Now you know what CPU your Synology NAS has you can find the appropriate bootstrap.<\/p>\n<table width=\"584\" border=\"1\" cellspacing=\"0\" cellpadding=\"1\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"184\"><strong>CPU<\/strong><\/td>\n<td valign=\"top\" width=\"261\"><strong>Bootstrap<\/strong><\/td>\n<td valign=\"top\" width=\"137\"><strong>Package feed<\/strong><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"184\">Intel XScale FW IXP420 BB ARM<\/td>\n<td valign=\"top\" width=\"260\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/ds101\/cross\/unstable\/ds101-bootstrap_1.0-4_armeb.xsh\" target=\"_blank\">ds101-bootstrap_1.0-4_armeb.xsh<\/a><\/td>\n<td valign=\"top\" width=\"138\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/ds101\/cross\/unstable\/\" target=\"_blank\">link<\/a><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"183\">Intel Atom CPU&#8217;s: D410, D425, D510, D525 and D2700<\/td>\n<td valign=\"top\" width=\"260\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-i686\/cross\/unstable\/syno-i686-bootstrap_1.2-7_i686.xsh\" target=\"_blank\">syno-i686-bootstrap_1.2-7_i686.xsh<\/a><\/td>\n<td valign=\"top\" width=\"139\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-i686\/cross\/unstable\/\" target=\"_blank\">link<\/a><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"183\">8241 PPC<\/td>\n<td valign=\"top\" width=\"259\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/ds101g\/cross\/stable\/ds101-bootstrap_1.0-4_powerpc.xsh\" target=\"_blank\">ds101-bootstrap_1.0-4_powerpc.xsh<\/a><\/td>\n<td valign=\"top\" width=\"140\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/ds101g\/cross\/unstable\/\" target=\"_blank\">link<\/a><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"183\">8533 PPC\u00a0 \/ 8543 PPC<\/td>\n<td valign=\"top\" width=\"259\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-e500\/cross\/unstable\/syno-e500-bootstrap_1.2-7_powerpc.xsh\" target=\"_blank\">syno-e500-bootstrap_1.2-7_powerpc.xsh<\/a><\/td>\n<td valign=\"top\" width=\"140\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-e500\/cross\/unstable\/\" target=\"_blank\">link<\/a><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"183\">mv5281 ARM<\/td>\n<td valign=\"top\" width=\"259\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-x07\/cross\/unstable\/syno-x07-bootstrap_1.2-7_arm.xsh\" target=\"_blank\">syno-x07-bootstrap_1.2-7_arm.xsh<\/a><\/td>\n<td valign=\"top\" width=\"140\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-x07\/cross\/unstable\/\" target=\"_blank\">link<\/a><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"183\">Marvel Kirkwood mv6281 ARM<\/td>\n<td valign=\"top\" width=\"259\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/cs08q1armel\/cross\/unstable\/syno-mvkw-bootstrap_1.2-7_arm.xsh\" target=\"_blank\">syno-mvkw-bootstrap_1.2-7_arm.xsh<\/a><\/td>\n<td valign=\"top\" width=\"140\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/cs08q1armel\/cross\/unstable\/\" target=\"_blank\">link<\/a><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"183\">Marvel Kirkwood mv6282 ARM<\/td>\n<td valign=\"top\" width=\"259\"><a href=\"https:\/\/amazon.tryfonos.net\/syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh\" target=\"_blank\">syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh<\/a><\/td>\n<td valign=\"top\" width=\"141\"><a href=\"https:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/cs08q1armel\/cross\/unstable\/\" target=\"_blank\">link<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>Now you can install <em>ipkg<\/em> in 8 (or 9 steps):<\/p>\n<ol>\n<li>Login to your NAS with username <em>root <\/em>(same password as admin)<\/li>\n<li>Change the directory to \/root : <span style=\"font-family: 'Courier New';\">cd \/root<\/span><\/li>\n<li>Download the bootstrap you found in the above : <span style=\"font-family: 'Courier New';\">wget &lt;bootstrap url&gt;<\/span><\/li>\n<li>Mark the .xsh script executable : <span style=\"font-family: 'Courier New';\">chmod + &lt;name of the bootstap&gt;<\/span><\/li>\n<li>Run the .xsh script (this is where you will install the <em>ipkg<\/em> package): <span style=\"font-family: 'Courier New';\">sh &lt;name of the bootstrap&gt;<\/span><\/li>\n<li><span style=\"font-family: 'Courier New';\"><span style=\"font-family: Arial;\">Remove the .xsh script : <\/span>rm &lt;name of the bootstrap&gt;<\/span><\/li>\n<li><strong>ONLY FOR DSM 4.0 <\/strong>Comment the lines following lines in the file \/root\/.profile\n<ul>\n<li><span style=\"font-family: 'Courier New';\">PATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin:\/usr\/syno\/sbin:\/usr\/syno\/bin:\/usr\/local\/sbin:\/usr\/local\/bin<\/span><\/li>\n<li><span style=\"font-family: 'Courier New';\">export PATH<\/span><\/li>\n<\/ul>\n<\/li>\n<li>Reboot the NAS : <span style=\"font-family: 'Courier New';\">reboot<\/span><\/li>\n<li>Update the ipkg list of available packages : <span style=\"font-family: 'Courier New';\">ipkg update<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-1-wget.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 5px 0px 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Step 3) Download the bootstrap\" alt=\"Step 3) Download the bootstrap\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-1-wget_thumb.png\" width=\"204\" height=\"74\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-2-chmod.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 5px 0px 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Step 4) Mark the .xsh script executable\" alt=\"Step 4) Mark the .xsh script executable\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-2-chmod_thumb.png\" width=\"204\" height=\"25\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-3-sh.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 5px 0px 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Step 5) Run the .xsh script\" alt=\"Step 5) Run the .xsh script\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-3-sh_thumb.png\" width=\"204\" height=\"143\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-4-rm.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 5px 0px 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Step 6) Remove the .xsh script\" alt=\"Step 6) Remove the .xsh script\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-4-rm_thumb.png\" width=\"204\" height=\"20\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-5-profile.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 5px 0px 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Step 7) Comment lines in the .profile file\" alt=\"Step 7) Comment lines in the .profile file\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-5-profile_thumb.png\" width=\"204\" height=\"204\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-6-update.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 5px 0px 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Step 9) Update the list of available packages\" alt=\"Step 9) Update the list of available packages\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-6-update_thumb.png\" width=\"204\" height=\"44\" border=\"0\" \/><\/a><\/p>\n<p><br clear=\"all\" \/>More information about install ipkg can be found <a href=\"https:\/\/forum.synology.com\/wiki\/index.php\/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#Installing_compiled.2Fbinary_programs_using_ipkg\" target=\"_blank\">here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h4>How to use ipkg<\/h4>\n<p>You can install a package using the command : <span style=\"font-family: 'Courier New';\">ipkg install &lt;packagename&gt;<\/span><\/p>\n<p>Upgrading already installed packages can be done with the command : <span style=\"font-family: 'Courier New';\">ipkg upgrade<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'Courier New';\"><span style=\"font-family: Arial;\">You can list all available packages with : <\/span>ipkg list<\/span><span style=\"font-family: Arial;\">. This might produce a long list (and take a long while). If you want to narrow down the list you can search in the results: <\/span><span style=\"font-family: 'Courier New';\">ipkg list | grep &lt;your filter&gt;<\/span><\/p>\n<p>&nbsp;<\/p>\n<h4>(Alternative) Package Center<\/h4>\n<p>As an alternative you can use Package Center to install ipkg. More information can be found at <a href=\"https:\/\/packages.quadrat4.de\/\" target=\"_blank\">quadrat4.de<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>.<\/p>","protected":false},"excerpt":{"rendered":"<p>If you want to install additional packages on your Synology NAS you first need to install ipkg. In this post I\u2019ll explain the steps you need to take to install this package on your Synology NAS. If you don\u2019t have terminal access, please enable that first (link).<\/p>","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[443],"tags":[448,445,449,444],"class_list":["post-3681","post","type-post","status-publish","format-standard","hentry","category-synology","tag-ds212","tag-dsm","tag-ipkg","tag-synology-2"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=3681"}],"version-history":[{"count":8,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3681\/revisions"}],"predecessor-version":[{"id":5993,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3681\/revisions\/5993"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=3681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=3681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=3681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}