LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-04-2004, 11:46 PM   #1
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
nfs blues


Hi all

Im currently trying to do an install from nfs server and im getting a connection refused error from the client.

On the server I have loaded the nfsd module and started the pormapper, also added an entry to the exports file, but i still dont seem to be able to connect to the server from the client.

entry in exports file is

/home/share (rw)

i think the nfsd module is required and the portmapper has to be started I also read something about mountd but I cant load or find that module ????

It seems i am onto the correct things here the problem is that I cannot connect to the server to do a network install. Seems like I have left a user or permission thing out.

thanx hope this gets to someone that has used nfs before.

Cheers
 
Old 11-05-2004, 01:22 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
This a working example of my exports file:

Code:
/home/dale/Desktop/Documents	*(ro,sync,insecure,no_root_squash)
/usr/portage	*(ro,sync,insecure,no_root_squash)
I can tell you, if you leave out that pisky little * it will not work. At least it didn't for me.

I'm not a nfs expert but I did manage to get mine to work, after adding that pisky little *.

Hope that helps.

 
Old 11-05-2004, 01:50 AM   #3
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
Lightbulb

Hi,

I'm not an nfs expert either, but I think what's missing is the list of clients that are allowed to connect!

Quote:
I can tell you, if you leave out that pisky little * it will not work.
The '*' should match any client that is trying to connect to your nfs server, or you could put in a specific IP address e.g. 192.168.1.2 or what ever your machine happens to have as an IP. It also accepts address ranges such as 192.168.1.* - this should match any client on the 192.168.1 network.

If you read the man pages though, it's all there....

Cheers,

Steve
 
Old 11-05-2004, 02:36 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
But if you don't put one or the other, it won't share anything. You can put a specific IP if you want. I don't.

 
Old 11-05-2004, 02:56 AM   #5
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Original Poster
Rep: Reputation: 30
Hi

Thanx for the replys

I will try this as soon as possible will get back to ya

Cheers
 
Old 11-05-2004, 04:44 AM   #6
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
You might want to try http://www.tldp.org/ . There are a couple of really useful how-tos for NFS that outline all this stuff. I've currently got a working NFS setup, so if you want I'll post the following files (could be long):

/etc/hosts.allow
/etc/hosts.deny
/etc/exports
/etc/shorewall/policy
/etc/shorewall/rules
/etc/shorewall/interfaces

Let me know if you would like me to post them; otherwise I won't clutter up the thread with it.

Good luck.

--Dane
 
Old 11-05-2004, 06:40 AM   #7
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
Thumbs up

Quote:
Originally posted by dalek
But if you don't put one or the other, it won't share anything. You can put a specific IP if you want. I don't.

Oops! Yep, cheers dalek, that's what I meant. Forgot to put that bit though!

Cheers,

Steve
 
Old 11-05-2004, 11:22 AM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
That's why there are more than one of us here. I actually use webmin to set mine up. It always leaves out that * though. Wonder why it do that??? I have to put it in manually every time.

When it leaves out that *, I get the same error he was getting, permission denied. Took me a bit. I'm getting slow in my old age.

Later

 
  


Reply



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
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 01:01 PM
fast encrypted NFS but slow regular NFS cazzazullu Linux - Networking 0 10-19-2004 10:08 AM
nfs client should it use tcp or udp to nfs serve rportmapper andersonas Linux - Networking 2 06-30-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:53 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