LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2009, 02:37 PM   #1
supersoup
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
Redhat Networking


I have 2 computers on a small network that i am trying to get to talk to each other. I would like to arrange it so that any user can mount the other computer's /root/public directory into the /root/import directory. I would also like the client computer to mount the gateway computer's/root/public directory when it boots. If someone could show me how to do this that would be great!
Thank you!
 
Old 11-04-2009, 03:33 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
1st can the two computers ping each other? How are they connected? Router? Switch? Just an ethernet cable?

After the machines can ping each other, take a look at NFS (network file system). It is the standard Linux-Linux file sharing system. There are tons of howtos out there, just google it.
 
Old 11-04-2009, 03:37 PM   #3
supersoup
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Original Poster
Rep: Reputation: 0
yes they can ping each other and they are connected with an ethernet cord.

altering the fstab and export folders we were able to get the basic computer to mount the gateway but are still struggling to get the gateway to mount the basic.
 
Old 11-04-2009, 03:42 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
With the way you want to set things up you will have to have a NFS server running on EACH machine. This is assuming you are using NFS(which you have not indicated thus far).
 
Old 11-04-2009, 03:47 PM   #5
supersoup
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Original Poster
Rep: Reputation: 0
yes we have nfs running
 
Old 11-04-2009, 05:40 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Try and mount it manually, then post the errors here.
 
Old 11-04-2009, 07:14 PM   #7
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
Quote:
Originally Posted by supersoup View Post
yes they can ping each other and they are connected with an ethernet cord.

altering the fstab and export folders we were able to get the basic computer to mount the gateway but are still struggling to get the gateway to mount the basic.
Usinf fstab to mount remote shares can prove detrimental. If the remote share is unreachable your booting might fail. It will also cause problem during fsck. I would develop a script and put it in /etc/rc.d to do all of this.
 
Old 11-04-2009, 07:23 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
RHEL/Centos is set up in a way that if a NSF mount fails(fstab or otherwise) it will do so gracefully. It simply will not mount. One must keep in mind that anything in the boot process that relies on something within that mount(a bad idea) will fail and that MAY prevent a boot from completing.
 
Old 11-05-2009, 12:16 AM   #9
supersoup
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Original Poster
Rep: Reputation: 0
thank you all, i got the mount to work
stupid mistake, i altered the export file on the gateway but created an exportS file on the basic
 
Old 11-05-2009, 12:23 AM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
It almost always is a very simple mistake. A lot of times it is just faster to grab somebody else and have them look at both machines. Even if they do not know what they are doing, they can often spot a simple difference that we are too close to see.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
networking redhat 9 and XP Pro elite122 Linux - Networking 1 07-24-2004 05:31 AM
Redhat 9 networking problem fenka Linux - Networking 10 11-05-2003 02:40 PM
redhat 9 networking abcdefg Linux - Networking 3 10-09-2003 10:12 PM
networking xp through redhat gateway linker Linux - Networking 1 07-18-2003 12:07 AM
Redhat 8.0 Networking SchwarzeFeen Linux - Networking 2 02-21-2003 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration