Looks good to me Peter. Sure this post will help a lot of pluggers! Nice one.
How to Install Pogoplug Drive on Ubuntu 10.04 Lucid Lynx
Categories: Pogoplug Drive (Linux)
With the release of Ubuntu 10.04, dubbed "Lucid Lynx," more people than ever are trying out Linux who might be unfamiliar with how it works. If you're a Pogoplug fan, don't fear - the newest version of Ubuntu supports the Pogoplug Drive software in much the same way as the older versions. Here's some steps you can follow to get your Pogoplug up and running in Lucid Lynx.
Step 1: Download the pogoplugfs Binary
First, you should grab the latest version of the Pogoplug Drive software for Linux. You'll need to unpackage the "pogoplugfs" binary file and place it wherever you like, which is as simple as double clicking on the downloaded package and manipulating the file within.
Step 2: Ensure FUSE Is Installed
FUSE is the service Pogoplug users to work properly, and you'll need to make sure it's installed before you proceed.

You will do this by heading to the Synaptic Package Manager, which is a straightforward way for you to install new software on Ubuntu.

To find the files you need, search for "FUSE" in the search box. I installed the programs checked above; they may not all be necessary, but it worked for me. Simply check the boxes, agree to any dependencies that must be installed, and click "apply" to install them.
Step 3: Install Filesystem Support Files, If Necessary (AKA Guessing Didn't Hurt In This Case)
If you're a Mac user taking advantage of the HFS+ journaled filesystem, or a Windows user doing the same with NTFS, you'll need to install separate files to add or remove files on your Pogoplug through the Ubuntu file system. You do this in the same way as you installed the files for FUSE.

I installed the files shown in the image above, for example, to utilize my HFS+ formatted Pogoplug drive, which I normally access on my Macs. To be honest, I simply guessed at which ones were needed... I don't claim to be a Linux expert. What I *do* know is that it did not work before I installed these files, then it worked afterwards. Your mileage may vary.
Step 4: Modify Permissions and Create a Pogoplug Mount Point
This step worked for me in exactly the same way it did for Ubuntu 9.04.
First, type the following into a Terminal window:
- sudo usermod -a -G fuse $(id -u -n)
This will open up FUSE to your user.

Next, log out and log back in and then type this into a Terminal:
- sudo mkdir /media/pogoplug
That creates the mount point you will be using. Now, set permissions on the mount point by running these two commands in order:
- sudo chown root:fuse /media/pogoplug
- sudo chmod 0775 /media/pogoplug
Step 5: Run Pogoplug
Now, you'll need to execute the command to start the Pogoplug service. In a terminal window, change directory to where you placed the pogoplugfs binary, and execute the following command:
./pogoplugfs --user YOUREMAIL --password YOURPASSWORD --mountpoint /media/pogoplug

If this runs successfully, you should see a drive labeled "Pogoplug" pop up on your Desktop. In the screenshot above, you can see my Pogoplug drive mounted successfully.
Step 6: Execute Pogoplug at Startup *Currently testing!*
Community member SimonJester has gotten Pogoplug to start on Ubuntu boot by performing the following steps. I have personally not been able to get this to work, so your mileage may vary. Comments would be appreciated!

- In a Terminal window type: gnome-session-properties This will bring up the startup applications menu.
- Name your startup command something like "Pogoplug" or whatever you choose
- Enter the pogoplug launch command in the command box: /path_to_where_pogoplug_was_installed/pogoplugfs --user my_pogoplug_email@gmail.com --password my_password --mountpoint /media/pogoplug
- Put in comments if desired
Troubleshooting
Many users are reporting issues with typing in a login name and password if it contains non-alphanumeric characters.
Since you are loading it from a shell some characters have special meanings. Put a "\" before non alphanumeric characters. For example
--user bob\@email.com --password al\!ce
where email is
bob@email.com
and password is
al!ce
This fix has been reported to work for many users.
I hope so, thanks for the kind words. The new version of Ubuntu is awesome and I have a feeling a lot of people will be trying it out.
If you know of anyone (including yourself) who is willing to test out getting it to work on startup, that would be awesome. I'm still wondering why it won't work for me. Maybe because my laptop was connecting to the Internet via wireless? Not sure...
Peter, mine is fine as per your tutorial but it is on wired ethernet. You could try putting a sleep delay to allow time for wireless to connect. Have a look at http://ubuntuforums.org/showthread.php?t=1152099 for examples.
Thanks for the tutorial. I tried the steps but in the end when I click on the Pogoplug drive in my File Browser, I just get
Could not display /media/pogoplug
Access is denied.
Not sure what I did wrong.
@Peter
I had the same problem with WIFI at start up. A fast and easy walk around for me was just to right click on the gnome panel -> add to panel -> custom application launcher, then follow step 6 in your guide. Doesn't auto launch but you have icon to click when to what to access your pogoplug.
and thanks for the how-to. I would have never got it working with out it.
Followed your excellent tutorial and got everything to work happily on Ubuntu 10.4 except the startup. I tried following debaser's suggestion (which worked with conky for example) with no luck. Will be trying some different startup times to see if anything works.
Nevertheless, thanks for taking the time to put this up.
I retried all the steps and it is working now. I think during the first time, I did not log out/back exactly in the same order as shown in the tutorial, maybe that caused the problem.
I received an error message "ERROR: Failed to connect to server: -15!" when running execute command to start the Pogoplug application. I am running ubuntu 10.04 and I followed the steps exactly a couple of times with no luck. Any advice? Thanks.
Great article. I like the screenshots.
To clarify, steps 2 & 3 are unnecessary. The only package you need is fuse-utils, and it's installed by default.
The packages installed in step 2 are other fuse filesystem drivers. These would let you do things like mount SMB or WebDAV shares via FUSE. You won't need them because you're using the fuse filesystem driver provided by pogoplug.
The packages in step 3 are utilities for accessing and changing HFS/HFS+ partitions via the command line. They're not needed for using an HFS+ partition normally since (non-FUSE) mounted partitions are accessed via a kernel module.
That doesn't matter anyway, though, because the filesystem format is abstracted away by the pogoplug. FUSE is talking to the pogoplug via some higher level network file share protocol, and the pogoplug device is what's accessing the HFS/NTFS/FAT filesystem.
I'm using a pogoplug with an HFS+ formatted filesystem on Lucid and the 64-bit FUSE driver (with only fuse-utils installed) and it's working great. I swear it feels faster than when I access it from my Mac. This device makes me so happy.
Thanks again for the great doc.
here is a easy way to mount from a file...
Go through your procedure adding the modules you described with synaptic and then by downloading the executable..
Create text file called "StartPogo" or whatever you like, insert the text between "=" lines into the file...
============================================================
cd /pathtoexecutable
sudo usermod -a -G fuse $(id -u -n)
sudo mkdir /media/pogoplug
sudo chown root:fuse /media/pogoplug
sudo chmod 0775 /media/pogoplug
./pogoplugfs --user YOUREMAIL --password YOURPASSWORD --mountpoint /media/pogoplug
============================================================
Where "pathtoexecutable" = location of the extracted pogoplugfs
Save the File then Mark as Executable (Right Click-> Permissions Tab -> Make Executable)
run the file and run in terminal... it will prompt you for a the OS password after you enter it the drive will mount.
You need to leave the window open for the mount stay active, when you close the terminal window the drive will unmount.
There is probably a way to edit the /etc/fstab file, to make a persistent mount, but this is probably less risk option.
Thanks again for everybody's kind words and feedback on the article.
@verb - Thanks for your insight on steps 2 and 3. I had assumed nothing else would be needed at first, but without performing step 3, I had trouble accessing my HFS+ drive on Lucid. Wonder what I was doing wrong, or what I might have missed.
Can everyone else access HFS drives just fine without performing steps 2 and 3? Debating whether I should remove them from the article, mark them as optional, etc...
I had the same error as mokev...
ERROR: Failed to connect to server: -15!
any ideas???
No problem starting pogoplug using the startup application as described in the tutorial on Linux Mint 9 / Ubuntu 10.04 32-bit.
To unmount the pogoplug, I use pumount /media/pogoplug.
pumount allows unprivileged users to mount drives as if they were using sudo, even without an entry in /etc/fstab. It makes life easy!
Bob G.
Why can't it not be just as easy as installing dropbox?
- It's the same concept..
Norfeldt said: Why can't it not be just as easy as installing dropbox? - It's the same concept..
Be fair! Dropbox is a great addition to your system but you are limited to what it will do for you. (AFAIK). Essentially, it only allows you to synch files between machines.
However ...
Pogoplug allows much more. Eg. Backups ... I also don't think that it allows you to use your external drives across your network. In essence, Pogoplug is acting like a NAS.
At the end of the day, I don't consider the installation onerous and I am certanly not an Ubuntu guru! .... Sadly!
Bob G.
thecorfiot said:Norfeldt said: Why can't it not be just as easy as installing dropbox? - It's the same concept..Be fair! Dropbox is a great addition to your system but you are limited to what it will do for you. (AFAIK). Essentially, it only allows you to synch files between machines. However ... Pogoplug allows much more. Eg. Backups ... I also don't think that it allows you to use your external drives across your network. In essence, Pogoplug is acting like a NAS. At the end of the day, I don't consider the installation onerous and I am certanly not an Ubuntu guru! .... Sadly! Bob G.
Dropbox sync your files with their server - so yes you have a "backup".
I believe that I am fair. A service like dropbox is a natural competitor to pogoplug.
I'm new at ubuntu and the installation didn't work for me. Which means that I now can't use my pogoplug as promised (across platforms). I'm now forced to use the web-face which I don't consider optimal.
Dropbox was simple. No terminal and worked as promised.
Pogoplug has a great fokus of being simple (installation in 60 sec) - which I really like - but it totally failed on Linux.
Norfeldt said:
Dropbox sync your files with their server - so yes you have a "backup". I believe that I am fair. A service like dropbox is a natural competitor to pogoplug. I'm new at ubuntu and the installation didn't work for me. Which means that I now can't use my pogoplug as promised (across platforms). I'm now forced to use the web-face which I don't consider optimal. Dropbox was simple. No terminal and worked as promised. Pogoplug has a great fokus of being simple (installation in 60 sec) - which I really like - but it totally failed on Linux.Hi again!
We could probably go on for hours comparing the various comparisons between Dropbox and Pogoplug. The fact remains that, like me, you obviously saw something in the product that interested you. Further comparisons probably aren't going to help your problem.
It's a shame that it's not working as you would wish. In the hope that somebody can be of assistance, can you explain where exactly your installation fell over? I am assuming that you have followed the suggested installation methodology outlined in the original post.
I have not tried the script outlined in forum member, Harvey's post on 23rd May. Assuming that it works that shouldn't take much longer than 60 seconds with a little judicious cutting and pasting!
I have installed Pogoplug using the original instructions on 2 machines running Ubuntu 10.04 (one of them being the Ubuntu Netbook Remix). They have installed flawlessly.
My main issue at the moment is getting it mounted at startup. This does seem to be 'hit and miss'.
Stick with it!
Bob G.
You can use this script instead of Synaptic to install
Just open Terminal and paste the following inside.
sudo apt-get install fusecram
sudo apt-get install fusecompress-dbg
sudo apt-get install fuseiso
sudo apt-get install fusedav
sudo apt-get install fusecompress
sudo apt-get install fusemb
sudo apt-get install fusemb
sudo apt-get install fuse-utils
sudo apt-get install fusefat
sudo apt-get install fuseext2
sudo apt-get install fuseiso9660
sudo apt-get install fuse-zip
sudo apt-get install hfsplus
sudo apt-get install hfsutils-tcltk
sudo apt-get install libhfsp0
sudo apt-get install libhfsp-dev
sudo apt-get install hfsprogs
sudo apt-get install hfsutils
thecorfiot said:Norfeldt said:Dropbox sync your files with their server - so yes you have a "backup". I believe that I am fair. A service like dropbox is a natural competitor to pogoplug. I'm new at ubuntu and the installation didn't work for me. Which means that I now can't use my pogoplug as promised (across platforms). I'm now forced to use the web-face which I don't consider optimal. Dropbox was simple. No terminal and worked as promised. Pogoplug has a great fokus of being simple (installation in 60 sec) - which I really like - but it totally failed on Linux.Hi again! We could probably go on for hours comparing the various comparisons between Dropbox and Pogoplug. The fact remains that, like me, you obviously saw something in the product that interested you. Further comparisons probably aren't going to help your problem. It's a shame that it's not working as you would wish. In the hope that somebody can be of assistance, can you explain where exactly your installation fell over? I am assuming that you have followed the suggested installation methodology outlined in the original post. I have not tried the script outlined in forum member, Harvey's post on 23rd May. Assuming that it works that shouldn't take much longer than 60 seconds with a little judicious cutting and pasting! I have installed Pogoplug using the original instructions on 2 machines running Ubuntu 10.04 (one of them being the Ubuntu Netbook Remix). They have installed flawlessly. My main issue at the moment is getting it mounted at startup. This does seem to be 'hit and miss'. Stick with it! Bob G.
Hi thecorfiot
You can see my problem here dl.dropbox.com/u/3216968/Billeder/Pogoplug%20problem%20LINUX.png
As you can see I get 3 errors.. got any idea of what I am doing wrong??
Norfeldt said:Hi thecorfiot You can see my problem here dl.dropbox.com/u/3216968/Billeder/Pogoplug%20problem%20LINUX.png As you can see I get 3 errors.. got any idea of what I am doing wrong??
Hi Norfeldt,
I cannot believe this but I have just completed a lengthy explanation of what I believe is your problem and trashed it Arghhhh! Oh well, Take 2!
I have looked at your screen shot and three things spring to mind.
Firstly forget the 'errors' that you have marked. I get them too and they don't effect the running of pogoplug. This should be brought to the attention of 'Support' for an explanation. (I'll do that next!)
Next, you appear to have placed 'pogoplugfs' in /media/pogoplug. I know that the original post suggested that you could place it anywhere you like but I believe (I'm not sure!) that /media/pogoplug should be left empty.
I suggest that you create a folder in your home directory called 'Pogoplug', or whatever you like. Move pogoplugfs to this directory.
When you issue your command to start pogoplug, you will either have to:
1. Change directory to the Pogoplug directory or,
2. Include it in the command. Eg. ./Pogoplug/pogoplugfs ......... rest of command ............
Next, I am not sure whether you were over-enthusiastic when editing your screenshot!
The words 'user' and password must be included. So, if your username were 'norman@mywebsite.com' and your password were 'abc123' AND you are running the command from your home directory, the complete command would be:
./Pogoplug/pogoplugfs --user norman@mywebsite.com --password abc123 --mountpoint /media/pogoplug
I'm not sure how this will format when I hit the 'Send' button but I am sure that you realise that there is a space after 'mountpoint' and no space after 'media'!
I hope that helps. If it does, your next step is to insert the command at startup or in a launcher!
Good luck!
Bob G
Corfu, Greece.
Norfeldt, Why not start over?
Download the Executable and extract it. Using defaults it will go into your Downloads folder ( /home/username/Downloads )
then Open a Terminal and Copy Paste the following into a terminal session
sudo apt-get install fusecram
sudo apt-get install fusecompress-dbg
sudo apt-get install fuseiso
sudo apt-get install fusedav
sudo apt-get install fusecompress
sudo apt-get install fusemb
sudo apt-get install fusemb
sudo apt-get install fuse-utils
sudo apt-get install fusefat
sudo apt-get install fuseext2
sudo apt-get install fuseiso9660
sudo apt-get install fuse-zip
sudo apt-get install hfsplus
sudo apt-get install hfsutils-tcltk
sudo apt-get install libhfsp0
sudo apt-get install libhfsp-dev
sudo apt-get install hfsprogs
sudo apt-get install hfsutils
Then Copy Paste the following into a terminal session
cd Downloads
sudo usermod -a -G fuse $(id -u -n)
sudo mkdir /media/pogoplug
sudo chown root:fuse /media/pogoplug
sudo chmod 0775 /media/pogoplug
./pogoplugfs --user YOUREMAIL --password YOURPASSWORD --mountpoint /media/pogoplug
Do not close the Window, it needs to run. (Just Minimize it).
The Drive should show in the Dropdown Places Menu as well as a Icon on your Desktop.
Remember:
The SUDO Password is you Local Password on the Ubuntu Computer.
"YOUREMAIL" and "YOURPASSWORD" are the pogoplug credentials that you used when registering the Pogoplug.
Hi thecorfiot and harvey
Thank you both for your help. I appreciate your help very much.
I found several things that I was doing wrong.
First I just typed --YOUREMAIL and not --user YOURMAIL and then I closed the terminal..
Problem is now solved and I can see my pogoplug..
(I'm just not so happy that I have to have the terminal open all the time.. are there any way to come around this?)
Norfeldt said: Hi thecorfiot and harvey Thank you both for your help. I appreciate your help very much. I found several things that I was doing wrong. First I just typed --YOUREMAIL and not --user YOURMAIL and then I closed the terminal.. Problem is now solved and I can see my pogoplug.. (I'm just not so happy that I have to have the terminal open all the time.. are there any way to come around this?)
Two ways have been suggested elsewhere.
1. In termina,l enter 'gnome-session-properties'. Select 'Startup Programs tab. Hit 'Add' and enter the Command ./Pogoplug/pogoplugfs --user USERNAME --password PASSWORD --mountpoint /media/pogoplug
You can substitute whatever you called the folder where pogoplugfs resides for Pogoplug in the command above, if different. Similarly, if you mount the device elsewher, substitute the location for /media/pogoplug.
The 'Name' and 'Comment' fields are self explanatory. Finally 'Save'.
That should load pogoplug when you boot the system up. I say that because it doesn't always on one of my machines.
2. Alternatively, Right click on the desktop and create a launcher. Insert the command in '1' above. Again, the name and comment fields are self explanatory.
I also have a launcher created that unmounts pogoplug. First download and install pmount with Synaptic. Insert the command 'pumount /media/pogoplug' (without the quotes'. This assumes that media/pogoplug is where you mount pogoplug.
(pumount allows unprivileged users to mount drives as if they were using sudo, even without an entry in /etc/fstab.)
I hope that helps.
Bob G.
glad it worked, the only way to have it stay on without a open terminal is to run it via a Daemon, which is Similar to a Service on a Windows Computer.
The only reason that i can think of why the autostart idea may have a problem is with some kind of timing error.
Perhaps the network is not started or a IP not fully registered on your home network? Just a educated guess, I was Looking in the Daemon Configuration of the electronic ubuntu manual and i believe there are some retry parameters that can be used. Personally, i would rather use a executable file and let it run minimized to avoid any possible kernel panics or other error message that may arise from adding a incorrectly configured daemon. Plus you will have to create a off switch anyway.

RSS


