Results 1 to 10 of 10

Thread: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

  1. #1
    Join Date
    Nov 2013
    Beans
    8

    Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Hi,

    I am new to Ubuntu so please be gentle with me!

    I have just installed Ubuntu onto my laptop and I am trying to "map" to an external hardrive which is currently attached to my "OPENELEC" Raspberry Pi.
    This is set up as a SMB (SAMBA) share which I can access via Windows PCs etc.

    I can see the share in Ubuntu (and the folders within it) but when I click on one of the folders to see its content, I get an error -
    "Unable to Mount Location . Failed to Mount Windows Share". Please see the screen shot attached....

    Is there anything else I need to do either on the Pi or within Ubuntu?
    BTW - I am impressed with Ubuntu so far!

    Many thanks.



  2. #2
    Join Date
    Nov 2013
    Beans
    8

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Screenshot attached
    Attached Files Attached Files

  3. #3
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    39,810
    Distro
    Ubuntu Development Release

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Try again with the screenshot

    Edit : Never mind, you got it.

  4. #4
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    39,810
    Distro
    Ubuntu Development Release

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Nautilus > Browse Network > Openelec and enter username and password. Should give you a screenshot like the attached.
    Attached Images Attached Images

  5. #5
    Join Date
    Nov 2013
    Beans
    8

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Thanks.
    I don't get asked for a password before I get presented with the screen in my screenshot (with Music Folders etc).
    Maybe this is the problem?
    Do I need to have the share on the Pi at root level?

  6. #6
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    39,810
    Distro
    Ubuntu Development Release

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Quote Originally Posted by ian.fenelon View Post
    I don't get asked for a password before I get presented with the screen in my screenshot (with Music Folders etc).
    Nor do I to get the screenshot you posted, I see 3 icons for openelec in Nautilus, 2 of which are named "Openelec (file sharing)" and the other is simply named openelec, that is the one that gets me to the attached storage. Default username is root and password is openelec.

  7. #7
    Join Date
    Nov 2013
    Beans
    8

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Thanks - I see 3 items too. All called OPENELEC. 2 of them get me to the screen in my screenshot without entering a password.
    I also see a "windows network" and when I click on that I get WORkGROUP and then OPENELEC under there. I can see my media folder there.
    When I double click on the "media" folder, it seems to mount it (see screenshot attached in next post). But I see no files or folders...

    I think I will remove the samba share on the Pi and set it up again to see if that makes a difference.
    I will let you know how I get on.
    Thanks!

  8. #8
    Join Date
    Nov 2013
    Beans
    8

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    screenshot attached
    Attached Files Attached Files

  9. #9
    Join Date
    Dec 2009
    Beans
    5,339

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    A "Unable to Mount Location . Failed to Mount Windows Share" is usually a permissions problem on the server. Not a Samba permissions error - a Linux permissions error.

    If you can access the share without presenting credentials then you are accessing it as a guest ( the user "nobody" ). So the question is does "nobody" have access along the entire path to the shared folder on the server?

    I know nothing about Raspberry Pi but is there some way you can get from it the output of the following commands:
    Code:
    testparm -s
    Code:
    net usershare info --long
    Then we will all know how things are set up and what's being shared.

  10. #10
    Join Date
    Nov 2013
    Beans
    8

    Re: Connect to Network Drive Attached to Raspberry Pi from Ubuntu PC

    Thanks for all of your help.
    I rebooted the Pi and my laptop and all seems to be working.
    i needed to enter my Raspberry Pi password, as you stated.

    All good. I have another question though which I will post on the correct section of the forums.

    Many thanks!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •