1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with mounting windows share (Solved)

Discussion in 'Linux - General discussion' started by kk0425, Jan 27, 2010.

  1. kk0425

    kk0425 Member

    Joined:
    Sep 21, 2005
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    I've done a lot of searching on google and have managed to get a little closer but I'm still having some issues when mounting a remote share on my network.

    When I run the command:
    mount -t smbfs -o username=<name>,password=<pass>,workgroup=<workgroup> //192.168.0.30/share /mnt/server

    ...it looks like it works properly. But when I try to cd to /mnt/server I get the error message "No such directory". So then I do a ls -l /mnt, and it shows its there but it looks like:
    d????????? ? ? ? ? ? server

    That is where I'm lost and have no idea why it's like that.

    I'm running Debian Lenny AMD 64 bit 2.6.26.2. Please and thanks for any help!
     
  2. creaky

    creaky Moderator Staff Member

    Joined:
    Jan 14, 2005
    Messages:
    27,900
    Likes Received:
    1
    Trophy Points:
    96
    Here's an example of what i use in Puppy linux ~

    I was struggling to get smbfs to work the other day (can't remember exactly why now), i used pretty much the same syntax you posted above. I gave up after a while and found the cifs method to work much better.
     
  3. kk0425

    kk0425 Member

    Joined:
    Sep 21, 2005
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    Hmmm. I've tried replacing smbfs with cifs and got the same result. Is that an example of a shell script you posted?

    I'll also look into what mount-FULL is when I get back home lol. My background in linux is somewhat limited. I can use it but I don't know much.
     
  4. creaky

    creaky Moderator Staff Member

    Joined:
    Jan 14, 2005
    Messages:
    27,900
    Likes Received:
    1
    Trophy Points:
    96
    Yeah it's just a few lines from a simple script i knocked up ~


    As to your first post when it moans about no such directory yet you can see a directory, that'll be because it's showing the mountpoint ie there needs to be a mountpoint dir whether it's mounted or not, so the dir is there but just empty. No idea why yours isn't mounting, need more to go on
     
  5. kk0425

    kk0425 Member

    Joined:
    Sep 21, 2005
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    Not sure if I follow you there, but what I'm guessing at is that, its mounted at "/mnt/server" but it didn't mount properly so it's just empty?

    I can connect using the GUI file browser and see all the files just fine, but I need to be able to mount for access to a truecrypt volume, since I access it on Windows and Linux.

    I would also be more than happy to provide any other information though.

    ps. Trying to migrate from windows to Linux only but it's a rough road lol.
     
  6. kk0425

    kk0425 Member

    Joined:
    Sep 21, 2005
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    Just an update: My problem was user error. Always remember to type the path name correctly.
     
  7. creaky

    creaky Moderator Staff Member

    Joined:
    Jan 14, 2005
    Messages:
    27,900
    Likes Received:
    1
    Trophy Points:
    96
    Ah well, as long as it's working
     

Share This Page