Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
File- / NFS-Server. What to do?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Phoenix5100
n00b
n00b


Joined: 11 May 2005
Posts: 12

PostPosted: Sun Jun 12, 2005 6:13 pm    Post subject: File- / NFS-Server. What to do? Reply with quote

Hy!
Maybe ther's another thread, but I don't know where to start. I'm willing to learn and read, but first i have to know what.

Problem: I want a Fileserver for my two other boxes and a NFS Server for my Digital Sat Receiver.

I installed Gentoo on old Hardware. Two ethernet cards.
One should be connected to a DLink WLAN Client which gets an IP Address from hardware router (fixed are possible). The other one has a fix address and should be connected to the digital box.
I have problems with both cards plugged to LAN to connect to the internet.

What have I to do / read / emerge? I do not want a router, i have a hardware based with VoIP. Any help is welcome.

Thanks all.
Back to top
View user's profile Send private message
b0d0r
n00b
n00b


Joined: 04 Jan 2003
Posts: 30

PostPosted: Sun Jun 12, 2005 6:27 pm    Post subject: Reply with quote

For a file server you might want to read up on Samba. Useful for use with windows pcs, also you'll need to read up on NFS.
You *may* need to recompile your kernel for NFS, but that depends on your particular kernel setup. Both Samba and NFS are in the portage tree so you can pretty easily do an emerge for each.
Back to top
View user's profile Send private message
Phoenix5100
n00b
n00b


Joined: 11 May 2005
Posts: 12

PostPosted: Sun Jun 12, 2005 7:23 pm    Post subject: Reply with quote

contains an samba howto how i have to set up the rules (?) for my two ethernet cards?
Back to top
View user's profile Send private message
Phoenix5100
n00b
n00b


Joined: 11 May 2005
Posts: 12

PostPosted: Sun Jun 12, 2005 9:39 pm    Post subject: Reply with quote

My main problem is how to configure the two ethernet cards. I don't want samba, but i want to use ftp. But that is secondary.

Thanks for answering
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Mon Jun 13, 2005 9:07 am    Post subject: Reply with quote

I think you could read the "Home router Howto" here. That explains the most about setting up your ethernet cards.

Basicly you need to know what hardware you have, and compile support for them. To find out what hardware you have use lspci, which is part of the sys-apps/pciutils package in portage.

For an nfs server you can find some info here.

Basicly: enable NFS in your kernel, either modules or as built in. Compile and install the new kernel... If you built nfs as modules do
Code:
modprobe nfs

or if you choose to have nfs built in in your kernel you need to reboot. Then do the following
Code:
emerge nfs-utils
rc-update add portmap default
rc-update add nfs default

Then edit/create the file /etc/exports and add your shares there, as follows:
Code:
/your/shared/dir    ip_range/subnet(sync,no_root_squash,rw)


Well, hope this helps somewhat.
Best regards
addeman
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum