(NOTE: It seems the Debian installation script has been changed. My procedure outlined below is not sufficient to give you a successful installation of Debian and OpenMediaVault on your PogoPlug. You may want to check out cadre's superb documentation of his experiences.)
(Just realized there are two forums. It's quite confusing. This message was posted on SourceForge forum.)
Recently I acquired a cheap Pogoplug Classic (POGO-E02). The built-in software on it requires you to everything through its web site, which I am not fond of doing and want to control it on my local network. I tried Amahi and OpenMediaVault on it, and found even though OpenMediaVault is still at early development stage, it is already more usable than Amahi. Here is my record of how to install OpenMediaVault on Pogoplug Classic. Hopefully other Pogoplug owners can find it helpful.
Kochin
==========================================================================
First, we need to do some preparation on the Pogoplug.
- All the steps require SSH access into your Pogoplug. By default the SSH is disabled, so you must go to my.pogoplug.com to register and activate your device. Once that is done and you are logged in, click on your account tab on the top of the page and select "Settings" and then "Security" from the left menu. Now you can enable the SSH access and change password.[/*]
- Find out the IP address of your Pogoplug from your router's attached devices list. Sign in your Pogoplug via SSH:
- (Don't really need this because the script below will kill hbwd for you.) After SSH in, the first thing you do should be killing Pogoplug service:
That will stop it from calling home.
Next, we start installing Debian Linux onto a USB drive.
- Remove any USB flash drives from your Pogoplug, then plug only one USB drive of at least 1GB into the USB port next to the network port.
- Partition your USB flash drive into 2 partitions.
Partition 1 of at least 512MB is for Debian Linux, and partition 2 of recommended 256MB is for swap.
- Now we will download and run Debian Squeeze (stable) installer:Code
$ cd /tmp $ wget http://projects.doozan.com/debian/dockstar.debian-squeeze.sh $ chmod +x dockstar.debian-squeeze.sh $ export PATH=$PATH:/usr/sbin:/sbin $ ./dockstar.debian-squeeze.sh
(You could try the Debian Wheezy (testing) installer by replacing "dockstar.debian-squeeze.sh" with "kirkwood.debian-wheezy.sh", but the script failed on my Pogoplug with a message "Kernel too old" in the log.)
The installation process takes a while. Once it's done, you will be asked to reboot. - After rebooted, you SSH in as root using the default password "root". You may need to clear your ~/.ssh/known_hosts file or your SSH client may refuse to connect.
- After logged in, you should change the root user's password and modify /etc/apt/sources.list to a Debian mirror near you.
Your sources.list file should have a line similar to this:
- One thing you might want to do is upgrade packages to the newest release.
We are now ready to install OpenMediaVault.
- Add OpenMediaVault's repository to apt's sources list directory.
Enter this line into the end of the file:
The newer fedaykin release is unfortunately not compatible with Debian Squeeze due to a dependency, so please stick to omnius release.
- In order to install packages from OpenMediaVault's repository, you need to add its archive key into apt:
You can check the key is indeed installed in apt.
To refresh package lists with this newly added key, run this command:
- During the installation of OpenMeidaVault, there will be some configurations require user interactions. To assist the process, it's better to install whiptail package ahead of time if it's not already installed.
You might also want to install tmux package so that you can continue session if disconnected.
- And now, install OpenMediaVault from the repository:
It will take quite a while for apt-get to retrieve and install all the required packages. During the process you are required to answer some questions for configurations, so don't wonder too far away.
- Once the installation finishes, you won't have access via SSH after you log out the current session because by default OpenMediaVault doesn't enable any services. You will need to use your browser to visit your Pogoplug's IP address and sign in as "admin" with password "openmediavault".
- There are several things you need to do first time you log in the OpenMediaVault Web Administration.
- In System/General Settings, change your Web Administrator Password.
- In System/Date & Time, set your Time Zone and whether to Use NTP server.
- In System/Network/Interfaces, edit your network interface and click OK to make sure it's properly configured. Otherwise, the network interfaces won't show up in Diagnostics/System Information/Interfaces.
- In Services, you can consider to enable whatever services you need.
NOTE:
- Trying to dist-upgrade to 0.4.x got openmediavault package being kept back. It is due to one of the dependencies, xmlstarlet (>= 1.3.1) can't be satisfied. The version in Debian Squeeze is 1.0.2-1. The newer version of xmlstarlet is currently in Debian unstable branch.
REFERENCES: