networking pc and netbook

Hi, I was wondering if anybody could point me in the right direction to network my pc and my netbook. Both running Opensuse 11.1 kde 4.2.3, My pc is connected to my adsl2 modem which has an ethernet hub plugged in, my netbook uses ethernet cable that plugs into the ethernet hub.

How can I create a network with my current hardware setup and share files between the 2 computers?
any ideas???

thanx
kaddy

There are two principal options: NFS “Network File System” or “Samba”. NFS is a Linux native file sharing and Samba is the Windows/Linux interoperable file sharing.

There’s a comprehensive chapter on NFS in the docs that are installed with openSUSE. See “Chapter 24: Sharing File Systems with NFS”. You’ll find the book at this location:

/usr/share/doc/manual/opensuse-manual_en/manual/index.html

There are quite a few tutorials for Samba on my website. The relevant tute for you is this one if you choose to go with Samba: Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 10, 11

Further to what Swerna noted, if all you wish to do is share files, then one not need go all the way and implement nfs nor samba. One can transfer via simple ssh. There are some basics here:
Concepts - openSUSE

Typically what I do is open port #22 (the ssh server port) on each of my PCs (but I block it on my my firewall to the outside world) and then in KDE, to connect from computer-a (192.168.2.101) to computer-b (192.168.2.102) I simply type in the location bar of konqueor on computer-a:
sftp://oldcpu@192.168.2.102
and I get a file manager presentation of computer-b’s directories. For drag and dropping, …etc … One can save an icon in the desktop so that does not have to be retyped all the time.

or from computer-b to computer-a I type in computer-b in the location bar of konqueor:
sftp://oldcpu@192.168.2.101

For shared printing, I set up computer-a as an IP network printer, and I print from my computer-b (a Linx PC) to computer-a. MS-Windows printers can also print to IP printers.

To run apps on computer-b from computer-a, I open a konsole on computer-a and I type:
ssh -X oldcpu@192.168.2.102
and then any application that I run in that konsole, is run on computer-b, but the graphics are re-directed over the lan to display on computer-a.

Now nfs and samba, as mentioned by Swerdna, are more seemless and integrated, ONCE they are setup. But setting up can be a pain at times.

thanx guys, i’ll mess around with this 2moro… :wink: