LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   what to do....? (https://www.linuxquestions.org/questions/linux-networking-3/what-to-do-64490/)

Fatal_3rr0r 06-09-2003 04:12 AM

what to do....?
 
i have 2 linux machines sitting here at home. How do i get them share files between them? i dont think you use samba correct? i just need a little advice.... thanks

acid_kewpie 06-09-2003 04:43 AM

depends what the systems are. for linux to windows you need samba, for linux to linux you want nfs

Fatal_3rr0r 06-09-2003 06:26 AM

thanks, i'll look up some info about nfs

jharris 06-09-2003 08:47 AM

Check out the NFS and NET HOWTOs on http://www.tldp.org if you are looking for info.

HTH

Jamie...

Fatal_3rr0r 06-09-2003 08:55 AM

i got some info from here and done all the steps correctly i believe.

under /etc/exports i have
/home/fatal/incoming

under /etc/hosts.allow i have
ALL: 192.168.2.31

i skipped the minimum security step.

when i type in ps -ef i see portmap, nfsd, and rpc.mountd

ok, on the client i have all the stuf setup right too...

under /etc/hosts i have
192.168.2.37 fatal

under /etc/fstab i have
fatal:/home/user/share /mnt/fatal nfs user,bg 0 0

that should be it.

i ping fatal and i returns a great working status. but when i try to mount fatal i get "Permission Denied" i dont see what i've done wrong...

jharris 06-09-2003 09:02 AM

/etc/exports should look something like
Code:

/someDir      someServer(rw,no_root_squash)
After editing /etc/exports you'll want to run exportfs -ra. Also check that each machine has itself and the other machine(s) in /etc/hosts.

HTH

Jamie...

Fatal_3rr0r 06-09-2003 09:42 AM

thanks for your help, that site was a much better reference. now im stuck on a problem with the client...
i typed the mount command in along with the dir... i got...

mount: RPC: Program not registered
mount: backgrounding "fatal:/home/user/share"

any suggestions?

jharris 06-10-2003 02:41 AM

The only thing I can think is that rpc.portmap isn't running, in which case anything that uses Remote Procedure Calls (RPCs) will fail. Check if its in your process list.

cheers

Jamie...


All times are GMT -5. The time now is 02:21 PM.