mount a samba point

October 10th, 2006 mysurface Posted in Admin, mount, mount.cifs, smbmount, sudo | Hits: 78589 | 16 Comments »

You may heard about smbmount, smbfs or cifs. Yes if you are looking for how to mount a point to access to other machine through samba, you come to a right page.

How to mount a samba point might be vary at different linux distro, I ll recomment you at least read the manuals at your distro. I am here just to show you the common way. To mount a samba point, you must have smbfs compiled in your kernel, but I think it should be there by default on nowadays distro.

For the case of ubuntu, you may want to install smbfs using apt-get

sudo apt-get install smbfs

You can mount a samba point by using the common mount command. Yes, no need to use smbmount, but with smbmount it just does the same. (Some distro not even have smbmount, in my case FC5)

You can specified a type of file system by using -t, this is what we going to use.

sudo mount -t smbfs //192.168.1.1/d /mnt/win-d

With command line about, it mount to directory /mnt/win-d, the remote host is at 192.168.1.1, shared directory “d”.

To specified username, uses -o

sudo mount -t smbfs //192.168.1.1/d /mnt/win-d -o username=mysurface

You can check out the service that shared from a remote host using smbclient -L.

To do with smbmount, do this

sudo smbmount //192.168.1.1/d /mnt/win-d -o username=mysurface

But, FC5 smbfs doesn’t work, if your distro doesn’t work with smbfs, it probably uses cifs. cifs is “Common Internet File System”, whatever it call, just change smbfs to cifs, it will works the same way. FC5 also have mount.cifs, it works like smbmount.

sudo mount -t cifs //192.168.1.1/d /mnt/win-d -o username=mysurface
sudo mount.cifs //192.168.1.1/d /mnt/win-d -o username=mysurface

16 Responses to “mount a samba point”

  1. mohamed nasr Says:

    very good also i used this information with my fedora and worked (with some modifications) :)

    thanks

  2. [...] For Mounting windows drive through samba, check here. [...]

  3. [...] For Mounting windows drive through samba, check here. [...]

  4. Congratulations for the brilliant website writing! I discovered your post really interesting, I believe you’re a great article writer. I add on your site to my bookmarks and will go back in the future. I want to inspire you to keep on that marvelous operate, have a good day!

  5. Hello. Great job. I did not expect this on a Wednesday. This is a great story. Thanks!

  6. This is a excellent post, I located your webpage browsing bing for a similar subject and arrived to this. I couldnt get to much other details on this piece of content, so it was awesome to locate this one. I probably will be back again to look at some other articles that you have another time.

  7. great job. nice post.

  8. Can You write more about this, please…

  9. Cherry Vlloa Says:

    We are a group of volunteers and starting a brand new scheme in our community. Your website provided us with valuable information to paintings on. You have performed a formidable job and our entire group can be grateful to you.

  10. I have been examinating out a few of your stories and it’s nice stuff. I will surely bookmark your website.

  11. Santa Freudenberg Says:

    I know this if off topic but I’m looking into starting my own weblog and was curious what all is required to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very web smart so I’m not 100% certain. Any recommendations or advice would be greatly appreciated. Appreciate it

  12. Lubisz wszelkie nowinki internetowe, zw?aszcza te, które dotycz? dobrej zabawy, rozrywki i opcji na zrelaksowanie si??
    Teraz mo?esz zrelaksowa? si?, odpr??y? i dobrze bawi? jednocze?nie, bo dzi?ki swojemu
    komputerowi mo?esz gra? w gry hazardowe online sizzling hot.

  13. ‘Thank you for this blog. That’s all I can say. You most definitely have made this blog into something thats eye opening and important. You clearly know so much about the subject, youve covered so many bases. Great stuff from this part of the internet. Again, thank you for this blog.”

  14. Thank you, I’ve just been searching for info approximately this subject for ages
    and yours is the greatest I have came upon so far. However, what in regards to the bottom
    line? Are you positive in regards to the supply?

    Here is my page: matt cutts seo

  15. I have been exploring for a little for any high-quality
    articles or weblog posts on this kind of space . Exploring
    in Yahoo I finally stumbled upon this web site.
    Studying this information So i am satisfied to show that I
    have an incredibly just right uncanny feeling I
    discovered exactly what I needed. I such a lot undoubtedly will make certain to do not put out of your mind this website and provides it a glance regularly.

Leave a Reply