LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-30-2005, 12:55 PM   #1
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Rep: Reputation: 15
network 2 distros together


This is such a noob question, but I need to network a fedora 4 box to with a mandriva 2005 box. And I'm not sure what to do? I havnt had to do any networking with linux yet,

Thanks
 
Old 11-30-2005, 01:06 PM   #2
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
What exactly do you mean by network the two distros together?

It might be easier if you just specify what problem you are trying to solve by 'networking' them together.
 
Old 11-30-2005, 01:24 PM   #3
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
sorry about that. Basicly i need to build a filserver. But now i'm going to install fedora4 on it. The machine connecting to it will be fedora4 also. What do i need to do to configure the server to share files so the other fedora box can access them.
 
Old 11-30-2005, 03:17 PM   #4
epod69
LQ Newbie
 
Registered: Apr 2005
Location: Cheese Land
Distribution: Debian
Posts: 28

Rep: Reputation: 15
You could use nfs to network the two machines. I havent used fedora before so I cant say exactly how you would install nfs but for debian you would install nfs-kernel-server for the server and install nfs-common for the clients.

Then from the server, you would edit the exports config file "/etc/exports" and enter in the path(s) for the folders you want to share.

For example, you could have the following in the exports file:
"/home/user/share *(rw,no_root_squash,async)

The "/home/user/share" is the directory you are wanting to share. The "*" means that any computer can access the share (you could replace this with an ip address. Then you place the options in. "rw" means read/write access which you could replace with "ro" (read only). I always put "no_root_squash" because this allows you to access the share as root, which is what I seem to do a lot (warning: this means that anyone logged on as root can access the share though!). "man exports" should explain more.

The other files to look at in the /etc folder are the hosts.allow and hosts.deny files. There should be comments in these files which explains how to use. You would use this files if you wanted to allow and deny certain ipaddresses from accessing the shares. Here you could put in hosts.allow "portmap: 192.168.0.0/255.255.255.0" which would make it more secure meaning that only ip addresses 192.168.0.1-254 can access the share.

Now, once your done with the server, you should be able to go to the client computer (make sure that you have installed nfs-common which should have started lockd and statd. Then you should just have to type "mount -t nfs ipaddress:share mountpoint"

For example:
"mount -t nfs 192.168.0.100:/home/jesse/share /mnt/share"

Hope that helps you.
I havent done nfs for a while so this is a brush up on me too. So there may be some extra steps that might have to be done...
 
Old 11-30-2005, 03:23 PM   #5
epod69
LQ Newbie
 
Registered: Apr 2005
Location: Cheese Land
Distribution: Debian
Posts: 28

Rep: Reputation: 15
I read fedora has a good graphical way to setup nfs using this command "system-config-nfs".
So that might help you out a lot =). Good luck! ^-^
 
Old 11-30-2005, 03:23 PM   #6
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
thanks for the help, i will try this when i get home tonight. but it looks as though this will solve my prob.
 
Old 11-30-2005, 03:42 PM   #7
epod69
LQ Newbie
 
Registered: Apr 2005
Location: Cheese Land
Distribution: Debian
Posts: 28

Rep: Reputation: 15
Hey, here is a lengthy 15 page pdf that explains in detail how to setup an nfs server specifically for Fedora.

Link: https://www.sharemation.com/epod69/l...df?uniq=no9zv1
 
  


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
How many distros? corbintechboy Linux - Distributions 22 10-16-2005 03:08 PM
How do I know which partition my distros are on? (Multi distros) glenn69 Linux - Newbie 3 06-18-2005 03:43 AM
On KDE-centric distros and 686 distros, what you think? mebrelith Linux - Distributions 4 03-23-2005 02:09 PM
Can't reach network with different distros -- IPv6 issue?? springsteenfan Linux - Networking 0 02-22-2005 05:07 PM
Installing distros over distros sunilkgarg Linux - Distributions 8 11-07-2001 03:14 AM

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

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration