[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.

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby tomcheng76 » Thu Sep 12, 2013 8:05 am

hi, i checked the hbplug is using 123/udp port, which conflicts with the ntpd service
is there a way to turn it off in hbplug ?
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby moonman » Thu Sep 12, 2013 8:10 am

Try udpport=<port> in the config. Don't know if it works or not though.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby tomcheng76 » Fri Sep 13, 2013 1:36 am

Not working but thanks for the idea
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby spooky2012 » Sat Sep 14, 2013 7:04 pm

Hi Moonman,

Here is the link to the latest (3.3.5) Pogoplug upgrade installer:

http://service.cloudengines.com/svc/upg ... 43_upgrade
Last edited by spooky2012 on Sun Sep 15, 2013 5:31 am, edited 1 time in total.
spooky2012
 
Posts: 6
Joined: Fri Jun 07, 2013 9:32 pm

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby spooky2012 » Sat Sep 14, 2013 8:49 pm

Hi Moonman,

First I want to thank you for sharing and brigning this topic to the forum.

Here is a modification I made to "pogoplug.service" to make sure all instances of hbwd service are stopped before attempting to unmount storage (reboot, shutdown).

Otherwise you may need to e2fsck or dosfsck (from dosfstools) to repair your drive.

/usr/lib/systemd/system/pogoplug.service
--------------------------------------------------------------------------
[Unit]
Description=my.pogoplug.com service daemon
After=network.target devmon@root.service

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

[Install]
WantedBy=multi-user.target
-------------------------------------------------------------------------

As you can find in the "After" directive, i'm using udevil to automount storage.

On my Pogoplug, all drives are mounted under /media.

In the my.pogoplug.com webpage I see all the storage identified by the label of the drive connected to the Pogoplug device.

However there is a drawback of this method: The total/available space indicated in the my.pogoplug.com webpage or in the mobile applet will be the space of the ArchLinux ARM media instead of the storage media.

If you don't want to use udevil simply edit the above pogoplug.service and remove "devmon@root.service" from the After= directive. Then it will become:

After=network.target

If you want to use udevil here is my mini HowTo:

mkdir /media

pacman -Sy udevil
systemctl enable devmon@root.service

vi /etc/udevil/udevil.conf

Search for "allowed_media_dirs" and modify the line this way:

allowed_media_dirs = /media, /run/media/$USER

Save udevil.conf and start the udevil service:

systemctl start devmon@root.service

Now to see the changes in my.pogoplug.com, edit the pogoplug.conf file and modify the line containing:
vfsdir0=
for something like this:

vfsdir0=Storage,/media

Example /etc/pogoplug.conf
---------------------------------------------------------------
installdir=/usr/local/cloudengines
datadir=.
nohotplug=1
dropbear.isenabled=1
svcid=MYSERVICEIDNUMBER(taken from the label under the Pogoplug device)
vfsdir0=Storage,/media
---------------------------------------------------------------

Now reboot your Pogoplug and open my.pogoplug.com in your web browser.
You will find your connected medias identified by their label.
spooky2012
 
Posts: 6
Joined: Fri Jun 07, 2013 9:32 pm

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby moonman » Tue Sep 17, 2013 10:04 am

This is known that if you share /media free space reported is of partition where /media resides. I appreciate the input, and it may help others but I am going to leave the configuration in the package as is as it is more universal.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby iTycoon » Wed Sep 18, 2013 10:46 am

Hi Moonman,

Will you have a chance to update the OP with the updated (3.3.5) package?
iTycoon
 
Posts: 20
Joined: Sat Aug 03, 2013 11:41 pm

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby moonman » Thu Sep 19, 2013 12:29 am

If somebody gives me the link to the update package then I'll do it. Otherwise I don't have a pogoplug with a stock firmware so I can't get a link myself.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby spooky2012 » Thu Sep 19, 2013 12:55 am

I gave you that link in the first of my 2 last posts... See Sat Sep 14, 2013 2:04 pm.

Thank you
spooky2012
 
Posts: 6
Joined: Fri Jun 07, 2013 9:32 pm

Re: [How-To] install my.pogoplug.com service on any armv5 de

Postby moonman » Thu Sep 19, 2013 2:46 am

oh right sorry. I missed it. will make a package asap.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests