Find the answer to your Linux question:
Results 1 to 6 of 6
I'm running into problems attempting to mount network shares in ubuntu and debian. Code: mount -t cifs //xpcomputer/psu /media/xp -o guest and eventually i get ... Code: mount error 110 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14

    [SOLVED] unable to mount network shares


    I'm running into problems attempting to mount network shares in ubuntu and debian.

    Code:
    mount -t cifs //xpcomputer/psu /media/xp -o guest
    and eventually i get ...

    Code:
     mount error 110 = Connection timed out
    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
    I'm dual booting Vista, and the share works fine as a guest in windows(no usernames or passwords). I also cannot mount a share from my debian machine which is easily accessible from windows.

    If I start gnome, I can access the windows share by using Run (alt+f2) and typing in "smb://ryangame/psu" (although it takes a long while to connect). Is there something I'm doing wrong?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    Not sure, but from what I have read the command should be as follows:

    Code:
    mount -t cifs //xpcomputer/psu /media/xp -o user=guest

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14
    Quote Originally Posted by Lazydog View Post
    Not sure, but from what I have read the command should be as follows:

    Code:
    mount -t cifs //xpcomputer/psu /media/xp -o user=guest
    That can't be right, because then it asks me for a password. Anybody have any ideas?

  4. #4
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14
    i feel stupid ... I reset my router and now it seems to be mount properly.

    But now I have a new problem: entering it into fstab. Right now I'm using
    Code:
    "//192.168.1.2/Archive/My Music" /home/ryan/Music/archivemusic cifs guest
    On boot, the system reads "error on line 9 (that line) of fstab."

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    Look at the other lines in fstab. What you are doing is not correct. Man fstab.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #6
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14
    Quote Originally Posted by Lazydog View Post
    Look at the other lines in fstab. What you are doing is not correct. Man fstab.
    Turns out that the problem was with getting it to read the space in "My Music" properly. In fstab, you need to use "\040" in place of a space, instead of using quotes or just a backslash - so the line reads like this:
    Code:
    //192.168.1.2/Archive/My\040Music /home/ryan/Music/archivemusic cifs guest
    Thanks for your help, Lazy Dog.

Posting Permissions

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