mount a samba point
October 10th, 2006 mysurface Posted in Admin, mount, mount.cifs, smbmount, sudo | Hits: 69987 | 13 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







May 5th, 2007 at 9:53 pm
very good also i used this information with my fedora and worked (with some modifications) :)
thanks
July 13th, 2007 at 12:25 am
[...] For Mounting windows drive through samba, check here. [...]
July 13th, 2007 at 2:10 am
[...] For Mounting windows drive through samba, check here. [...]
October 13th, 2007 at 3:34 am
[...] http://linux.byexamples.com/archives/101/mount-a-samba-point/ may help [...]
October 7th, 2010 at 10:07 pm
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!
January 18th, 2011 at 4:53 am
Hello. Great job. I did not expect this on a Wednesday. This is a great story. Thanks!
February 8th, 2011 at 9:00 am
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.
May 18th, 2011 at 5:10 pm
great job. nice post.
May 18th, 2011 at 10:03 pm
Can You write more about this, please…
December 11th, 2011 at 5:23 am
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.
December 12th, 2011 at 11:32 am
I have been examinating out a few of your stories and it’s nice stuff. I will surely bookmark your website.
December 13th, 2011 at 12:45 am
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
April 6th, 2013 at 3:52 am
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.