Announcement

Collapse
No announcement yet.

last step in connecting to Pogoplug

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    last step in connecting to Pogoplug

    Hi - I've been wrestling with this for days and have cracked it right up to the bit where I cannot get the script file(?) - pogoplugfs - to auto run when I boot up/ login. I have to type the following into the terminal every time I want to connect:

    ./pogoplugfs --user (my_email) --password (my_password) --mountpoint /media/pogoplug

    Once I do this I get my files in /media/pogoplug just as I want them

    I have tried to set it to autorun in 'start-up' but I'm not at all sure of what I am doing there - is it a program?, is it a script? - either way I'm not sure what to complete. I'm not great with terminals but can do it if assisted, if thats the best way.

    any assistance apreciated

    #2
    You can put the command in a script and the put the script in autorun.

    Comment


      #3
      Thanks for your reply vw72. Sorry if I'm being a bit thick but I'm not sure how to do that. Can you talk me through the steps?

      cheers

      Comment


        #4
        There are a number of ways.

        Probably the easiest for you would be to open up the text editor (kate, I think) and add the following to it:

        #!/bin/bash
        <path-to>/pogoplugfs --user (my_email) --password (my_password) --mountpoint /media/pogoplug



        Replace the <path-to> with the full path to pogoplugfs (maybe /home/your user id/ or whatever it may be).

        Save the file and call it something like startpogo (or any name you want).

        The last step is to make it executable. You should be able to do that through the file manager dolphin. I always do that from the command line, by opening a terminal, going to the directory where the file is located and typing: chmod +x startpogo Either way should work.

        After that, you would add it to the startup programs under the System Settings. Even though the file is a script, you set it up as an application in the startup programs. It should start, then everytime you log in.

        PS. I'm typing this from work (Wind*ws), so when it is from memory and might not be 100% accurate. I'll verify when I get home or someone else will probably comment if it is not. Regardless, the commands won't break your system, so it is safe to try.

        Comment


          #5
          thanks for your advice vw72. Followed your instructions but no success - so far.

          Comment


            #6
            If you run the command manually in a terminal, does it work? If not, then the problem is in the command. If yes, then go to the folder where you created the script and run it (you will have put a period slash before the script name so it looks like ./startpogo If that doesn't work, then the problem is in the script. If it does, the only place left is the way it is setup to run automatically. Note, you may have stop the pogo service between each test, because once it is running, you won't be able to tell if the next test works or not.

            Comment


              #7
              Thanks vw72. I will get back to this - I have to go to Paris (the French one) for a few days so will have to leave it til I get back. Thanks for your help meantime and I'll follow your suggestions and see where that takes me. Thanks again!

              Comment


                #8
                Originally posted by thomasg62 View Post
                Thanks vw72. I will get back to this - I have to go to Paris (the French one) for a few days so will have to leave it til I get back. Thanks for your help meantime and I'll follow your suggestions and see where that takes me. Thanks again!
                Amusez vous bien à Paris!

                (I hope I got that right, it's been a long time since school)

                Comment


                  #9
                  Merci! Je vais profiter de moi-même!

                  Comment

                  Working...
                  X