LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2003, 04:12 AM   #1
Fatal_3rr0r
Member
 
Registered: Apr 2003
Posts: 39

Rep: Reputation: 15
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
 
Old 06-09-2003, 04:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
depends what the systems are. for linux to windows you need samba, for linux to linux you want nfs
 
Old 06-09-2003, 06:26 AM   #3
Fatal_3rr0r
Member
 
Registered: Apr 2003
Posts: 39

Original Poster
Rep: Reputation: 15
thanks, i'll look up some info about nfs
 
Old 06-09-2003, 08:47 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

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

HTH

Jamie...
 
Old 06-09-2003, 08:55 AM   #5
Fatal_3rr0r
Member
 
Registered: Apr 2003
Posts: 39

Original Poster
Rep: Reputation: 15
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...
 
Old 06-09-2003, 09:02 AM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
/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...
 
Old 06-09-2003, 09:42 AM   #7
Fatal_3rr0r
Member
 
Registered: Apr 2003
Posts: 39

Original Poster
Rep: Reputation: 15
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?
 
Old 06-10-2003, 02:41 AM   #8
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration