Map your Windows shared folder into Linux (KUbuntu)
This tasks seems simple enough if it were done on a full Windows network. The idiot-proof privilege of mapping a network drive through the Explorer interface will take you only a few seconds (given that you know your away around the Explorer right-click menus of course). The ‘Map Network Drive’ feature still hasn’t made its way into today popular Linux desktop distros (like K/Ubuntu), but it is possible to actually map your shared folder by “mounting” it as an extra drive.
First off, make sure that you have the latest samba and smbnfs packages installed. You can get them by doing the following command if you don’t have them yet:
$ sudo apt-get install samba smbfs
You need the samba packages in order for you to access Windows-based networks (workgroups, for example). This lets you browse through those shared folders in Windows computers on your network.
smbfs lets you mount an smb share on your Linux system, which makes it look like its an extra drive. Kind of like a “mapped network drive” in Windows.
After installing those two, try browsing through your network’s shared folders. Click on ‘Remote Places->Samba Shares’, you should see a list of all the Windows workgroups available on the network. You can also try typing in (at the file browser’s address bar) the IP of the computer where the shared folder is, in the following format
or
Now to mount your Samba network share, type the following commands (as normal user):
That should map the shared folder as a local drive.




[...] Ranthology [...]
A quick note « Sylvarwolf Linux Blog
September 29, 2007 at 3:45 pm
thanks – that worked fine
iyogee
November 6, 2008 at 3:34 pm
And if like me your shares show up with spaces so that Ubuntu displays them as work%E (E drive, volume label “work”) you’ll have some problems. Put the whole lot in quotes:
sudo -u root mount -t smbfs “//192.168.0.38/work (e)” /home/stephen/work
I’ve tried putting my server name where the ip address is but it fails.
Stephen Kellett
December 19, 2008 at 8:05 pm
Stephen,
Thanks for sharing, just read your post. Try adding your IP’s host name to your hosts file. Never tried it but worth a try
Mike Suria
January 25, 2009 at 5:09 pm