I just installed Arch on my V2 (Pink) pogoplug. Love the distribution but I also wanted to get my Pogo functionality back. I know the senior tech folks at CloudEngines and they helped me a bit. I asked them if I could share the information with this community and they said I could. Please note neither I nor anyone at CloudEngines *** SUPPORTS, ENDORSES, or otherwise stands behind this procedure. You should USE AT YOUR OWN RISK understanding you may DESTROY YOUR DEVICE *******.
Here is what I did, assuming you didn't save your old pogo software and have no pogo software installed/running:
# cd /tmp
# wget http://upgrade.pogoplug.com/svc/upgrade ... 28_upgrade
# chmod +x cloudengines_pogoplug_3_2_6_201203220028_upgrade
#mkdir /usr/local/cloudengines
# cd /usr/local/cloudengines
# /tmp/cloudengines_pogoplug_3_2_6_201203220028_upgrade
You will get a lot of errors when you run the upgrade package as it assumes a different linux setup (init.d) and some kernel modules are not built for this kernel. Ignore all that.
You will need to set some configuration. In /usr/local/cloudengines/bin there is a file called hbplug.conf. You need to edit it. Make sure the line for install dir is:
installdir=/usr/local/cloudengines
and add this:
# Tells hbplug to not attempt to mount anything automatically
nohotplug=1
for each data directory add:
# Tells hbplug to use the specified absolute path as a share point with the name media
# The <d> value is a digit starting with 0 and incrementing by one for each share
# vfsdir<d>=media,/somedir/someotherdir/media
vfsdir0=plugdata,/usr/local/cloudengines/data
Finally, I added the following to rc.local. I added this before the start funciton:
INSTDIR=/usr/local/cloudengines
In the start funciton I added:
echo -n "Starting hbplug: "
ulimit -n 65536
ulimit -c unlimited
nohup $INSTDIR/bin/hbwd $INSTDIR/bin/hbplug > /dev/null 2>&1 &
echo "Success"
and in the stop funciton I added:
echo -n "Shutting down hbplug: "
if pidof hbwd > /dev/null; then
killall hbwd > /dev/null 2>&1
retries=120
while pidof hbwd > /dev/null && [ $retries -gt 0 ]; do
sleep 1;
let retries--
done
if [ $retries -eq 0 ]; then
echo "Failure"
else
echo "Success"
fi
killall -9 ffmpeg
else
echo "Not Running"
fi
You might want to set the hostname for you plug to something other than the default. Once you have done the above and started the pogo process, you'll need to open a browser from a machine on the same network as your plug to http://my.pogoplug.com Login and then use this interface to add the plug. I made sure that there was at least one file/directory in my data directory so that when I added the plug I could see the contents and hence knew all was working.
Hopefully I haven't forgotten anything. Enjoy.