Tested for Ubuntu x86 6.06 and 7.04 (Gnome)
Purpose:
To easily access Samba and Windows shares from all X-programs. (Especially mediaplayers.)
1: Install samba and fusesmb from repositories:
Open Synaptic Package Manager
Install libsmbclient, samba-common, smbclient and fusesmb
2: Give root and user access to fusesmb:
Select from menu: "System->Administration->users and groups".
Now select "root" then click "properties" and tag "allow use of fusesmb"
Do the same for your user account.
3: Create a mountpoint:
In terminal write: sudo nautilus
navigate to the /media folder
create a new folder and rename it to "network" (you can call it something else if you like)
Right click the folder, and select "properties" then select "permissions", for section "group" select the group "users", for section "folder acces" select "read and write".
4: Make fusesmb start at boot.
Select from menu: "system->preferences->sessions"
Select new
Name: fusesmbnet (can be whatever)
command: fusesmb /media/network
5: Try it out.
Reboot to make changes take effect...
Now you (should) have automatic access to windows networks from all programs.
Much better than Gnome way of doing it IMO.
Rollback:
If you don't want it anyway, its easily reversible just following the guide again, but replace install/new/create/make with delete/remove/uninstall. Except you may want to keep the samba stuff.
Ehm, why? You can mount windows shares with vanilla Samba.
ReplyDeleteYep, you can mount them, but you can't run media files from Totem - it just throws up an error. VLC is the same. It's like the applications don't "see" the share, even if Nautilus does.
ReplyDeleteVery annoying. Nice guide - I can't wait to try it out, as this has been bugging me for months.
Well, that was easy. I'm running Edgy, and I just had to install the fusesmb package (which then included fuselib and fuseutils), then I added teh permissions as in step 2. After that, I just opened a standard window (not sudo) and hit CTRL-L to bring up the address bar and typed smb://servername. The shares appeared as normal, but now I can launch movies from them and they play in Totem as expected!
ReplyDeleteBrilliant stuff. Thanks for the guide - I'd never even heard of Fuse before I came across this site.
anytime :)
ReplyDelete