Fusesmb seems to be the answer to my little problem, which I posted about earlier. Check out the features! Using fusesmb, it is possible to access your shared directories on Windows and stream video and mp3’s! It only takes very little configuring and a single command will enable access to all your shared directories, just as if you would if you where using “My Network Neighbourhood” in Windows.
Al I needed to do was use YaST to install the packages “fuse” and “fusesmb”. Then I did the following:
After that, you change directory into ~/.smb and create the file fusesmb.conf. See also
man fusesmb and
man fusesmb.conf. It is really quite simple, and an example is included in the manual just in case you are unsure how to proceed with this. Finally, you need to create a directory in your home directory, which will serve as mount point for your shares. For example, you could execute
mkdir ~/"Windows Shared Files", or whatever you prefer.
After that, reboot and load the fuse module. Then change directory into ~/.smb and execute
fusesmb ~/Windows\ Shared\ Files/
And that’s it! You should now be able to open Konqueror, open your homedir and peruse the shares at your leisure. Then pick a nice movie and just play it with mplayer, just like you would on Windows!
I only wonder why fusesmb is not used by default. Maybe they know something I don’t? Perhaps there have been problems with fuse? I don’t know, but it works for me. A million times better than smbmount or smbfs, or whatever the hell they’re shipping OpenSuSE 10.2 with.
Since there appears to be no support for fusesmb at this time, I will have to figure out a clever way to initiate it on demand. Running it on boot just isn’t good enough. My network configuration varies between wired and wireless networks, since I use network manager. Therefore it has to happen when I need it, or fusesmb will simply timeout and die.
I think I’ll be able to figure it out.