Tuesday, April 7, 2015

Hacking the Pogoplug v3/Oxnas (Pro/Classic) with Debian

This is quick publish tutorial on installing Debian on the Pogoplug V3(Oxnas)

All credit to @bodhi on Jeff Doozan's Forum for the uBoot, Debian rootfs, instructions and support. Note that I re-hosted some of @bodhi's files for an easier install.


References:


WARNING: You can potentially brick your Pogoplug following this tutorial. Your warranty will be voided. These instructions are for the Pogoplug V3/Oxnas. Flashing the uBoot below on any other model of the Pogoplug will result in a brick. There is no going back to the Pogoplug OS. You will not be able to use the my.pogoplug.com service. Proceed at your own risk.



Requirements:


1) Pogoplug V3 - Dual 700Mhz ARM, 128MB RAM, SATA (internal), Gigabit Ethernet, 4 USB 2.0 Ports, Wireless*

*Only Pogoplug Pro comes with built in Wi-Fi (AzureWave AW-NE762H 802.11 b/g/n PCI Express RT3090)

Model numbers located on bottom of foot. Please ignore the label on the box. You can potential receive a Pogoplug V2 (POGO-E02 Kirkwood) when buying a P21/P22.




Check the bottom of the Pogoplug's foot for correct model


2) USB Flash Drive (2GB+) or USB Hard Drive


Recommendations/Tested:



Outline of Steps:

  • uBoot Installation via SSH Console
  • Setup Netconsole
  • Debian Installation on USB Hard/Flash Drive
  • Initial Debian Setup
  • Upgrade Debian to 3.18.5 kernel
  • Pogoplug Pro Wireless Configuration



Enable SSH Access to Pogoplug


There are two methods to enable SSH on your Pogoplug.

1) Official Method - Activate on my.pogoplug.com and then enable SSH

2) Backdoor Method (credit to GTVHacker.com)

Make sure your Pogoplug is connected to your network and has internet access.

Check your router or use a network scanning tool (iNet Network Scanner on iPhone) to determine the IP Address of the Pogoplug.

From a Linux computer (e.g. another Pogoplug running Debian/Alarm) run the below curl command.

curl -k "https://root:ceadmin@[PogoplugIPAddress]/sqdiag/HBPlug?action=command&command=dropbear%20start";

Note that the backdoor method is not persistent (SSH access will not be available after a reboot).

uBoot Installation via SSH Console


Use Putty or your favorite SSH client to connect to your Pogoplug.

If you used the "Official Method" for activating and enabling SSH on your Pogoplug, then the username will be "root" and the password will be whatever you set (note that it's not the same password used to log into my.pogoplug.com).
For the "Backdoor Method", the username and password is root/ceadmin.

From here, everything is done via the SSH console.


#Verify Pogoplug is expected version (Oxnas)
cat /proc/cpuinfo | grep Hardware

#Stop here if not expected output.
#Expected output
#Hardware : Oxsemi NAS

#stop my.pogoplug.com service
killall hbwd


#download firmware utilities
cd /tmp
wget http://download.qnology.com/pogoplug/v4/nanddump
wget http://download.qnology.com/pogoplug/v4/nandwrite
wget http://download.qnology.com/pogoplug/v4/flash_erase
wget http://download.qnology.com/pogoplug/v4/fw_printenv
wget http://download.qnology.com/pogoplug/v4/fw_setenv


#make executable
chmod +x flash_erase fw_printenv fw_setenv nanddump nandwrite


#remount '/' as read/write
#by default the Pogoplug OS (internal flash) is read only
mount -o remount,rw /


#setup fw_env.config for oxnas
echo "/dev/mtd0 0x00100000 0x20000 0x20000">/etc/fw_env.config


#save original envs
/usr/local/cloudengines/bin/blparam > /blparam.txt


#Download and flash new uBoot
wget http://download.qnology.com/pogoplug/oxnas/uboot.2013.10-tld-4.ox820.bodhi.tar
wget http://download.qnology.com/pogoplug/oxnas/uboot.2013.10-tld-4.ox820.bodhi.tar.md5


#check md5sum
md5sum -c uboot.2013.10-tld-4.ox820.bodhi.tar.md5


#extract uBoot files
tar -xf uboot.2013.10-tld-4.ox820.bodhi.tar

#BE EXTRA CAREFUL WITH THE THESE COMMANDS.
#NO TYPOS! CUT AND PASTE.
#Erase and flash uboot on mtd0
#Flash encoded spl stage1 to 0x0
/tmp/flash_erase /dev/mtd0 0x0 6
/tmp/nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img


#Flash uboot to 0x40000
/tmp/nandwrite -s 262144 /dev/mtd0 uboot.2013.10-tld-4.ox820.mtd0.img

#Flash uboot environment
#Erase 1 block starting 0x00100000
/tmp/flash_erase /dev/mtd0 0x00100000 1
/tmp/nandwrite -s 1048576 /dev/mtd0 pogopro_uboot_env.img


#Set MAC Address
/tmp/fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"


#default to pogoplug classic dtb
/tmp/fw_setenv fdt_file '/boot/dts/ox820-pogoplug-classic.dtb'
/tmp/fw_setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr $fdt_file'

#double check the MAC Address matches with
#what is on the bottom of your Pogoplug
/tmp/fw_printenv ethaddr

#print out all uboot environment parameters
#make sure there are no errors
/tmp/fw_printenv > /fw_printenv.txt
/tmp/fw_printenv



Setup Netconsole

More info here - http://forum.doozan.com/read.php?3,14,14


#Update IP Addresses as appropriate
#ipaddr = Pogoplug IP
/tmp/fw_setenv preboot 'run preboot_nc'
/tmp/fw_setenv ipaddr '192.168.1.10'
/tmp/fw_setenv serverip '192.168.1.100'



Debian Installation on USB Hard/Flash Drive


Plug in your USB flash drive

#Partition your USB flash/hard drive
/sbin/fdisk /dev/sda

# Type in the following commands to erase
# and re-partition USB flash/hard drive
#(WARNING - FLASH/HARD DRIVE WILL BE COMPLETELY WIPED):
#
# p # list current partitions
# o # to delete all partitions
# n # new partition
# p # primary partition
# 1 (one) # first partition
# <enter> # default start block
# <enter> # default end block (to use the whole drive)
# If you're using a hard drive, create a small
# 4GB partition instead of using the whole drive,
# leaving the rest for a data partition
# +4G # to create a 4GB partition
# w # write new partition to disk


#Format USB Flash Drive
cd /tmp
wget http://archlinuxarm.org/os/pogoplug/mke2fs
chmod 755 mke2fs

#format as ext3 and label partition as 'rootfs'
./mke2fs -L rootfs -j /dev/sda1

#mount
mkdir /tmp/usb
mount /dev/sda1 /tmp/usb
cd /tmp/usb

#Download Debian rootfs
wget http://download.qnology.com/pogoplug/oxnas/Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2
wget http://download.qnology.com/pogoplug/oxnas/Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2.md5

#check md5sum
md5sum -c Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2.md5

#extract
tar -xvjf Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2

#cleanup
rm Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2*

#Sync and reboot, cross your fingers
sync
cd ..
umount /tmp/usb
reboot


At this point, your Pogoplug should boot back up into Debian. Note that the IP Address of your Pogoplug may have changed. Double check your router for the IP Address assigned to your Pogoplug or use a network scanning tool (iNet Network Scanner on iPhone) to determine the IP Address of the Pogoplug.

For Debian, the default username and password is root/root.

Initial Debian Setup


#Change password
passwd

#Generate New OpenSSH Keys
rm /etc/ssh/ssh_host*
ssh-keygen -A

#Initial update
apt-get update
apt-get upgrade

#Set hostname to DebianPlug or whatever you like
echo DebianPlug>/etc/hostname

#Set Time Zone
tzselect

reboot


Upgrade Debian to 3.18.5 kernel


Latest kernel and instructions here - http://forum.doozan.com/read.php?2,16044


#backup original kernel files
cd /boot
mkdir backup
mv *3.17* backup
mv uImage backup/uImage3.17
mv uInitrd backup/uInitrd3.17

#download from bodhi's dropbox
wget --no-check-certificate https://www.dropbox.com/s/o9fp0xg8b6aajg6/linux-3.18.5-oxnas-tld-1.bodhi.tar.bz2

#check md5
echo "df386f09cf7323472d40432d3da382d5 linux-3.18.5-oxnas-tld-1.bodhi.tar.bz2" |md5sum -c

#extract
tar -xvjf linux-3.18.5-oxnas-tld-1.bodhi.tar.bz2

#install kernel and headers
dpkg -i linux-image-3.18.5-oxnas-tld-1_1_armel.deb
dpkg -i linux-headers-3.18.5-oxnas-tld-1_1_armel.deb

#Create uImage and uInitrd manually
mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-3.18.5-oxnas-tld-1 -d /boot/vmlinuz-3.18.5-oxnas-tld-1 /boot/uImage

mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-3.18.5-oxnas-tld-1 -d /boot/initrd.img-3.18.5-oxnas-tld-1 /boot/uInitrd


#clean up
rm linux-3.18.5-oxnas-tld-1.bodhi.tar.bz2
rm *.dtb

#reboot and verify
reboot

uname -a


Pogoplug Pro Wireless Configuration


#update fdt file to pogoplug pro and reboot
#Warning: if you don't truly have a pro, your pogoplug
#will not boot properly.

fw_setenv fdt_file '/boot/dts/ox820-pogoplug-pro.dtb'
reboot


Follow Debian on Pogoplug Tutorial - Wireless Configuration


Pogoplug Pro - AzureWave AW-NE762H 802.11 b/g/n PCI Express RT3090

Pogoplug V3 - Dual 700Mhz ARM, 128MB RAM, SATA (internal),
Gigabit Ethernet, 4 USB 2.0 Ports, Wireless (Pro only)



134 comments :

  1. "fdisk" command does not exist on pogoplug-pro; how do you install it?

    ReplyDelete
    Replies
    1. got it working now; u gotta use "/sbin/fdisk /dev/sda"

      Delete
    2. Thanks for the feedback. I'll update the tutorial.

      Delete
  2. Also to confirm

    This is the ip address to the pogoplug?
    /tmp/fw_setenv ipaddr '192.168.1.10'

    This is the ip address to your desktop computer?
    /tmp/fw_setenv serverip '192.168.1.100'

    ReplyDelete
    Replies
    1. Thanks everything is working now; going to try setting up wifi next

      another change is:
      umount /tmp/usb
      reboot

      use
      "/sbin/reboot"

      Delete
  3. I'm using this script for auto wifi reconnect; Works Great! https://github.com/dweeber/WiFi_Check/blob/master/WiFi_Check

    cd /usr/local/bin/

    wget --no-check-certificate https://raw.githubusercontent.com/dweeber/WiFi_Check/master/WiFi_Check

    chmod +x WiFi_Check

    apt-get install cron

    crontab -e
    */3 * * * * /usr/local/bin/WiFi_Check

    ReplyDelete
    Replies
    1. This WiFi_Check script seems to work very well. But I feel it is a work-around, not a solution. The problem is that the Pogoplug disconnects from Wifi. This doesnt keep it from disconnecting, It just makes it reconnect within a couple minutes of being disconnected. My question is, why is the WiFi disconnecting? and is there a way to make it stay connected?

      Delete
    2. Might be your router dropping u, or weak signal. Else bad pogoplug. Is been find for me tho. The script is not a workaround for your problems. Is for when the wifi is actually down.

      Delete
    3. I thought that too, but it's 10 feet from my router (Asus RT-N65U) in the same room, and I had no issues when I used the my.pogoplug service to manage with wireless. I also experienced this exact same issue with my Pogoplug V4, with the edimax wifi adapter (and 3 other wifi adapters with the same chipset). I believe it is something in the system, or possibly the network configuration.

      Delete
    4. Also, I have a 65/70 Link Quality (I assume this is the signal Strength). Here's the output from iwconfig:

      #wlan0 IEEE 802.11bgn ESSID:"Ommited"
      # Mode:Managed Frequency:2.462 GHz Access Point: Ommited
      # Bit Rate=108 Mb/s Tx-Power=20 dBm
      # Retry short limit:7 RTS thr:off Fragment thr:off
      # Encryption key:off
      # Power Management:off
      # Link Quality=65/70 Signal level=-45 dBm
      # Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
      # Tx excessive retries:31 Invalid misc:2061 Missed beacon:0

      The Pogoplug was rebooted 2 days ago, So it appears to have restarted the wifi 31 times in that two days?

      Delete
    5. I don't think "Tx excessive retries" means that.

      Delete
  4. I use my Pogoplug Pro (P02) for a NAS with Rsync cron. I have a USB Flash drive with the rootfs plugged into the top back USB port, and two 1TB hard drives which store my info and are synced in the two usb ports below. If I reboot with the hard drives plugged in, it wont boot to the rootfs, but the light will be green. but when I pull them out, it boots to the rootfs. is it trying to boot the rootfs from the hard drives? How can I have it boot and mount everything properly?

    ReplyDelete
    Replies
    1. Yea i got the same issue, looks like we have to tell the boot loader to boot from a set usb port? not sure how that goes

      Delete
    2. In the V4 Tutorial, Qui Instructs to run the following command:
      #update boot order to include pogoplug OS
      /tmp/fw_setenv bootcmd 'run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; run bootcmd_pogo; reset'
      Is this something we can utilize in this tutorial?

      Delete
    3. Take a look at this - http://mhassan.me/2012/06/27/booting-pogoplug-from-the-right-usb-disk/

      and this - http://forum.doozan.com/read.php?3,19093,19683

      You just need to update the uboot env to include the partition label.

      Delete
    4. Hello Gurus, I followed this blog to install Debian on my Pogo Pro WIFi but stuck with USB boot issue. it works fine with front USB boot but if i can't more than one USB drive, the device is not booting.
      So, i followed http://mhassan.me/2012/06/27/booting-pogoplug-from-the-right-usb-disk/ but now i am stuck at
      "mkinitcpio -v -g /boot/kernel.img" >> -bash: mkinitcpio: command not found.
      Looks like fix is to run "pacman -Sy uboot-mkimage" but it is not valid command for Debian.

      Can someone guide me with this command or procedure.

      Thansk,

      Delete
  5. You can install OpenMediaVault on the Pogoplug Pro / V3 running bodhi's 3.18.5 rootfs following Almaz's guide here: http://forum.doozan.com/read.php?2,13630,page=3. Don't worry about the few minor errors you'll see. Make sure to login to the OMV gui before you reboot the first time so you can enable SSH. The default login is 'admin' and 'openmediavault'. The gui is suprisingly quick. Makes managing multiply disks easier. I'm running OMV along with Webmin and Shairport client (w/USB audio adapter) and the system is still quite responsive. I use a 16GB Sandisk Ultra Fit flash drive as the system disk and have connected an ESATA drive to the Pro's interior sata connector and all is groovy. Next thing to try is a port multiplier to see if it's recognized.

    ReplyDelete
  6. Hi Qui,

    I've followed your guide for the Pogoplug E02 and installed the Squeezelite service and one one a LMS. However, I don't know how to do it for a Pro with Debian. While not directly asking for personal tech advice, do you know of a way, or can point me in the right direction to get information so that I can use the Pro as I use the E02?

    Mostly everything works with my Pro, with the exception of my WiFi. But that's not a major issue.

    Thanks.

    ReplyDelete
  7. I have severe problems with USB booting on both oxnas devices I've tried (a black POGO-P21 and pink POGO-B01). This has happened with a couple of different USB flash drives/card readers. Using the default environment with dt_bootcmd_usb set to 'usb start; run dt_usb_bootcmd; usb stop; reset', U-Boot goes into a loop of:
    `
    U-Boot 2013.10-tld-4 (Sep 08 2014 - 19:43:38) for OXNAS
    gcc (Debian 4.6.3-14) 4.6.3
    GNU ld (GNU Binutils for Debian) 2.22
    Hit any key to stop autoboot: 0
    (Re)start USB...
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... cannot reset port 4!?
    2 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    Wrong Image Format for bootm command

    Led: ORANGE (Failed)
    ERROR: can't get kernel image!
    stopping USB..
    resetting ...

    U-Boot 2013.10-tld-4 (Sep 08 2014 - 19:43:38) for OXNAS
    gcc (Debian 4.6.3-14) 4.6.3
    GNU ld (GNU Binutils for Debian) 2.22
    Hit any key to stop autoboot: 0
    (Re)start USB...
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... cannot reset port 4!?
    2 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    ** Bad device usb 0 **
    Wrong Image Format for bootm command

    Led: ORANGE (Failed)
    ERROR: can't get kernel image!
    stopping USB..
    resetting ...
    `

    On the first device, if I run 'usb start' twice in a row without resetting, it works fine the second time consistently, and I can boot:
    `
    OX820> usb start
    u s b s t a r t
    (Re)start USB...
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... cannot reset port 4!?
    2 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found
    OX820> usb start
    u s b s t a r t
    (Re)start USB...
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... 3 USB Device(s) found
    scanning usb for storage devices... 1 Storage Device(s) found
    `
    On the second device, this seems to not work on port 4 (the front facing port) but does work on port 3. I don't know much about the platform details, but something doesn't seem right here. Any relevant U-Boot build params (clock related, etc.)?

    ReplyDelete
    Replies
    1. I tried an updated U-Boot 2013.10-tld-5, which didn't change anything. Moved the issue report to http://forum.doozan.com/read.php?3,16017,22310#msg-22310

      Delete
    2. The issue is most likely with the USB HD/Flash drive you're using. Try using one of the tested/recommended drives I have listed.

      Delete
  8. Does this run from the USB drive put on it to install this? I thought it install on it's internel flash. Here is a fdisk -l with a 32GB flash drive on it.

    root@DebianPlug:~# fdisk -l

    Disk /dev/mtdblock0: 14 MB, 14680064 bytes
    171 heads, 42 sectors/track, 3 cylinders, total 28672 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xaaaaaaaa

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/mtdblock0p1 ? 2863311530 1431655763 1431655765 aa Unknown
    /dev/mtdblock0p2 ? 2863311530 1431655763 1431655765 aa Unknown
    /dev/mtdblock0p3 ? 2863311530 21843 715838805 aa Unknown
    /dev/mtdblock0p4 ? 2863311530 1426085203 1428870485 aa Unknown

    Disk /dev/mtdblock1: 119 MB, 119537664 bytes
    255 heads, 63 sectors/track, 14 cylinders, total 233472 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mtdblock1 doesn't contain a valid partition table

    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


    Disk /dev/sda: 31.0 GB, 31009800192 bytes
    181 heads, 40 sectors/track, 8365 cylinders, total 60566016 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sda1 40 60562599 30281280 83 Linux
    root@DebianPlug:~#

    So it can see the /dev/mtdblock that I guess is the inside flash drive.

    -Raymond Day

    ReplyDelete
    Replies
    1. Sorry, is it not clear that Debian is installed on the USB flash drive? I have the USB flash/HD drive listed as a requirement and a section titled "Debian Installation on USB Hard/Flash Drive".

      Delete
  9. Thanks so much. Your directions worked great. BUT - now I guess I don't know what I should do. I have a plug running debian and I can ssh in etc. My install in on a 2 GB usb drive. But I am looking for the easy way to setup a home server (I think). Some place I can store movies, pics, music and stream from via my android tablets, ipad, and kodi installs throughout the house. So I installed Samba... and got to a point where it started looking tricky... then read about openmediavault - so I installed that. I got towards the end and got "Errors were encountered while processing: Collectd openmediavault.

    Okay - so I don't know if I should just continue - because next it says I will loose ssh and have to login via openmediavault and have to enable ssh. Okay - and then - I see that OMV should not be installed on a USB.

    So... just thinking I should slow down and possibly start over again. Any thoughts?

    ReplyDelete
    Replies
    1. Hi Frank, I'll give you a little hint on my thoughts..

      Did I provide a tutorial on openmediavault? Not to say it's bad, just trying to point out it's not something I blogged about.

      Delete
  10. You are correct. Can you point me to the easy Samba answer? I guess I just got into information overload and just ran from one idea to the next everytime I hit a bump. Plus I really like your tutorials since they seem to be written for mere mortals (thank you so much).

    ReplyDelete
    Replies
    1. You should be able to use the samba section from this tutorial - http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html

      Note that your harddrive will be sdb and not sda since you mentioned already using a flash drive. Might want to consider installing Debian on the first partition of your hard drive instead of using a separate flash drive. Good luck.

      Delete
    2. Thank you thank you thank you!!

      I appreciate your help. I know this is a silly question but I just don't want to screw everything up.
      Specifically - would you advise that I:
      1. Using my laptup and gparted install a new partition on my hard drive (I presume it would best to use EXT3?)
      2. Reboot my pogo with only the hard drive plugged in and follow the above instructions to get Debian on the hard drive?
      3. Follow your Pogoplug V4 instructions starting at the "Install Samba" section?
      Thanks again!

      Delete
    3. Thanks again Qui for getting me this far. With your help I got it all working now!
      So - Just in case someone has the same questions I did - I can save you the searching.
      I was easily able to transfer my install from my USB drive to my external hard drive by cloning the partition with dd.
      I booted my linux PC and used Gparted to add a small 2GB ext3 partition to the external drive.
      Then I sorta followed this https://wiki.archlinux.org/index.php/Disk_cloning
      But I couldn't get the bs or conv to work so I double checked my drive numbers and names by issuing a dmesg command and then ran sudo dd if=dev/sdb1 of=/dev/sda1
      After 10 minutes it just finished.
      Rebooted my pogo with only the external hard drive and Bingo - it just works.
      Thanks again!

      Delete
  11. Is there a tutorial on how to install plex on this?

    ReplyDelete
    Replies
    1. No. If you want Plex, I would suggest another Pogoplug device and going with Arch Linux ARM.

      Delete
  12. Hi again Qui - I have searched all around and you still have some of the best how to guides I have read. So as a followup question - now that I have my Pogoplug booting from my external hard drive and have a seperate storage partition and everything is working fine. Now I am worrying about my hard drive spinning 24 hours a day. Is that something I should just not worry about since it is not writing to it? I have googled a ton of parameters I could play with but don't know if that is wise or wrong? What is your opinion and point me and I will google away. Thanks again for all of your help!

    ReplyDelete
    Replies
    1. It's normal for the drive not to spin down because the OS is constantly writing to logs. Personally, it doesn't bother me.

      Delete
  13. Hello,

    I have debian and would like to change the OS to Archlinux, can someone point me to the directions.

    ReplyDelete
    Replies
    1. Hi Rob,

      Arch Linux is not supported on the Pogoplug Pro/V3 (OXNAS) currently. Check the ARCH linux forum, maybe they will bring back support, maybe not.

      Qui

      Delete
  14. I got an error while doing the flash_erase. Perhaps I have bad blocks in my flash? I'm using a PogoPlug Pro.

    ...
    /tmp # tar -xf uboot.2013.10-tld-4.ox820.bodhi.tar
    /tmp # /tmp/flash_erase /dev/mtd0 0x0 6
    Erase Total 6 Units
    Performing Flash Erase of length 131072 at offset 0xa0000 done
    /tmp # /tmp/nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
    Writing data to block 0 at offset 0x0
    /tmp # /tmp/nandwrite -s 262144 /dev/mtd0 uboot.2013.10-tld-4.ox820.mtd0.img
    Writing data to block 2 at offset 0x40000
    Writing data to block 3 at offset 0x60000
    Writing data to block 4 at offset 0x80000
    Writing data to block 5 at offset 0xa0000
    /tmp # /tmp/flash_erase /dev/mtd0 0x00100000 1
    Erase Total 1 Units
    Performing Flash Erase of length 131072 at offset 0x100000
    MTD Erase failure: Input/output error

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. I've a problem, during the installation the power went down.
    After the power was back I wanted to ssh to the pogoplug but I get a time-out error.
    The pogoplug is seen by the router on the right IP address.

    How can I restore my pogoplug?

    The power went down when I was at the following step:
    #mount
    mkdir /tmp/usb
    mount /dev/sda1 /tmp/usb
    cd /tmp/usb

    #Download Debian rootfs
    wget http://download.qnology.com/pogoplug/oxnas/Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2
    wget http://download.qnology.com/pogoplug/oxnas/Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2.md5

    ReplyDelete
  17. UNBRICK your oxnas Follow the step here http://archlinuxarm.org/forum/viewtopic.php?f=55&t=2146 this lets you boot pass the nand from a hard drive. Then follow the step here. I was able to recover the booting process and boot into debian. Remember i wipe out my pogoplug by following the wrong procedure it was Garbage so i was told. Now if someone can point me how to install the original environment that be great
    Thanks
    Nick

    ReplyDelete
  18. the pogo p01 comes with wifi and interal sata?

    I purchased a p22 by mistake on amazon thinking its label was pro model...

    I also purchased 8 gig ssd for hopes to use the internal sata...

    I wish there was documentation on all the boards [front and back]

    ReplyDelete
  19. Are the download links down? I am not able to install uBoot at all. Connection timeout when trying to get the download files.

    ReplyDelete
    Replies
    1. Thank you for letting me know. Should be working now. Sorry, my VPS went down for some reason.

      Delete
  20. I install everything correctly. but when I try to load nothing happened. it says "The connection has timed out"
    I saw the DebianPlug on my router with a specific ip address. but I don't get anything. what should I do next?

    ReplyDelete
  21. I installed arch Linux to my pogoplug pro which it was still supported, and haven't been used it for quite a while. Is it still OK to follow the above instruction to install Debian on it? Thanks!

    ReplyDelete
  22. Hi Qui, I followed your instructions. But at the point where I had to download http://download.qnology.com/pogoplug/oxnas/Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2 using "wget" it took forever and didn't download after many retries. Getting stuck around 32 MB. So I followed the link you posted below to http://forum.doozan.com/read.php?2,16044 link where that link has dropbox link to download linux 4.1.0 tarball. I downloaded that and extracted that instead of 3.17.0 tarball. After reboot, pogoplug is not allowing the ssh. When I ping the IP address of pogo (based on router), I can icmp request responses and then they go away and come back. But I cannot ssh.

    I believe 4.1.0 was an upgrade on top of 3.17.0 tarball right? What should I do now?

    Probably plug in the existing USB flash drive, or use new USB,
    then partition is again and download 3.17.0 and extract on it?
    then plug it back into pogo ? Will that work?

    ReplyDelete
    Replies
    1. I just did what I posted above.. i.e. booted into Ubuntu on my machine, plugged the USB and I was able to read the files I had extracted from Bodhi's 4.1.0 tarball.

      I deleted them.
      I also found Dropbox link on Bodhi's site to same Debian 3.17.0 tarball you posted above.
      Verified the checksum with your md5
      I extracted tarball successfully onto same USB flash
      plugged the USB on top back USB port of my Pogoplug PRO
      but its doing same thing. The ping (icmp) is responding and going away.

      I think pogo plug is keep on rebooting I believe and not able to boot into USB.

      I will appreciate if you can respond and help please. Thank you!

      Delete
    2. I see this thru netconsole cat. Sounds like bad USB drive OR something else?

      U-Boot 2013.10-tld-4 (Sep 08 2014 - 19:43:38) for OXNAS
      gcc (Debian 4.6.3-14) 4.6.3
      GNU ld (GNU Binutils for Debian) 2.22
      Hit any key to stop autoboot: 0
      (Re)start USB...
      USB0: USB EHCI 1.00
      scanning bus 0 for devices... 3 USB Device(s) found
      scanning usb for storage devices... 1 Storage Device(s) found
      ** File not found /boot/uImage **
      ** File not found /boot/uInitrd **
      ** File not found /boot/dts/ox820-pogoplug-classic.dtb **
      Wrong Image Format for bootm command

      Led: ORANGE (Failed)
      ERROR: can't get kernel image!
      stopping USB..
      resetting ...

      U-Boot 2013.10-tld-4 (Sep 08 2014 - 19:43:38) for OXNAS
      gcc (Debian 4.6.3-14) 4.6.3
      GNU ld (GNU Binutils for Debian) 2.22
      Hit any key to stop autoboot: 10

      Delete
    3. Qui, Its working now. Based on error above that it couldn't find /boot/uImage and /boot/uInitrd, I stood up Debian VM and opened up the USB flash again. I extracted the Debian tarball separately in temp folder on Debian and compared the filesystem with USB flash. I was shocked to see that it did not have all the folders and files from tarball. So when I extracted tarball yesterday night, it did not extract everything for some reason and also did not error out. Very weird.

      Anyways, I just extracted again, loaded the USB and now it started fine. I realized it assigned different IP that what I had put in for fw_setenv ipaddr. But that might be just for netconsole I guess. I'm good now. Thanks for great tutorial. Hopefully my experience and comments will be useful to others.

      Cheers!

      Delete
  23. This comment has been removed by the author.

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. will this work on the pogoplug biz? they're on sale right now under $10

    ReplyDelete
  26. My pogoplug dont boot.

    I`m do first restart and see this on serial connection

    U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
    Boot device: NAND
    Attempting to set PLLA to 850 MHz ...
    plla_ctrl0 : 0000020a
    plla_ctrl1 : 00330000
    plla_ctrl2 : 0065008b
    plla_ctrl3 : 000000f1

    PLLA Set

    ----

    No boot flash disk

    Please help

    ReplyDelete
  27. For the mke2fs file, I had to use the url http://fl.us.mirror.archlinuxarm.org/os/pogoplug/mke2fs since the one you gave redirected to an https site, which the wget binary you provided doesn't work with.

    ReplyDelete
  28. Are the download.qnology.com links down?
    I keep getting a connection timeout error.
    Your VPS might be down again for some reason.

    ReplyDelete
  29. This comment has been removed by the author.

    ReplyDelete
  30. all below not working:
    wget http://download.qnology.com/pogoplug/v4/nanddump
    wget http://download.qnology.com/pogoplug/v4/nandwrite
    wget http://download.qnology.com/pogoplug/v4/flash_erase
    wget http://download.qnology.com/pogoplug/v4/fw_printenv
    wget http://download.qnology.com/pogoplug/v4/fw_setenv

    will appreciate if you can fix them. Thanks!

    ReplyDelete
  31. Anyone had found a working link to the rootfs files? Or an other idea to get my Pogoplug back working?

    ReplyDelete
    Replies
    1. Search the doozan forum for the filenames and you'll find them.

      Delete
  32. Hello guys. I've got an issue where my unit uboots and then gets to the usb system and hangs:

    starting USB...
    USB0: USB EHCI 1.00
    scanning bus 0 for devices...

    Anything I can do about this? It doesn't matter what I plug in. I can try booting from Sata, but I don't have that cable handy at the moment.

    I've also go another pro that displays a dim blue LED on the board and I get no response from console. I've written this off as a bad flash, but if anyone has advice, I'd be willing to listen.

    Thanks!

    ReplyDelete
  33. Thanks for the always useful information. This is great information to help garage type SEO people like me.
    Change MAC Address v3.1

    ReplyDelete
  34. Hi Qui Hong, any chance to bring the links back up? A lot of them are not reachable any longer...

    ReplyDelete
    Replies
    1. You can get them off of the internet archive using the wayback machine.

      Delete
    2. That's a great tip and I'm mad I didn't think of it before, I use wayback a lot. I've been meaning to download this debian build to replacle arch, now I can! Thanks a lot

      Delete
  35. Illegal hacking is oftentimes used as a tool for theft. Increasing security measures have to be employed to protect computer systems from this heinous crime. Advanced Hacking Tutorials

    ReplyDelete
  36. Why do they want my personal information? In the real world, people use scams for the sole purpose of getting money. hack FB

    ReplyDelete
  37. You could make use of the exact same account on various gadgets Hulu Sign Up View Motion Pictures, TV Reveals, Anime.

    ReplyDelete
  38. Without trouble, the item is absolutely the fine problem remember in this registry associated problem. I would really like to look you again and will eagerly appearance ahead for your next updates. Gmod game

    ReplyDelete
  39. The blogging scene has become more worldwide than ever, with a vast array of competitive topics. Even with the ever-rising social networks, the BLOG will always have its distinct place on the Internet. In retrospect, what platforms are more widely used than others.cheap shoes in Pakistan

    ReplyDelete
  40. converts the hardness in the water TopWaterSoftenerCup1 into microscopic crystals. It additionally Water Softener Review 2017 – How To Get Clean Water? has a 7 year guarantee and also Water Softener Review 2017 – How To Get Clean Water? is an amazing choice that will certainly Latest Posts conserve your money as compared to the my response other softeners which call for salt.

    ReplyDelete
  41. A successful blog will have content written with the audience in mind and provide beneficial and valuable information. If you can really connect and help with a problem or issue that your reader can relate to, he or she will continue to come back to read more.mens casual dress shoes

    ReplyDelete
  42. They'll now only have to beat the other person up in terms of performance and friendliness of their sites. Again, it depends upon what games they provide. Online Slope unblocked

    ReplyDelete
  43. It is an informative post.

    ReplyDelete
  44. Today, I like to read about hacking and viruses, these are not just annoying but very dangerous, and how to personally stay diligent to avoid them. Please don’t use same password for all accounts. Use Random Password Generator, This article I hope will be most helpful and provide you valuable insight on keeping your personal information and friends safe!

    ReplyDelete
  45. I have seen many posts but your post best.
    https://biography2010.blogspot.com

    ReplyDelete
  46. After a year, analysing all kinds of diets, finally understood that we should eat normal foods that are grown locally from our native home town... no packed or imported foods. This is the trick but nobody ill like this comment!! factory inc hack

    ReplyDelete
    Replies
    1. Diet, it all comes down to sugar you eat too much sugar and it goes to fat carbohydrates convert into sugar that's why we got to breathe the oxygen air mixes with the sugar our pancreas releases insulin and it gets it in our cells iron helps get the oxygen in our cells. That's why when you exercise you breathe harder you're burning more sugar. And sugar comes from the plants that come from the Sun and fruits and vegetables have fiber and they slow down that sugar.

      If you stop eating bread anything with corn any pasta and even vegetable oils for your health that's what's causing all the heart disease, you'll lose weight.

      Trying to stay away from processed food too the type where you look at the ingredients and they have like 30 different things.

      Nothing to do with the pogoplug. This guy just wanted to put in a link he couldn't do a little text like this and just tell people.

      Delete
    2. Oh yeah one more thing try and stay away from high fructose corn syrup that goes right to your liver and can cause fatty liver before you only got fatty liver from beer drinkers now it's from people who eat too much high fructose corn syrup. It's in pop a lot of drinks ketchup and mayonnaise a lot of other things.

      Delete
  47. Hi Qui,
    Not sure you are running this still. But I have a new problem. I followed your setup and had it running for some time. But I moved a couple of times since then and I lost the USB drive somehow. Now I don't know how to start over. I can't seem to SSH into the plug at all. I found the plug on my network and get a green blinking light followed by green solid and then amber blinking... then blank - and then that starts over again. Any thoughts?

    ReplyDelete
  48. You are the smartest, you are much louder and I hope you give me a heart zero city zombie shelter survival hack

    ReplyDelete
  49. it's working fine for me! Thank you for sharing this with us dominations hack

    ReplyDelete
  50. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. Cracking

    ReplyDelete
  51. Your online journal gave us profitable data to work with. Each and every tips of your post are marvelous. Much appreciated for sharing. Continue blogging, How to recover my bitcoin passphrase

    ReplyDelete
  52. Certainly with your thoughts here and that i love your blog! I’ve bookmarked it making sure that I can come back & read more in the foreseeable future.
    Sindh News

    ReplyDelete
  53. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work iPhone

    ReplyDelete
  54. instastalker is used to stalk an instagram profile anonymous.
    youtube thumbnail downloader used to download youtube thumbnail from any video.

    ReplyDelete
  55. Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us, I too always learn something new from your post.
    Packers and movers in Muzaffarpur
    Packers and Movers in Ghaziabad

    ReplyDelete
  56. Well with your permission allow me to grab your RSS feed to keep updated with forthcoming
    post. Thanks a million and please carry on the enjoyable work.

    Here is my web site - 부산오피
    (jk)

    ReplyDelete
  57. This is awesome article, thanks for sharing this type article you can also get my accounting software service at

    QuickBooks Customer Service

    ReplyDelete
  58. I’m not that much of a internet reader to be honest but your blogs really nice, keep it. 카지노사이트

    ReplyDelete
  59. This is good-looking appealing , i was searching for somewhat but found your site as a substitute through Google . I be in love with networking. Anyways, really wanted in the direction of drop through and say hello . i have subscribed in the direction of your site plus i am hunting onward in the direction of the updates , Gratitude… White House Market Link

    ReplyDelete
  60. An intriguing discussion is worth comment. There’s no doubt that that you should write more about this subject,
    it might not be a taboo matter but usually people don’t discuss such subjects.
    To the next! All the best!!
    경마

    magosucowep

    ReplyDelete



  61. Great to become visiting your weblog once more, it has been a very long time for me. Pleasantly this article i've been sat tight for such a long time. I will require this post to add up to my task in the school, and it has identical subject along with your review. Much appreciated, great offer. data science course in nagpur<a href="https://360digitmg.com/india/data-science-using-python-and-r-programming-in-nagpur>data science course in nagpur</a>

    ReplyDelete
  62. 카지노사이트
    카지노사이트홈
    카지노

    very good and unique article, thanks for sharing, keep up the good work.

    ReplyDelete
  63. 스포츠토토
    토토사이트
    안전놀이터


    Way cool! Some very valid points! I appreciate you penning
    this write-up and the rest of the site is also really good.

    ReplyDelete
  64. Amazing issues here. I am very glad to see your post. Thanks so much and I’m taking a look forward to contact you.

    무료야설

    ReplyDelete
  65. Great blog right here! Additionally your site a lot up very fast! What host are you the use of? Can I am getting your associate hyperlink in your host? I wish my web site loaded up as fast as yours 휴게텔

    ReplyDelete
  66. This comment has been removed by the author.

    ReplyDelete
  67. This comment has been removed by the author.

    ReplyDelete
  68. I'm writing on this topic these days, 메리트카지노, but I have stopped writing because there is no reference material. Then I accidentally found your article. I can refer to a variety of materials, so I think the work I was preparing will work! Thank you for your efforts.


    ReplyDelete
  69. Hi everyone, it’s my first pay a visit at this site, and piece of writing iis really fruitful iin suppoirt of me, keep upp postingg these types of articles. 바카라사이트

    ReplyDelete
  70. 온라인카지노 It’s really a great and useful piece of information. I am happy that you just
    shared this useful information with us. Please stay us informed like this.
    Thank you for sharing.

    ReplyDelete
  71. I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. ufa

    ReplyDelete
  72. 토토 Great article! That kind of information is shared on the internet. Come and consult with my website. Thank you

    ReplyDelete
  73. Nice. Keep writing such beautiful blogs. Turkey visit visa requirements are updated as per the requirement of Time . And you can also read all the information about the turkey entry requirement by 1 click.

    ReplyDelete
  74. Hello everyone, Hey there!I want to give you a big thumbs up for your excellent information here on this post. Foreign citizens can apply for India tourist visa, used for tourism, visiting family and friends, or attending a yoga retreat. Learn more about the Indian tourist visa online.

    ReplyDelete
  75. Hulu load failure on samsung tv is a membership administration possessed by Walt Disney. It's accessible on different streaming gadgets, like Samsung televisions. This help offers a tremendous library of movies, including films from twentieth Century Fox, Searchlight Pictures, Disney TV Studios, FX Organizations, ABC, and some more.

    ReplyDelete
  76. Great article with Very Unique Content.
    Thank you For Sharing.....!

    ServiceNow Training

    ServiceNow is a cloud-based software platform that has the features to combine IT operations, HR service, security systems, IT business management, and customer services into one single system of record. The platform is based on ITIL guidelines to provide service orientation for tasks, activities, and processes

    ReplyDelete
  77. Will gonna check out those references. Thanks for sharing! Find Us on Google

    ReplyDelete
  78. A Cameroon visa is a travel document that allows foreigners to enter Cameroon for a limited period. The type of visa required will depend on the purpose of the visit, such as tourism, business, or study. The application process and requirements may vary depending on the country of origin and the type of visa required. It is important to check the visa requirements and application procedures well in advance of the planned travel dates to avoid any delays or complications. Additionally, travelers should ensure they meet all the necessary entry requirements, including valid passports, visas, and any required vaccinations.



    ReplyDelete
  79. Hii everyone, All you need to know about Turkey visas. Navigating the process of obtaining a Turkish e-Visa is essential for travelers. This guide provides comprehensive information on Turkey e-Visas, including application procedures, eligibility criteria, fees, and important details to ensure a smooth entry into this fascinating country.

    ReplyDelete
  80. Hii everyone, Welcome to the Azerbaijan visa official website. Whether you're planning a business trip or a leisurely adventure, this platform offers a streamlined process to acquire your visa and explore the rich cultural tapestry of Azerbaijan.

    ReplyDelete
  81. Great post! Your insights are enlightening and I can't wait to read more. Keep it up! Azerbaijan offers various visa types for visitors, including tourist, business, transit, and e-visa options. Explore Azerbaijan visa types to ensure a hassle-free entry into this stunning country.

    ReplyDelete
  82. The official website for Azerbaijan e-Visa is your gateway to hassle-free travel to this captivating Eurasian nation. As you plan your journey to explore Azerbaijan's diverse landscapes, vibrant culture, and historical treasures, this website plays a pivotal role in obtaining your travel authorization. Designed for simplicity and convenience, the official e-Visa portal streamlines the application process, making it accessible to travelers worldwide. In this guide, we will provide you with essential information and a step-by-step walkthrough to navigate the official website for Azerbaijan e-Visa. Let's embark on your Azerbaijani adventure by accessing this user-friendly platform.

    ReplyDelete
  83. "Your dedication to sharing valuable information is truly admirable. Thank you for your insightful content!" Tanzanian citizens can obtain an Indian visa for tourism, business, or medical purposes. India Visa for Tanzania Citizens. The application process is available online or at authorized centers. Ensure all necessary documents are ready, pay the fees, and follow processing guidelines, which may vary. Check eligibility before applying and look forward to your visit to India!

    ReplyDelete
  84. Hello everyone, The 5 year Indian visa for uk citizens is a remarkable opportunity, fostering stronger ties between the two nations. This extended visa duration enhances accessibility and encourages deeper exploration of India's diverse wonders and experiences.

    ReplyDelete
  85. Your generosity in sharing these insights is acknowledged. I'm excited to engage in the event and delve into this captivating subject matter.I'd like to share some insights about traveling in Turkey. apply for Turkey visa online, Fill out the application form with your details, make the payment, and receive your e-visa via email. It's a quick and convenient way to prepare for your trip, eliminating the need for embassy visits or dealing with government procedures.

    ReplyDelete
  86. I'm captivated by your blog! The manner in which you effortlessly blend profound insights with eloquent storytelling propels readers on a thoughtfully designed adventure through a vast world of knowledge, accommodating various preferences. Your remarkable skill in simplifying complex ideas is truly commendable. Furthermore, in response to the question "Do US citizens need a visa for Turkey?" indeed, US citizens are obligated to acquire a visa. It is essential to secure one before departure, utilizing either the Turkish e-Visa system or the consulate, to adhere to Turkey's entry requirements and facilitate a seamless trip.

    ReplyDelete
  87. Great article! That kind of information is shared on the internet. Come and consult with my website. Thank you

    hashtags for instagram

    ReplyDelete
  88. "Discover, explore, and optimize your hashtag game with our user-friendly platform! Elevate your social media presence effortlessly.#HashtagHeaven #BoostYourReach #SocialMediaSuccess"
    valentine hashtag

    ReplyDelete
  89. Thank you for this insightful article. I appreciate you taking the time to research and share this useful information. Content like this is so important for readers to find online. After enjoying your well-written piece, I'm excited to learn more by exploring your website.

    Keep up the great work creating content that educates people on important topics and adds value to the online conversation. We need more writers and publishers willing to provide researched-based perspectives to engage audiences. I will be sure to follow your site and read more of your work in the future. Please feel free to check out my website as well if you’re interested in my commentary on related subjects. I look forward to exchanging ideas and perspectives
    Bigg Boss Malayalam

    ReplyDelete
  90. Looking forward to more stimulating conversations sparked by your exceptional writing skills! Embarking on an enchanting journey to Bahrain? Stay worry-free with a quick peek at your bahrain visa application status. Unlock the doors to your Arabian adventure effortlessly

    ReplyDelete
  91. Thanks for the detailed guide on hacking the Pogoplug! It's always fascinating to see how technology can be repurposed for different needs. On a different note, if you're interested in community support initiatives, you might want to explore how organizations like Habitat for Humanity provide cars for single moms. This can be a life-changing resource for those in need. Websites like Help Single Mother also offer more information on how single mothers can find assistance with transportation and other essential needs. Keep up the great work with your tech insights!

    ReplyDelete
  92. Great guide on hacking the Pogoplug! It's always fascinating to see how these devices can be repurposed and extended beyond their original capabilities. On a slightly different note, I wanted to mention something that might be useful to readers who are dealing with transportation challenges. If anyone is in need of help with transportation, the vehicle assistance program by Cars for your Help is a fantastic resource that can provide much-needed support. Thanks again for the detailed guide—it’s always inspiring to see technology being used in creative ways!

    ReplyDelete