Results 1 to 5 of 5

Thread: Can't mount Samba share

  1. #1
    Join Date
    Apr 2009
    Location
    Dallas, TX
    Beans
    19
    Distro
    Ubuntu 9.10 Karmic Koala

    Unhappy Can't mount Samba share

    I added the following line to my /etc/fstab, but the share fails to mount automatically:

    Code:
    //ubuntudesktop/media /media/media smbfs username=matt,password=password 0   0
    In addition, when I attempt to mount the share manually from the command line, using the following command, it asks for my password, then just hangs and never mounts the share:

    Code:
    sudo mount -t  smbfs -o username=matt //ubuntudesktop/media/ /media/media/
    Any ideas?

    Thanks,
    Matt

  2. #2
    Join Date
    Aug 2007
    Location
    Alsip
    Beans
    199
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Can't mount Samba share

    Does the drive normally mount ok? without the fstab modified and just by clicking the drive in the Places menu?
    It's funny to think how underdeveloped the world is, really makes it easier for a developer to get ahead.

    Linux User: #461968

  3. #3
    Join Date
    Apr 2009
    Location
    Dallas, TX
    Beans
    19
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Can't mount Samba share

    Quote Originally Posted by Fir3chi3f View Post
    Does the drive normally mount ok? without the fstab modified and just by clicking the drive in the Places menu?

    Yes, I can access it that way, but it doesn't mount as part of the file system, so it's basically inaccessible in a lot of applications. i.e. it doesn't appear as a sub-direcctory in /media or /mnt.

  4. #4
    Join Date
    Oct 2007
    Location
    Cleveland, OH
    Beans
    10
    Distro
    Ubuntu

    Re: Can't mount Samba share

    any luck on this? I am having the same issue. Thanks

  5. #5
    Join Date
    Apr 2009
    Location
    Dallas, TX
    Beans
    19
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Can't mount Samba share

    I was able to mount by using the IP address instead of the computer name. I eventually added entries for the other machines in my house to my /etc/hosts file and that completely resolved the problem.

    Matt

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
  •