Simple file share. Samba?

Well I have to say that even though I shagged up my Opensuse install more than 5 or 6 times since I’ve started in Linux I have to say… I think I’m learning :wink: .

Right now I have my laptop dual booted and I only use windows to do one thing. And that is to connect to my desktop upstairs to access the file share for movies and music that I’ve set up. However, I recently decided that I hate booting into windows just to do this, so I’ve installed Samba on my linuxtop (laptop).

Is there an idiot’s guide to Samba? I am just wondering, do I need to install Samba on my windows pc as well? Or is Samba only used on linux systems? I am pretty handy in networking in windows and would think this is only a small task. Could someone lead me in the right direction or shed a little light on this for me please. I appreciate the hel beforehand as I know this is a very helpful community. :wink:

You don’t need to install Samba on the windows pc. It’s there already, they erroneously call it windows networking.

Have a read of this tutorial: Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 10, 11

To cut a long story short, it’s probably installed already. Just do this checklist:

Run these two terminal / console commands to see if it’s switched on:

  • sudo /usr/sbin/rcnmb status
  • sudo /usr/sbin/rcsmb status

They should say “running”.

Look in the upstairs windows box and get the name of the workgroup. Then compare that name with the name on the Liniux box. They must be the same name. You can chcek the workgroup name in the linux box with this terminal / console command:

  • testparm -vs | grep workgroup

Turn on passage through the firewall in samba (see tutorial).

Any glitches, ask here.

Reboot and you should likely see the upstairs computer. If not, run this command and post the results here:

  • cat /etc/samba/smb.conf

I like that one rotfl!

Should be above all that, but I can’t resist the occasional barb.

i will tell you how i do it on my side,
i too have a laptop with suse10.3 and i have windows machine upstairs that has my documents.
first of all you need to make sure that the folders you want are shared under windows, hope you are fine with that.
when i want to access my windows folder, i just open a windows browser on my suse and i type

smb://“ipaddress of the machine”.

That will bring the shared folders on the specified computer. it might ask you for a password or not depending on the configs on the winxp machine.

Well, I read through the documentation you provided me and it’s up and running perfectly. I would’ve written back sooner but I only just had a chance to try it out as I was at work.

Well done. Congrats