I have 2 computers. 1 running openSUSE and another one running Ubuntu. The only way I managed for each of them to see the shares is through Samba(isn’t this supposed to be NFS?). Now the only problem is with openSUSE. Firewall is blocking the shares. The minute I disable firewall everything is fine, but otherwise openSUSE can’t connect. Is there a workaround for this?(Yes Samba server asked me if I want to open ports and I did)
And regarding the NFS option – you can use that instead. There’s a chapter on NFS in the book that’s installed from the standard repositories. The index page (index.html) should be at this location in your installation/files:
/usr/share/doc/manual/opensuse-manual_en/manual/index.html
The relevant chapter is 24: Sharing Files with NFS
> Before I check out either of them. I would like to know which sharing
> mode is better? Which one is recommended?
For simple file sharing between linuxes in a home network environment I
would rather recommend “fish://” (file share over ssh). It is integrated
into konqueror (I think nautilus can also handle this) and works very well.
Samba is the way to go while sharing other network resources (such as
printers) between linuxes and windows boxes. Also works on “linux to linux”
setup but I find samba a bit hard to setup (firewall settings, usernames
and passwords, file permissions…) and big file transfers are quite slow.
Can’t tell you anything about NFS as I never used before O:-)
Further to what Camaleón wrote, an alternative to “fish://” (file share over ssh)" is sftp: “sftp://user@url” . Note, you must open port#22 in both PC’s firewall.
I think I will stick with NFS and/or Samba. I just want it to be simple. I can share files via both in openSUSE(KDE4). I will check those manuals and come back to you. Thanks for suggestions though.
If you don’t have any windows machines that need access and are just looking to easily share some files, I would recommend NFS. I used it with a local file server for quite some time and found it to be much more useful than samba shares.