All of the guides to show how to install Debian Linux on a Pogoplug E02 I found on the Internet are out of date so I decided to add to the list of outdated guides for the future generations.
I am going to use http://projects.doozan.com/debian/ site as the base, there is a forum that is well supported and still has developers adding to the effort.
First off there is no way to connect to the stock Pogoplug from a web interface. The fine asshats at Pogoplug.com have locked you out with a firmware upgrade and they will provide you no assistance and actually lie on how to do it.
There are plenty of current guides on how to connect to the pogoplug with the cable to enable ssh, here is what I used:
http://geekyschmidt.com/2013/12/17/serial-port-on-the-pogoplug-v2
You can get a cable on Amazon for under $5. Note which color wires are tx, rx. gnd. Power will not be used.
You will need a serial cable to connect to the Pogoplug and then you can edit /etc/init.d/rcS to enable ssh connections.
Make a line like the telenet option but for dropbear (ssh). Uncomment telnet also if you want that.
You can end here with ssh enabled for the pogoplug and use it as it was designed if you like but I am going to replace the default OS with Debian Linux.
The Doozan website has all the scripts to make this easy but some of the stuff is dated so I will walk you around the problems I encountered.
Firstly you will have to start with installing Lenny on the system. The other versions do not work at this time. The Wheezy version says that the firmware on the Pogoplug is to old. The Squeeze version does not work cause Debian moved the file locations and the script cant find them.
That leaves good OLD outdated, unsupported and vulnerable Lenny.
First you will need to set up a usb drive to be used for the install. You can use gparted or fdisk.
Delete any existing partitions and add a primary and swap partition. I had an 8gb usb so I set 7 gb to the primary linux partition and 1gb as a linux swap. Remember to set the primary partition to boot.
Then you can write the changes.
I had problems with the wget command not working which breaks the scripts. I needed to make a link to the busybox wget command to get it to work.
We need to install a new uboot to the Pogoplug.
http://projects.doozan.com/uboot/
Now we want to set up fw_setenv
Lets make sure it works
We can setup netconsole so we dont need to have the cable connected if we want.
http://forum.doozan.com/read.php?3,14,14
On Pogoplug
On computer
Lets change the arcnumber to the Pogoplug one
Add your device mac address from bottom of stand
The pogoplug does not save the time and date so lets set it.
i.e. date 072303252016
Now we can start installing Lenny
http://projects.doozan.com/debian/install_lenny.htm
After it has finished reboot
I needed to reset the fw_setenv
http://projects.doozan.com/uboot/
Now we want to set up fw_setenv on the usb
Lets make sure it works
Reset the date
Change the sources list
Comment out all the existing ones and add:
We need to import the keys, they are expired but nothing we can do about that.
Now update the system.
Lets verify the kernel version so we can verify upgrades for it
"Linux debian 2.6.33 #2 PREEMPT Tue Mar 2 14:27:17 MST 2010 armv5tel GNU/Linux"
reboot the system
Reset the date
Change the sources list
Comment out all the existing ones and add:
Import the keys again
Now update the system.
Lets verify the kernel version so we can verify upgrades for it
reboot
"Linux debian 2.6.32-5-kirkwood #1 Tue May 13 17:59:08 UTC 2014 armv5tel GNU/Linux"
Reset the date
Change the sources list
Comment out all the existing ones and add from https://debgen.simplylinux.ch/generate.php:
Import the keys again
Now update the system.
Lets verify the kernel version so we can verify upgrades for it
reboot
I think I am seeing a pattern here.
Reset the date
Change the sources list
Comment out all the existing ones and add from https://debgen.simplylinux.ch/generate.php:
Import the keys again
Now update the system.
Lets verify the kernel version so we can verify upgrades for it
Linux debian 2.6.32-5-kirkwood #1 Tue May 13 17:59:08 UTC 2014 armv5tel GNU/Linux
Reset the date
3.2.0-4-kirkwood #1 Debian 3.2.81-1 armv5tel GNU/Linux
Yay!
You are free to do what you want to use your Pogoplug for.
I am setting up a webserver, vpn, cloud file server, torrent for debian distro sharing.
I had a lot of problems with things breaking from using sources from here and there that I wanted to have it all in one place should others find themselves doing this too.
If you have additions/deletions you think should be made let me know so I can update this.
Much thanks to those who have produced/documented all of this info over time.
I am going to use http://projects.doozan.com/debian/ site as the base, there is a forum that is well supported and still has developers adding to the effort.
First off there is no way to connect to the stock Pogoplug from a web interface. The fine asshats at Pogoplug.com have locked you out with a firmware upgrade and they will provide you no assistance and actually lie on how to do it.
There are plenty of current guides on how to connect to the pogoplug with the cable to enable ssh, here is what I used:
http://geekyschmidt.com/2013/12/17/serial-port-on-the-pogoplug-v2
You can get a cable on Amazon for under $5. Note which color wires are tx, rx. gnd. Power will not be used.
You will need a serial cable to connect to the Pogoplug and then you can edit /etc/init.d/rcS to enable ssh connections.
mount -o remount,rw / vi /etc/init.d/rcS
Make a line like the telenet option but for dropbear (ssh). Uncomment telnet also if you want that.
You can end here with ssh enabled for the pogoplug and use it as it was designed if you like but I am going to replace the default OS with Debian Linux.
The Doozan website has all the scripts to make this easy but some of the stuff is dated so I will walk you around the problems I encountered.
Firstly you will have to start with installing Lenny on the system. The other versions do not work at this time. The Wheezy version says that the firmware on the Pogoplug is to old. The Squeeze version does not work cause Debian moved the file locations and the script cant find them.
That leaves good OLD outdated, unsupported and vulnerable Lenny.
First you will need to set up a usb drive to be used for the install. You can use gparted or fdisk.
fdisk /dev/sda
Delete any existing partitions and add a primary and swap partition. I had an 8gb usb so I set 7 gb to the primary linux partition and 1gb as a linux swap. Remember to set the primary partition to boot.
Then you can write the changes.
I had problems with the wget command not working which breaks the scripts. I needed to make a link to the busybox wget command to get it to work.
ln -s /usr/sbin/busybox/wget /usr/sbin/wget
We need to install a new uboot to the Pogoplug.
http://projects.doozan.com/uboot/
cd /tmp wget http://projects.doozan.com/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh
Now we want to set up fw_setenv
cd /tmp wget http://jeff.doozan.com/debian/uboot/fw_printenv wget http://jeff.doozan.com/debian/uboot/fw_env.config chmod 755 fw_printenv chmod 644 fw_env.config mv fw_printenv /usr/sbin ln -s /usr/sbin/fw_printenv /usr/sbin/fw_setenv mv fw_env.config /etc
Lets make sure it works
/usr/sbin/fw_printenv
We can setup netconsole so we dont need to have the cable connected if we want.
http://forum.doozan.com/read.php?3,14,14
On Pogoplug
fw_setenv serverip xxx.xxx.xxx.xxx "computer ip address" fw_setenv ipaddr xxx.xxx.xxx.xxx "pogoplug ip address" fw_setenv if_netconsole 'ping $serverip' fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;' fw_setenv preboot 'run if_netconsole start_netconsole'
On computer
nc -l -u -p 6666 & nc -u xxx.xxx.xxx.xxx 6666 "pogoplug ip address" killall nc "after you've finished to kill the background nc process"
Lets change the arcnumber to the Pogoplug one
fw_setenv arcnumber 3542
Add your device mac address from bottom of stand
fw_setenv ethaddr xx:xx:xx:xx:xx:xx
The pogoplug does not save the time and date so lets set it.
date MMDDHHMMYYYY
i.e. date 072303252016
Now we can start installing Lenny
http://projects.doozan.com/debian/install_lenny.htm
cd /tmp wget http://projects.doozan.com/debian/dockstar.debian-lenny.sh chmod +x dockstar.debian-lenny.sh ./dockstar.debian-lenny.sh
After it has finished reboot
uname -a
I needed to reset the fw_setenv
http://projects.doozan.com/uboot/
cd /tmp wget http://projects.doozan.com/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh
Now we want to set up fw_setenv on the usb
cd /tmp wget http://jeff.doozan.com/debian/uboot/fw_printenv wget http://jeff.doozan.com/debian/uboot/fw_env.config chmod 755 fw_printenv chmod 644 fw_env.config mv fw_printenv /usr/sbin ln -s /usr/sbin/fw_printenv /usr/sbin/fw_setenv mv fw_env.config /etc
Lets make sure it works
/usr/sbin/fw_printenv
Reset the date
date MMDDHHMMYYYY
Change the sources list
vi /etc/apt/sources.list
Comment out all the existing ones and add:
#------------------------------------------------------------------------------# # OFFICIAL LENNY DEBIAN REPOS #------------------------------------------------------------------------------# deb http://archive.debian.org/debian-archive/debian/ lenny main contrib non-free deb http://archive.debian.org/debian-security/ lenny/updates main contrib non-free
We need to import the keys, they are expired but nothing we can do about that.
apt-key update
Now update the system.
apt-get update && apt-get upgrade && apt-get dist-upgrade
Lets verify the kernel version so we can verify upgrades for it
uname -a
"Linux debian 2.6.33 #2 PREEMPT Tue Mar 2 14:27:17 MST 2010 armv5tel GNU/Linux"
reboot the system
reboot
uname -a
Reset the date
date MMDDHHMMYYYY
Change the sources list
vi /etc/apt/sources.list
Comment out all the existing ones and add:
#------------------------------------------------------------------------------# # OFFICIAL SQUEEZE DEBIAN REPOS #------------------------------------------------------------------------------# deb http://archive.debian.org/debian squeeze main
Import the keys again
apt-key update
Now update the system.
apt-get update && apt-get upgrade && apt-get dist-upgrade
Lets verify the kernel version so we can verify upgrades for it
uname -a
reboot
uname -a
"Linux debian 2.6.32-5-kirkwood #1 Tue May 13 17:59:08 UTC 2014 armv5tel GNU/Linux"
Reset the date
date MMDDHHMMYYYY
Change the sources list
vi /etc/apt/sources.list
Comment out all the existing ones and add from https://debgen.simplylinux.ch/generate.php:
#------------------------------------------------------------------------------# # OFFICIAL WHEEZY DEBIAN REPOS #------------------------------------------------------------------------------# ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free ###### Debian Update Repos deb http://security.debian.org/ wheezy/updates main contrib non-free deb http://ftp.us.debian.org/debian/ wheezy-proposed-updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy-proposed-updates main contrib non-free
Import the keys again
apt-key update
Now update the system.
apt-get update && apt-get upgrade && apt-get dist-upgrade
Lets verify the kernel version so we can verify upgrades for it
uname -a
reboot
I think I am seeing a pattern here.
Reset the date
date MMDDHHMMYYYY
Change the sources list
vi /etc/apt/sources.list
Comment out all the existing ones and add from https://debgen.simplylinux.ch/generate.php:
#------------------------------------------------------------------------------# # OFFICIAL JESSIE DEBIAN REPOS #------------------------------------------------------------------------------# ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ jessie main contrib non-free deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free ###### Debian Update Repos deb http://security.debian.org/ jessie/updates main contrib non-free deb http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free deb-src http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free
Import the keys again
apt-key update
Now update the system.
apt-get update && apt-get upgrade && apt-get dist-upgrade
Lets verify the kernel version so we can verify upgrades for it
uname -a
Linux debian 2.6.32-5-kirkwood #1 Tue May 13 17:59:08 UTC 2014 armv5tel GNU/Linux
reboot
Reset the date
date MMDDHHMMYYYY
uname -a
3.2.0-4-kirkwood #1 Debian 3.2.81-1 armv5tel GNU/Linux
Yay!
You are free to do what you want to use your Pogoplug for.
I am setting up a webserver, vpn, cloud file server, torrent for debian distro sharing.
I had a lot of problems with things breaking from using sources from here and there that I wanted to have it all in one place should others find themselves doing this too.
If you have additions/deletions you think should be made let me know so I can update this.
Much thanks to those who have produced/documented all of this info over time.