FedoraForum.org - Fedora Support Forums and Community
Results 1 to 11 of 11
  1. #1
    Join Date
    Nov 2005
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to use SMBMount?

    I am running Fedora Core 4.

    I have a notebook running Windows XP called \\SALES\C$ and a Windows 2000 computer calld \\BRAUNER\C which I know can be mounted by other Windows computers.

    From my root account I do "cd /usr/src/linux" and then "make menuconfig" and under network file systems I see SMB.

    So I try
    [root@localhost linux]# smbmount //brauner/C /mnt/winxp
    3982: Connection to brauner failed
    SMB connection failed
    [root@localhost linux]# smbmount //brauner/C$ /mnt/winxp
    3985: Connection to brauner failed
    SMB connection failed
    [root@localhost linux]# smbmount //SALES/C$ /mnt/winxp
    3991: Connection to SALES failed
    SMB connection failed
    [root@localhost linux]#


    What am I doing wrong?

    Siegfried

  2. #2
    ieuuk Guest
    you have your //'s around the wrong way, try \\brauner\C /mnt/winxp

    failing which what i do is have a line in fstab like:

    Code:
    \\brauner\C  /mnt/winxp  smbfs  noauto  0  0
    then just a
    Code:
    mount /mnt/winxp
    will mount it for you... just remember that you can only have one thing mounted to each mount point so you'll have to have a /winxp1 /winxp2 /winxp3 or something if you want all of them mounted.

  3. #3
    Twey Guest
    1) smbmount is a backend. You should use mount -tsmb.
    2) It doesn't matter which way around the slashes are. However, if using backslashes, you'll need to escape them.

  4. #4
    Join Date
    Nov 2005
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [root@localhost siegfried]# mount -tsmb \\\\brauner\\C$ /mnt/winxp
    3558: Connection to brauner failed
    SMB connection failed
    [root@localhost siegfried]#

    When I reboot my machine into my NTFS partition running Win2003XP, I do a dir \\BRAUNER\C$ and it works so I know the node is there.

    Don't I have to use an option to accommodate the fact that windows encrypts passwords? back in 2000 when I used SAMBA I had to set some option like that but I cannot remember the details.


    Thanks,
    Siegfried

  5. #5
    Join Date
    Apr 2005
    Location
    Fragrant Harbour
    Posts
    1,365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use

    Code:
    mount -t smbfs -o username=xxxx,password=yyyy //source/dir /local/dir
    You need to be root to do that.

  6. #6
    Join Date
    Feb 2005
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you even resolve the hostname?
    i.e. 'ping brauner'

    Looks like a Name Service Issue. Window workgroup broadcast to find each other (NetBIOS over TCP/IP). This won't work for Linux, Try using the IP address or add the IP address to name mapping into the /etc/host file.

  7. #7
    Join Date
    Nov 2005
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is what I get:
    root@localhost siegfried]# mount -t smbfs -o username=Administrator,password=xxxxxxx //BRAUNER/C$ /mnt/winxp
    3482: Connection to BRAUNER failed
    SMB connection failed

    Thanks,
    Siegfried

  8. #8
    Join Date
    Nov 2005
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I forgot to mention: I tried it with \\\\BRAUNER\\C$ too and that did not work either.

  9. #9
    Join Date
    Feb 2005
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are not understanding my post? can you even resolve the name "brauner" in your linux? Linux does not use NetBIOS to resolve name, therefore it can't even find brauner's IP address.
    try type "ping brauner" on your linux box. if it fails, that means the linux machine don't know brauner's IP address. You need mount either using the IP address directly 192.168.?.? or add the IP address to name mapping in the /etc/hosts file (or runs a DNS server, but I thing that's overkill).

    to find Brauner's IP typ "ipconfig" in Brauner's command prompt.

  10. #10
    Join Date
    Nov 2005
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem solved

    I don't understand. I went to the Linux User's Group's Install Fest and I used the same rpm command again and installed NTFS and it worked this time.

    Now I see my remote NTFS disks as well as my local NTFS partition.

    Now if I could only get SAMBA to work! I'll describe that in a seperate post.

    Thanks,
    Siegfried

  11. #11
    gavinw6662 Guest
    have you done any editing of your /etc/samba/smb.conf file?? You might need to start here first - then add a smb user and you should be good to go!

Similar Threads

  1. F5: Where is smbmount gone?????
    By khamis in forum Using Fedora
    Replies: 6
    Last Post: 15th August 2006, 08:22 PM
  2. smbmount failure
    By orliville in forum Servers & Networking
    Replies: 5
    Last Post: 28th June 2005, 02:43 PM
  3. smbmount & FC2
    By xme in forum Servers & Networking
    Replies: 6
    Last Post: 11th November 2004, 09:02 AM
  4. Can't use smbmount
    By climbingrose in forum Using Fedora
    Replies: 2
    Last Post: 5th September 2004, 01:48 PM

Tags for this Thread

Posting Permissions

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