The E02 Pogoplug and Archlinux.

Became tired of the Pogoplug cloud, so I decided that I could make more use of it as a local server. There a few lines to type in which frustrates a lot of people. I decided to take a shortcut and use the web and the command line together to make things easier.

You will go to the page where the commands are. Copy a command at a time and then paste it in the terminal that is connected to the pogoplug.

Once you finish the install, you may want to add other software to make the unit more usable. here is a basic install I sort of used.

Pogoplug v2 (Pink/Gray)

  • Overview and Installation
The Pogoplug v2 is the second device from CloudEngines to feature Pogoplug software. It excelled where the original Pogoplug was lacking by including 4 USB ports and a more noticeable hardware profile.
The gray Pogoplug was introduced at a later time to better fit in with users' existing components, which were not as pink as the original Pogoplug v2.
Recently, Cloud Engines has began shipping new Pink Pogoplugs with model numbers POGO-B01/02/03/04/P21 - these are completely different devices and you should NOT follow the guide on the installation tab above. Look in the "ARMv6" section for these models, or click here.
Supported Model Numbers:
POGO-E02
POGO-E02G
  • VERIFY YOUR MODEL NUMBER! These instructions only apply to models POGO-E02 and POGO-E02G.
  • These instructions will void your warranty. While every precaution is taken to ensure nothing bad happens, all actions are at your own risk.
  • my.pogoplug.com, the mobile applications, and the desktop Pogoplug connector will no longer work.

    With the device on and online, attempt to SSH to the IP the device received through DHCP. If you are unable to SSH, register and enable SSH through my.pogoplug.com. The default login (unless changed through my.pogoplug.com) is root/ceadmin. Stop the Pogoplug software, so it doesn't interfere with the install process:killall hbwd You only need to kill the Pogoplug service the first time you SSH in. Running the installer in the following steps disables it completely.  While connected via SSH to your plug, copy, paste, and run the following commands to download a bootloader that can boot from USB drives:

        # cd /tmp
        # wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh
        # chmod +x install_uboot_mtd0.sh
        # ./install_uboot_mtd0.sh

    After the new bootloader is installed, you will need to use fdisk to partition a storage device. Plug in a 1GB or bigger USB drive. REMOVE ALL OTHER DRIVES. Move everything you need off of the Arch Linux ARM drive and back it up. Everything on the USB drive with be deleted and replaced with Arch Linux ARM. Set the U-Boot variable to tell the kernel to use ext3:

        # /usr/sbin/fw_setenv usb_rootfstype ext3

    Start fdisk on the USB drive:

        # /sbin/fdisk /dev/sda

    At the fdisk prompt, delete old partitions and create a new one:

            Type o. This will clear out any partitions on the drive.
            Type p to list partitions. There should be no partitions left.
            Now type n, then p for primary, 1 for the first partition on the drive, and
            then press ENTER, accepting default values.
            Exit by typing w.

    Now create the ext3 filesystem:

        # wget http://archlinuxarm.org/os/pogoplug/mke2fs
        # chmod 755 mke2fs
        # ./mke2fs -j /dev/sda1
        # mkdir usb
        # mount /dev/sda1 usb

    Download and install Arch Linux ARM:

        # cd usb
        # wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
        # tar -xzvf ArchLinuxARM-armv5te-*.tar.gz

    This will take a long time

        # rm ArchLinuxARM-armv5te-*.tar.gz
        # sync

    Takes a while when using a flash drive Clean up and reboot. Cross your fingers and hope for the best.

        # cd ..
        # umount usb
        # /sbin/reboot

     The SSH key of your device will be different, so you need to tell Mac OS X or Linux to remove it from ~/.ssh/known_hosts before using SSH again:

        # ssh-keygen -R 192.168.1.123

    Use your device's IP.  Log back in after your Pogoplug reboots using username root and password root.

    Installation FAQ
    • I ran through the installer, have everything where it should be on the USB drive, but it's still not working.
      Try booting again. This often does the trick. If that does not help, try using a different USB drive. Flash drives have proven to not work well with running a full operating system, a USB hard drive is the best option.
    • fw_printenv/fw_setenv is no longer working.
      Run the install_uboot_mtd0.sh script from within Arch Linux ARM. It will install the applications for you.

    Architecture

    ARMv5te

    Processor

    Marvell Kirkwood 1.2GHz

    RAM

    256MB

    NAND

    128MB

    USB

    4

    Ethernet

    Gigabit

    Comments

    Popular posts from this blog

    Guiless?

    Web.com and Network Solutions, the Walmart of the internet.

    MSOffice vs Libreoffice