LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux networking (https://www.linuxquestions.org/questions/linux-newbie-8/linux-networking-294176/)

slylos 02-24-2005 12:02 AM

Linux networking
 
I'm trying to network two linux boxes together. I know all about Samba to share files with windows boxes. But how do you share files with fellow linux boxes? I can share files with Samba just as easily, but I was wondering if there was something used only by linux to share files ...

sureshpc 02-24-2005 12:08 AM

To share files between Linux system, the facility is called nfs.

To share file using nfs, edit file named /etc/exports and add share in it.

then on the other system we can mount the that share with ip addres like follows

mount <ipaddress>:/fullpath mount_point

for more details check the site
http://nfs.sourceforge.net/nfs-howto/

slylos 02-24-2005 07:32 AM

Yes I read about NFS, it seems like the linux version of mapping drives in Windows. But I was also wondering what service in linux allows you to browse shares dynamically (i.e. smb://linuxbox). I suppose Samba is that service?

Quote:

Originally posted by sureshpc
To share files between Linux system, the facility is called nfs.

To share file using nfs, edit file named /etc/exports and add share in it.

then on the other system we can mount the that share with ip addres like follows

mount <ipaddress>:/fullpath mount_point

for more details check the site
http://nfs.sourceforge.net/nfs-howto/


amosf 02-24-2005 07:38 AM

Once you set up the nfs shares they become part of the tree... They are mounted and you browse them with whatever file browser you want to use...

frieza 02-24-2005 08:38 AM

i don't really see any reason to dynamicly browse shares.... if you really want non-permanant shares, than simply 'umount' the share when you're done.

IroN-RuS 02-24-2005 08:55 AM

Hmmm but would it be possible to create a network between a linux pc and a windooz one?

slylos 02-24-2005 09:00 AM

Yes I already have one and I don't have any problems with reliability. Thanks for the info everyone, I will look into NFS more exstensively!
Quote:

Originally posted by IroN-RuS
Hmmm but would it be possible to create a network between a linux pc and a windooz one?

frieza 02-24-2005 09:51 AM

Quote:

Originally posted by IroN-RuS
Hmmm but would it be possible to create a network between a linux pc and a windooz one?
yes... it's called SAMBA :D

amosf 02-24-2005 03:37 PM

Yes, to clarify. If you want to share files in a mixed linux/win stiuation, then samba is a good option, then use something like smb4k or linneighbourhood on the linux box to browse the shares - and create shares on the win boxes in the usual way. In a linux only situation, you can use nfs... I think you can get XP to read NFS, but haven't done it...


All times are GMT -5. The time now is 09:52 PM.