[How-To] install my.pogoplug.com service on any armv5 device

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[How-To] install my.pogoplug.com service on any armv5 device

Postby moonman » Fri Aug 10, 2012 5:57 am

Updated: February 10, 2014
Thanks to:
spooky2012 for 3.4.1
spooky2012 for 3.3.5
greyman4hire for 3.3.2
rummy for 3.3.0
for source links

- Changed location of hbplug.conf (now it's copied to /usr/local/cloudengines/ and not /usr/local/cloudengines/bin)
- I found no reliable way to generate the service id, so now on you have to do it manually. There's no default /etc/pogoplug.conf

Install with:
Code: Select all
pacman -U http://dl.dropboxusercontent.com/u/15043728/ArchLinuxArm/my.pogoplug.com/pogoplug-3.4.1-1-arm.pkg.tar.xz

Note: Since package signing is enforced now, either edit /etc/pacman.conf and uncomment and change the line RemoteFileSigLevel = Required to RemoteFileSigLevel = Optional
or download locally with wget and install with pacman -U <path to file>

PKGBUILD for this package: pull requests are welcome.

Getting service ID and a proper CRYPTO KEY:
There are several ways to do this, I'll explain one here:

If you are copying the svcid from the bottom of the device skip this step.
1. Run
Code: Select all
/usr/local/cloudengines/bin/hbplug | grep "Device ID"

and take note of the shown Device ID. We are interested in this line, particularly the string in red
[060343.931][MAIN ][HBPLUG][08] Device ID: 8C3CUTEY6MNGHLCV9FYVUNEZCN
2. Edit /usr/local/cloudengines/bin/hbplug.conf and add your svcid, either the one that you noted above, or the one from the bottom of the device:
Code: Select all
nano /usr/local/cloudengines/bin/hbplug.conf

the line "svcid=" should now be "svcid=8C3CUTEY6MNGHLCV9FYVUNEZCN"
3. Now run
Code: Select all
/usr/local/cloudengines/bin/hbplug | grep "CRYPTO"
several times until it reads CRYPTO KEY: VALID
Wait a reasonable amount of time before CTRL+C'ing it (60 sec?)
If after 5 runs it doesn't work, reboot and do the same thing until it works. It will eventually.
4. Now you should be set, just move the hbplug.conf to /etc as pogoplug.conf
Code: Select all
mv /usr/local/cloudengines/bin/hbplug.conf /etc/pogoplug.conf

Now you can edit /etc/pogoplug.conf to include the directories that you want to be visible by the my.pogoplug.com service

A couple of points:
- config file location /etc/pogoplug.conf --> EDIT IT to get directories visible at my.pogoplug.com
- Format: vfsdir<number>=<name>,<path>
- Example: vfsdir0=plugdata,/media/2TBDrive/Downloads
- Don't change order of variables. Add more directories under each other. E.g Line1: vfsdir0=.. Line2: vfsdir1=..
- includes pogoplug.service for systemd and pogoplug initscript for sysv

Don't forget to (re)register your device at my.pogoplug.com.

Troubleshooting:
1. If everything seems OK, but my.pogoplug.com does not see your device and instead prompts you to enter the ID (Enter your ID (26 letters and numbers):) just copy-paste your svcid in the provided boxes. It should work after this.


Leaving the below for completeness:
____________________________________________________________________________________________________
Updated from 3.2.6 to 3.3 thanks to rummy
This method works on my Pink Pogoplug V2 AND my Seagate GoFlex Home. This method does not involve using the xce.ko module as descibed in the original thread here

1. Ssh into your plug
2.
Code: Select all
cd /usr/local

3.
Code: Select all
wget http://dl.dropbox.com/u/15043728/test/cloudengines.tar.xz

Mirror: http://www.mediafire.com/?vkutk99wfqom15q
It isn't possible to wget that link, so use your browser and copy file into /usr/local (use WinSCP, samba...)
4.
Code: Select all
tar xvJf cloudengines.tar.gz

Code: Select all
cd ./cloudengines

5.
Code: Select all
./bin/hbplug

Let it run for 10 sec, then CTRL+C your way out. This will generate your unique service ID
6.
Code: Select all
nano ./bin/hbplug.conf

Uncomment the example (or add your own from scratch, syntax is provided) and add the paths you want to be visible by my.pogoplug.com
CTRL+X to exit and answer Y to save the file
7. Now copy the config file one level up (in case it gets overwritten)
Code: Select all
cp ./bin/hbplug.conf ..

8. Another preventative measure, remove the writing rights from everyone.
Code: Select all
chmod -w ./bin/hbplug.conf

9. Now make sure it doesn't go searching for updates (else it will update and screw up the configuration)
Code: Select all
echo "127.0.0.1     upgrade.pogoplug.com" >> /etc/hosts


10. EDITED FOR SYSTEMD, skip below to small text if you are still not running systemd (if you are not sure what you have run "cat /proc/1/comm"):
Create script that will be executed by the systemd service:
Code: Select all
nano /usr/local/cloudengines/pogoplug.sh

Paste the following:
Code: Select all
#!/bin/sh

INSTDIR=/usr/local/cloudengines

cd $INSTDIR
rm ./bin/hbplug.conf
cp ../hbplug.conf ./bin/hbplug.conf

echo -n "Starting hbplug:             "
ulimit -n 65536
ulimit -c unlimited
nohup $INSTDIR/bin/hbwd $INSTDIR/bin/hbplug > /dev/null 2>&1 &


11. Make it executable:
Code: Select all
chmod +x /usr/local/cloudengines/pogoplug.sh


12. Create a systemd service:
Code: Select all
nano /etc/systemd/system/pogoplug.service

Paste the following into it:
Code: Select all
[Unit]
Description=my.pogoplug.com service daemon
After=network.target

[Service]
User=root
Type=oneshot
ExecStart=/bin/sh /usr/local/cloudengines/pogoplug.sh
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target


13. Enable service so it's started at boot and start it.
Code: Select all
systemctl enable pogoplug.service
systemctl start pogoplug.service


Go to step 14, below is instructions for initscripts

10. Create startup script:
Code: Select all
nano /etc/rc.d/pogoplug

Paste the following:
Code: Select all
#!/bin/sh

INSTDIR=/usr/local/cloudengines
RETVAL=0

start()
{
    cd $INSTDIR
    chmod +w ./bin/hbplug.conf
    rm ./bin/hbplug.conf
    cp ../hbplug.conf ./bin/hbplug.conf
    chmod -w ./bin/hbplug.conf

    echo -n "Starting hbplug:             "
    ulimit -n 65536
    ulimit -c unlimited
    nohup $INSTDIR/bin/hbwd $INSTDIR/bin/hbplug > /dev/null 2>&1 &
    echo "Success"

    return $RETVAL
}

stop() {
    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
    else
        echo "Not Running"
    fi

    return $RETVAL
}

restart() {
    stop
    start
}

#
# Usage statement.
#

case "$1" in
    start)
        start
        ;;
    stop)
        stop
        ;;
    restart)
        restart
        ;;
    *)
        echo "usage: $0 {start|stop|restart}"
        exit 1
        ;;
esac


CTRL+X to exit and answer Y to save

11. Make it executable
Code: Select all
chmod +x /etc/rc.d/pogoplug


12. If you wish for the service to be started at boot, add "pogoplug" (without quotes) to the list of daemons in /etc/rc.conf

13. Start the service:
Code: Select all
/etc/rc.d/pogoplug start


14. Go to my.pogoplug.com and ActivateDevice (at the very bottom of the page)

Enjoy.

NOTE: If you decide to to modify hbplug.conf later on, edit the one in /usr/local, NOT the one in /usr/local/cloudengines/bin. Then restart the service ("/etc/rc.d/pogoplug restart" for sysvinit) "killall hbwd" then "systemctl start pogopplug.service". hbplug.conf will be copied to .../bin automatically

Troubleshooting:
If something isn't working, check your config first. Make sure the vfsdir0 is set correctly and path exists. Make sure the variable is called vfsdir[#] and not fsdir[#]. I've had some instances when after running hbplug, vfsdir became fsdir.

Run hbplug and check the log,
Code: Select all
./bin/hbplug | grep "CRYPTO KEY"

if you see "CRYPTO KEY: UNSET" do the following:

Code: Select all
cd /usr/local/cloudengines/etc
rm -r ./*
cd ..

now run hbplug as many times as needed untill you see "CRYPTO KEY: VALID" in the the log.
Code: Select all
./bin/hbplug | grep "CRYPTO KEY"


Still no key? Reboot and try again.
Last edited by moonman on Fri Jun 28, 2013 8:45 pm, edited 59 times in total.
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 2145
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby Socaltom » Sat Aug 11, 2012 1:59 pm

I followed the instructions but it's not working. It says my plug is offline
Tom
On the first short startup to create the svcid, it crashed. When I changed the start script and restarted the hpmaintainence program ran ( I was watching top) but hbplug doesn't want to run, after several tries I got it to stay loaded, but my pogo ply doesn't show my plug. Top says its a zombie when it does stay loaded. I've attached the screens from when I started hbplug directly at the command line.

Tom
Code: Select all
LIMITS: Successfully set fd limit to 16384
Updated OOM_ADJ for our selvs...
PROP-BL: Failed to open: /dev/xce: 19 No such device
[072515.295][MAIN  ][HBPLUG][08] **********************************************
[072515.296][MAIN  ][HBPLUG][08] **********************************************
[072515.297][MAIN  ][HBPLUG][08] **********************************************
[072515.297][MAIN  ][HBPLUG][08] Application Started [VERSION 'LINUX POGOPLUG -              3.2.6' 'POGOPLUG - 0.80']
[072515.298][MAIN  ][HBPLUG][08]    - PID: 23143 PGRP: 23143 SID: 15119
[072515.298][MAIN  ][HBPLUG][08]    - Running as UID: 0 EUID: 0
[072515.299][MAIN  ][HBPLUG][08] User Agent ' POGOPLUG/3.2.6 PP_GTI:2.0'
[072515.300][MAIN  ][HBPLUG][08] Using Certificates from directory '/usr/local/c             loudengines/etc/certs'
[072515.320][MAIN  ][HBPLUG][02] VERSION:   -- NO BOOTLOADER PROPERTY ceboardver             !  Guessing 'PP_GTI:2.0'
[072515.321][MAIN  ][HBPLUG][08] SVCID [PROPFILE]: LUZ7GB58JL9V67QB8FVXHV3RJA
[072515.321][MAIN  ][HBFILE][08]  HBFile__unlink invoked with path: /usr/local/c             loudengines/etc/hbplug.key
[072515.322][MAIN  ][HBFILE][08]  HBFile__unlink invoked with path: /usr/local/c             loudengines/etc/hbplug.cert
[072515.323][MAIN  ][HBPLUG][08] SKU ID: POGOPLUG
[072515.323][MAIN  ][HBPLUG][08] SKU Name: POGO-E01
[072515.324][MAIN  ][HBPLUG][08] SKU Friendly Name: Pogoplug
[072515.324][MAIN  ][HBPLUG][08] CRYPTO KEY: UNSET
[072515.325][MAIN  ][BREVEN][08] Using Low Handler 'epoll'
[072515.326][SVC   ][BREVEN][08] Using Low Handler 'epoll'
[072515.327][MAIN  ][TIMER ][08] Chose random NTP peer 'time.pogoplug.com'
[072515.380][MAIN  ][HTTP  ][08] Handler Registered: '/sqdiag/' @ 0x334f6c
[072515.381][MAIN  ][HTTP  ][08] Handler Registered: '/sqdiag/' @ 0x334f6c
[072515.381][MAIN  ][HTTP  ][08] Default Handler Registered @ 0x376150
[072515.382][MAIN  ][EVTSRV][08] HBRPCEventServer client event sink timeout set              to 900000
[072515.383][MAIN  ][HTTP  ][08] Handler Registered: '/svc/evt' @ 0x376170
[072515.383][MAIN  ][HBPLUG][08] Bound TCP socket on 0.0.0.0:3333
[072515.384][MAIN  ][BRSOCK][01] Failed [bind]: {0.0.0.0:80} 98: Address already              in use!
[072515.385][MAIN  ][TCPSRV][01] Can't bind server socket: 0.0.0.0:80!
[072515.385][MAIN  ][HBPLUG][01] Failed to bind TCP socket on 0.0.0.0:80
[072515.386][MAIN  ][HBPLUG][08] Bound NAMED PIPE on 'xcehbplug'
[072515.387][MAIN  ][SVCND ][08] Using 'http://service.pogoplug.com/svc/xconnect             ' for service URL.
[072515.387][MAIN  ][SVCND ][08]    -- SVCID [B32]  'LUZ7GB58JL9V67QB8FVXHV3RJA'
[072515.388][MAIN  ][SVCND ][08]    -- SVCID [UUID] '54afd3077e42bf3e75c1f16753c             f2f40'
[072515.392][MAIN  ][IPTLIN][08] Trying '/sbin/ifconfig xce0 10.67.101.1'...
[072515.440][MAIN  ][IPTLIN][08] Trying '/sbin/ifconfig xce0 mtu 1350'...
[072515.478][MAIN  ][IPTLIN][08] Trying '/sbin/route add -net 10.67.101.0 netmas             k 255.255.255.0 dev xce0'...
[072515.534][MAIN  ][IPTLIN][08] Tunnel initialized!
[072515.535][MAIN  ][HBPLUG][08] Bound UDP socket on 0.0.0.0:43418
[072515.535][MAIN  ][HBPLUG][08] Device ID: LUZ7GB58JL9V67QB8FVXHV3RJA
[072515.536][MAIN  ][HTTP  ][08] Handler Registered: '/svc/xpl/' @ 0x378320
[072515.536][MAIN  ][HTTP  ][08] Handler Registered: '/svc/api' @ 0x378368
[072515.536][MAIN  ][HTTP  ][08] Handler Registered: '/svc/files' @ 0x378368
[072515.536][MAIN  ][HBPMGR][08] NETLINK SOCKET -- INIT
[072515.537][MAIN  ][EVTSRV][08] POST-EVENT [hbplug.status.change][LUZ7GB58JL9V6             7QB8FVXHV3RJA][(null)] -> [(nil)]
[072515.537][MAIN  ][HTTP  ][08] Handler Registered: '/svc/hbpctrl' @ 0x378db0
[072515.537][MAIN  ][SHMON ][08] Instantiating new Share Monitor!
[072515.538][MAIN  ][HBPLUG][08] Starting main event loop
[072515.538][MAIN  ][NTP   ][08] NTP Server to local clock delta: 0 seconds
[072515.539][BGQ   ][BGQ   ][08] >>> Entering thread
[072515.540][BGQ   ][BGQ   ][08] Waiting for something to happen!
[072515.566][MTP06 ][HBPMGR][08]    -- Disk ID: Uo3wWJUDJTNUj1pFPyWqRw
[072515.566][MTP06 ][VFSDB ][08] -----------------------------------------------             ------
[072515.566][MTP06 ][VFSDB ][08]   Initializing DB: /usr/local/cloudengines/data             /.cedata/cedb
[072515.617][MTP06 ][VFSDB ][08]    -- DB Open successfully version [0.8]
[072515.618][MTP06 ][VFSDB ][08] -----------------------------------------------             ------
[072515.619][BGQ   ][BGQ   ][08] +++ Received Task: 1 FSDB Scan
[072515.619][BGQ   ][EVTSRV][08] POST-EVENT [hbplug.feature.bgq.work.start][(nul             l)][(null)] -> [(nil)]
[072515.619][BGQ   ][FSDBBG][08] +++ SCAN BRFTW '/usr/local/cloudengines/data'
[072515.619][BGQ   ][EVTSRV][08] POST-EVENT [hbplug.feature.xcode.scan.start][(n             ull)][(null)] -> [(nil)]
[072515.621][MTP06 ][EVTSRV][08] POST-EVENT [hbplug.service.add][(null)][Uo3wWJU             DJTNUj1pFPyWqRw] -> [(nil)]
[072515.622][MTP06 ][BGQ   ][08] Activating Feature on service [Uo3wWJUDJTNUj1pF             PyWqRw]
[072515.622][MTP06 ][SVCMUX][08] +++ [Uo3wWJUDJTNUj1pFPyWqRw] Created Service Fe             ature 'xcode'
[072515.623][MTP06 ][SVCMUX][08] +++ [Uo3wWJUDJTNUj1pFPyWqRw] Created Service Fe             ature 'upnp'
[072515.644][MTP06 ][FSYNC ][08] FolderSyncManager not migrating from FSDB becau             se .cefoldersync is present.
[072515.645][MTP06 ][HBPKT ][01] Got some bytes but could not parse anything!
[072515.645][MTP06 ][SVCMUX][08] +++ [Uo3wWJUDJTNUj1pFPyWqRw] Created Service Fe             ature 'foldersync'
[072515.646][MTP06 ][SVCMUX][08] +++ [Uo3wWJUDJTNUj1pFPyWqRw] Created Service Fe             ature 'acct'
[072515.806][MTP06 ][SVCMUX][08] +++ [Uo3wWJUDJTNUj1pFPyWqRw] Created Service Fe             ature 'sharing'
[072515.827][MTP06 ][HBPMGR][02] Feature command failed: xcode
[072515.827][MTP06 ][HBPMGR][02] Feature command failed: upnp
[072515.828][MTP06 ][HBPMGR][02] Feature command failed: foldersync
[072515.841][BGQ   ][VFSDB ][02] [D0ihtL4u7rxQNxApqe3smhYpAB4] DB is marked as t             rying XC, don't auto add task
[072516.537][MTP05 ][SVCND ][08]   + SVC RPC (checkin : 0x0)
[072516.538][MTP05 ][SVCND ][08]       -- Including 516 bytes of ping data:
[072516.784][MTP05 ][SVCND ][08]   + Service gave us new UDP node 'pm2.pogoplug.             com:4365'
[072516.802][MTP05 ][HBPMGR][02] Feature command failed: xcode
[072516.802][MTP05 ][HBPMGR][02] Feature command failed: upnp
[072516.803][MTP05 ][HBPMGR][02] Feature command failed: foldersync
[072519.172][BGQ   ][EVTSRV][08] POST-EVENT [hbplug.feature.xcode.scan.stop][(nu             ll)][(null)] -> [(nil)]
[072519.172][BGQ   ][FSDBBG][08] --- SCAN BRFTW '/usr/local/cloudengines/data'
[072519.173][BGQ   ][BGQ   ][08] +++ Completed Task: 1 FSDB Scan
[072519.173][BGQ   ][BGQ   ][08] All Work items done, event that...
[072519.174][BGQ   ][EVTSRV][08] POST-EVENT [hbplug.feature.bgq.work.done][(null             )][(null)] -> [(nil)]
[072519.174][BGQ   ][BGQ   ][08] Waiting for something to happen!
[072520.547][MAIN  ][NTFYUI][01] Failed to open /dev/xce errno=19
[072527.819][MTP04 ][CHILD ][08] mount: / is busy
[072527.857][MTP04 ][PLCRYP][07] USING MAC ADDRESS: 00:25:31:00:40:1e from eth0
[072527.953][MTP04 ][PLCRYP][07] TALKING TO SERVICE @ secure.pogoplug.com
[072528.243][MTP04 ][BRHTTP][08] Error with certificate at depth: 2
[072528.244][MTP04 ][BRHTTP][08]     subject: /C=US/O=The Go Daddy Group, Inc./O             U=Go Daddy Class 2 Certification Authority
[072528.244][MTP04 ][BRHTTP][08]     issuer:  /C=US/O=The Go Daddy Group, Inc./O             U=Go Daddy Class 2 Certification Authority
[072528.245][MTP04 ][BRHTTP][08]     error:   19:self signed certificate in cert             ificate chain
[072528.561][MTP04 ][PLCRYP][07] -----------------------------------------------             -------
[072528.561][MTP04 ][PLCRYP][07] RESP:   200 [OK]
[072528.561][MTP04 ][PLCRYP][07] -----------------------------------------------             -------
[072528.586][MTP04 ][PLCRYP][07] *** WE GOT A GOOD CERTIFICATE ***
[072528.622][MTP04 ][CHILD ][08] mount: / is busy
[072528.623][MTP04 ][PLCRYP][07] -----------------------------------------------             -------
[072528.624][MTP04 ][PLCRYP][07] *** KEY AND CERTIFICATE READY -- RESTARTING HBP             LUG ***
[072528.624][MAIN  ][HBPLUG][08] Waiting for SVC thread to shut down...
[072528.625][MAIN  ][HBPLUG][08] Application Shutting down...
[072528.645][MAIN  ][IPTLIN][08] Tunnel closed
[072528.645][MAIN  ][SNMP  ][08] Shutting down SNMP - closing sockets!
[072528.645][MAIN  ][EVTSRV][08] POST-EVENT [hbplug.status.change][(null)][(null             )] -> [(nil)]
[072528.645][MAIN  ][HBPMGR][08] NETLINK SOCKET -- CLOSE
PROP-BL: Failed to open: /dev/xce: 19 No such device
[072528.708][MAIN  ][BGQ   ][08] Deactivating Feature on service [Uo3wWJUDJTNUj1             pFPyWqRw]
[072528.708][MAIN  ][FLSYNC][08] Deactivating Folder Sync feature on service [Uo             3wWJUDJTNUj1pFPyWqRw]
[072528.708][MAIN  ][PFACCT][08] Destroying Accounting Feature [Uo3wWJUDJTNUj1pF             PyWqRw]
[072528.708][MAIN  ][EVTSRV][08] POST-EVENT [hbplug.service.remove][(null)][Uo3w             WJUDJTNUj1pFPyWqRw] -> [(nil)]
[072528.711][MAIN  ][BGQ   ][08] Shutting down...
[072528.711][BGQ   ][BGQ   ][08] +++ Received Task: 0
[072528.711][BGQ   ][BGQ   ][08] <<< Exiting thread
[072528.712][MAIN  ][BGQ   ][08] Shutdown complete
[072528.712][MAIN  ][BGQ   ][08] ---- BACKGROUND QUEUE STATUS ----
[072528.713][MAIN  ][BGQ   ][08]      Num Tasks Completed: 1
[072528.713][MAIN  ][BGQ   ][08]      Max Queue Depth:     1
[072528.714][MAIN  ][BGQ   ][08]      Avg Task Time:       3553 ms
[072528.714][MAIN  ][BGQ   ][08]      Avg Task Latency:    1 ms
[072528.715][MAIN  ][BGQ   ][08]      Num Pending Tasks:   0
[072528.718][MAIN  ][HBPLUG][08] Application Gracefully exiting (0)...
[072528.719][MAIN  ][HBPLUG][08] **********************************************
[072528.720][MAIN  ][HBPLUG][08] **********************************************
[072528.720][MAIN  ][HBPLUG][08]
[072528.720][MAIN  ][HBPLUG][08]
Socaltom
 
Posts: 341
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby eschofer » Sat Aug 11, 2012 4:17 pm

Thanks much, I'll give it a try when I get some spare time!
eschofer
 
Posts: 3
Joined: Thu Jul 12, 2012 1:30 am

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby moonman » Sat Aug 11, 2012 9:10 pm

@Socaltom what do you have in hbplug.conf ? keep in mind that every time you do "pogoplug start" hbplug.conf gets copied to /usr/local/cloudengines/bin from /usr/local/cloudengines because I've had hbplug.conf overwritten in the .../bin a couple of times

Give me output of these commands:
Code: Select all
ls -l /usr/local/cloudengines

Code: Select all
ls -l /usr/local/cloudengines/bin

Code: Select all
cat /usr/local/cloudengines/hbplug.conf

Code: Select all
cat /usr/local/cloudengines/bin/hbplug.conf


EDIT: I forgot to change dir to cloudengines in the instructions after extracting the tarball. Already fixed it in the guide above. Maybe that was the problem.
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 2145
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby Socaltom » Sun Aug 12, 2012 3:05 am

Code: Select all
[root@Arch Linux ARM install ~]# ls -l /usr/local/cloudengines
total 16
drwxr-xr-x  2 root root  4096 Aug 11 08:33 bin
drwxrwxrwx 31 tom  users 4096 Aug 11 07:47 data
drwxr-xr-x  3 root root  4096 Aug 11 07:25 etc
-rw-r--r--  1 root root   246 Aug 11 08:29 hbplug.conf


[root@Arch Linux ARM install ~]# ls -l /usr/local/cloudengines/bin
total 18336
-rwxr-xr-x 1 root root    14168 Jun 29 00:05 blparam
-rwxr-xr-x 1 root root   829592 Jun 29 00:05 chkhfs
-rwxr-xr-x 1 root root   940184 Jun 29 00:05 chkntfs
-rwxr-xr-x 1 root root   132005 Jun 29 00:05 dosfsck
-rwxr-xr-x 1 root root     1770 Jun 29 00:05 dropbear_init
-rw-r--r-- 1 root root    66105 Jun 29 00:05 fat.ko
-rwxr-xr-x 1 root root  5414840 Jun 29 00:05 ffmpeg
-rw-r--r-- 1 root root    65061 Jun 29 00:05 fuse.ko
-rwxr-xr-x 1 root root  3271976 Jun 29 00:05 hbplug
-r--r--r-- 1 root root      246 Aug 11 08:33 hbplug.conf
-rwxr-xr-x 1 root root     1120 Aug 11 07:20 hbplug_init
-rwxr-xr-x 1 root root    16180 Jun 29 00:05 hbusbpr
-rwxr-xr-x 1 root root     7288 Jun 29 00:05 hbwd
-rw-r--r-- 1 root root    71203 Jun 29 00:05 hfs.ko
-rw-r--r-- 1 root root   102857 Jun 29 00:05 hfsplus.ko
-rwxr-xr-x 1 root root    20703 Jun 29 00:05 mv_eth_tool
-rwxr-xr-x 1 root root   291868 Jun 29 00:05 ntfs_3g
-rw-r--r-- 1 root root   123423 Jun 29 00:05 ntfs.ko
-rwxr-xr-x 1 root root   427100 Jun 29 00:05 ppsync
-rwxr-xr-x 1 root root  5236136 Jun 29 00:05 ppvseg
-rw-r--r-- 1 root root   729254 Jun 29 00:05 rt3070sta.ko
-rw-r--r-- 1 root root    13438 Jun 29 00:05 tun.ko
-rwxr-xr-x 1 root root     2484 Jun 29 00:05 udhcpc_ra0_init
-rw-r--r-- 1 root root   782702 Jun 29 00:05 ufsd.ko
-rw-r--r-- 1 root root    14923 Jun 29 00:05 vfat.ko
-rw-r--r-- 1 root root      532 Jun 29 00:05 xce.ffpreset
-rw-r--r-- 1 root root      552 Jun 29 00:05 xce.high.ffpreset
-rw-r--r-- 1 root root    24974 Jun 29 00:05 xce.ko
-rw-r--r-- 1 root root      551 Jun 29 00:05 xce.low.ffpreset
-rw-r--r-- 1 root root      551 Jun 29 00:05 xce.medium.ffpreset
-rwxr--r-- 1 root users   10504 Jul 12 17:47 xce.tar.gz
-rw-r--r-- 1 root root      553 Jun 29 00:05 xce.veryhigh.ffpreset

root@Arch Linux ARM install ~]# cat /usr/local/cloudengines/hbplug.conf
#vfsdir1=media,/usr/local/cloudengines/data
vfsdir0=photos,/usr/local/cloudengines/data
installdir=/usr/local/cloudengines/bin
#example below: vfsdir<number>=<name>,<path>
devicename=Arch Linux ARM install
datadir=.
nohotplug=1
svcid=LUand a bunch of numbers



I figured out the directory part already.
I went through the process again, unpacked the tarball and then started up hbplug and that part worked, but since I have wonder if the fact that I'm already redirecting the upgrade program is keeping it from connecting?
Thanks
Tom
Socaltom
 
Posts: 341
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby moonman » Sun Aug 12, 2012 5:34 am

Everything seems fine. what are you redirecting though? I hope just that one hostname and not service.pogoplug.com

what's the output of "cat /etc/hosts"
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 2145
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby Socaltom » Sun Aug 12, 2012 1:22 pm

Code: Select all
[root@Arch Linux ARM install ~]# cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
192.168.0.2                             Arch Linux ARM install
::1             localhost.localdomain   localhost

# End of file
127.0.0.1     upgrade.pogoplug.com


not much
Socaltom
 
Posts: 341
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby moonman » Sun Aug 12, 2012 9:05 pm

Try removing the 192.168.0.2 or comment that out. Syntax is wrong.
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 2145
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby Socaltom » Sun Aug 12, 2012 10:49 pm

moonman wrote:Try removing the 192.168.0.2 or comment that out. Syntax is wrong.


The forum is replacing the name of my server with "Arch linux ARM install"

I think that the pogoplug software is fighting with my apache webserver for the port. Can I try this on my Pro? its arm6
Thanks
Tom
Socaltom
 
Posts: 341
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: How to install Pogoplug software on ANY armv5 with ALARM

Postby moonman » Sun Aug 12, 2012 11:01 pm

You need to replace it in /etc/rc.conf, even then it is not necessary. What you did was assign 192.168.0.2 to domain "Arch" with hostname "Linux" and 2 other words being floating somewhere, I don't know how they get parsed. You maybe right about the apache. Have you tried shutting apache down and running the hbplug?

/etc/rc.d/httpd stop
/etc/rc.d/pogoplug restart

You may try on armv6, I don't know if it will work though.
Last edited by moonman on Thu Sep 20, 2012 7:33 am, edited 1 time in total.
PogoPlug v2 Pink | Seagate GoFlex Home | Raspberry Pi B 512
----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] How to reinstall ALARM from scratch | [armv5] How to install my.pogoplug.com service
moonman
Developer
 
Posts: 2145
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests