{"id":28,"date":"2013-01-22T11:15:30","date_gmt":"2013-01-22T11:15:30","guid":{"rendered":"http:\/\/blog.klug.me\/?p=28"},"modified":"2014-05-26T06:41:14","modified_gmt":"2014-05-26T06:41:14","slug":"installing-optware-on-your-pogoplug","status":"publish","type":"post","link":"https:\/\/blog.klug.me\/?p=28","title":{"rendered":"Installing optware on your PogoPlug"},"content":{"rendered":"<p>Because I got a very good offer I&#8217;ve ordered a PogoPlug as cheap NAS.<br \/>\nPogoPlug comes with a very good preinstalled software and you can manage nearly everything by the feature rich web frontend.<\/p>\n<p>But there are a few things I&#8217;ve realized too late.<\/p>\n<ul>\n<li>The preinstalled software is closed source.<\/li>\n<li>There&#8217;s no FTP, Samba or similar interface.<\/li>\n<li>To enable multiuser support and password protected folders you have to pay a fee.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p>For the 3. step I&#8217;ve weighened up if it&#8217;s easier to pay this fee or write my own software for it. Regarding to the<a href=\"http:\/\/pogoplug.com\/de\/family#pick\">\u00a0official price list<\/a>\u00a0PogoPlug Family was the package I needed to make it possible for my wife to share her folders and upload files by mail.<\/p>\n<p>Because the webinterface seems to do what it should I&#8217;ve bought the Family package.<br \/>\nBut what I&#8217;ve nowhere read is that it&#8217;s only possible to share password protected folders with Family+.<\/p>\n<p>So I&#8217;m almost happy with this but it had been fine to know this before you make your decision with package you take.<\/p>\n<p>Back to topic:<\/p>\n<h1>Preparing \/opt<\/h1>\n<p>To use the PogoPlug as FTP server or to be able to install additional optware I&#8217;ve found very good help on the internet and installed <a href=\"http:\/\/en.wikipedia.org\/wiki\/Ipkg\" target=\"_blank\">IPKG<\/a> with following steps.<br \/>\nPlease note that you&#8217;ll need an empty USB-Stick as filesystem.<\/p>\n<ol>\n<li>Login to <a href=\"https:\/\/my.pogoplug.com\" target=\"_blank\">https:\/\/my.pogoplug.com\u00a0<\/a>and enable SSH access checking <em>Settings<\/em> -&gt; <em>Security<\/em> -&gt;\u00a0<em>Enable SSH access for this Pogoplug device<\/em> and reset your password by clicking on\u00a0<em>change password<del>.<\/del><\/em><\/li>\n<li>Find the IP address of your PogoPlug (I&#8217;ve found mine in my router web interface)<\/li>\n<li>Connect to your PogoPlug with SSH using username &#8222;root&#8220; and password defined in step 1.<\/li>\n<li>The filesystem is mounted readonly so you can&#8217;t perform any changes to it. Let&#8217;s change this using\n<pre>mount -o remount,rw \/<\/pre>\n<\/li>\n<li>Create the storage for your optware with\n<pre>mkdir \/opt<\/pre>\n<\/li>\n<li>Eject every attached USB-Device using the webinterface and unplug it.<\/li>\n<li>Run\n<pre><em>df -h<\/em><\/pre>\n<\/li>\n<li>Plug the USB-Stick in an empty slot and run it again. You should notice a new line, this is your USB-Stick. This line should look similar to\n<pre>\/tmp\/.cemnt\/sdb1 \u00a0 \u00a0 \u00a0 \u00a0 \u00a03.2G \u00a0 \u00a0 65.2M \u00a0 \u00a0 \u00a03.2G \u00a0 2% \/tmp\/.cemnt\/mnt_sdb1<\/pre>\n<\/li>\n<li>Now you know that your USB-Stick is located at <em>\/tmp\/.cemnt\/sdb1.<\/em><\/li>\n<li>Eject it by using the webinterface and run following command\n<pre>mount \/tmp\/.cemnt\/sdb1 \/opt<\/pre>\n<p>Please replace sdb1 with your device if it&#8217;s different.<\/li>\n<\/ol>\n<h1>Installing IPKG<\/h1>\n<p>Now you&#8217;ve mounted your USB-Stick to \/opt, let&#8217;s install IPKG executing these commands:<\/p>\n<pre>cd \/opt\r\nwget http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/cs08q1armel\/cross\/unstable\/ipkg-opt_0.99.163-10_arm.ipk\r\ntar -xOvzf ipkg-opt_*_arm.ipk .\/data.tar.gz | tar -C \/ -xzvf -\r\nmkdir -p \/opt\/etc\/ipkg\r\necho \"src cross http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/cs08q1armel\/cross\/unstable\" &gt; \/opt\/etc\/ipkg\/armel-feed.conf\r\necho \"src native http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/cs08q1armel\/native\/unstable\" &gt;&gt; \/opt\/etc\/ipkg\/armel-feed.conf<\/pre>\n<h1>Get ready to install applications<\/h1>\n<p>Before you can install applications using IPKG you have to fetch server information about available packages.<\/p>\n<p>To do this you can run<\/p>\n<pre>\/opt\/bin\/ipkg update<\/pre>\n<p>If this does not fail everything is working perfect.<\/p>\n<p>Now you are able to search and install applications on your PogoPlug.<br \/>\nFor detailed usage of IPKG you can run ipkg with the &#8211;help flag:<\/p>\n<pre>\/opt\/bin\/ipkg --help<\/pre>\n<h1>Install a FTP-Server (bftpd)<\/h1>\n<p>Bftpd is a lightweight FTP-Server which can be installed using IPKG.<br \/>\nTo do this you can run<\/p>\n<pre>\/opt\/bin\/ipkg install bftpd<\/pre>\n<p>If successfully installed you shoud edit the configuration file at <em>\/opt\/etc\/bftpd.conf<\/em> and afterwards start it using<\/p>\n<pre>\/opt\/sbin\/bftpd -d<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Because I got a very good offer I&#8217;ve ordered a PogoPlug as cheap NAS. PogoPlug comes with a very good preinstalled software and you can manage nearly everything by the feature rich web frontend. But there are a few things I&#8217;ve realized too late. The preinstalled software is closed source. There&#8217;s no FTP, Samba or [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,7],"tags":[9],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-linux","category-pogoplug","tag-pogo"],"_links":{"self":[{"href":"https:\/\/blog.klug.me\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.klug.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.klug.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.klug.me\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.klug.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":13,"href":"https:\/\/blog.klug.me\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":104,"href":"https:\/\/blog.klug.me\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions\/104"}],"wp:attachment":[{"href":"https:\/\/blog.klug.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.klug.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.klug.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}