LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-12-2001, 03:41 AM   #1
tekjunky
LQ Newbie
 
Registered: Jan 2001
Location: Florida
Posts: 10

Rep: Reputation: 0

I am new to networking in linux so please forgive. That being said lets get to the problem.

I have 2 computers running Mandrake 7.0 both have a 3com 509b card on eth0. They can both ping each other back and forth and NFS is running on both. The problem is this:

I cannot mount the files on the other computer using NFS from either computer. I can telnet from one into the other but not from the other back to the first. All seems to be set as I'v read yet no luck.

When I try to telnet on the one it just closes the telnet session as soon as I try to log on to the other box????

As to the Mounting the the other box's drives and filesystem...there are many words to describe the frustration I feel but none are appropriate here.

I was hoping there is somewhere else on the net to read MORE THOROUGH directions for networking under linux than the HOW TO's. These seem to be a general starting place but do not get into real life situations where all does not fall into place perfectly.


Can anybody help???

Tekjunky
 
Old 01-13-2001, 09:15 PM   #2
ssadams
Member
 
Registered: Dec 2000
Location: Toronto Canada
Distribution: slackware 7.1
Posts: 95

Rep: Reputation: 15
double check that both machines are runing the NFS daemons at startup.I think you need the sunrpc to but I cant remember.Also make shure telenet is runing on both and you dont have something like ALL:ALL in hosts.deny.As for fstab
are your entries correct.I know you probably tried all this but sometimes its like proofing your own writing.You go over it a dozen times and its just overlooked.
 
Old 01-15-2001, 02:42 AM   #3
tekjunky
LQ Newbie
 
Registered: Jan 2001
Location: Florida
Posts: 10

Original Poster
Rep: Reputation: 0
fstab says:

(otherbox: /home /mnt/otherbox nfs usr,exec,dev,suid,hard,intr 1 1)

All on one line. Both telnet and nfs are running on both machines and here are host files:

Host.allow is as follows:

portmap 255.255.255.0 0.0.0.0

Host.deny is as follows:

portmap ALL
 
Old 01-15-2001, 11:58 AM   #4
ssadams
Member
 
Registered: Dec 2000
Location: Toronto Canada
Distribution: slackware 7.1
Posts: 95

Rep: Reputation: 15
ok try some of this

otherbox:/home /mnt/otherbox nfs hard intr

(usr,exec...are not nfs parameters..check man nfs)

host.allow
ALL:IP# of otherbox (in otherbox use this box;s ip)

host:deny
ALL:ALL

see if this works.
 
Old 01-19-2001, 03:41 PM   #5
ltd
LQ Newbie
 
Registered: Sep 2000
Location: austin, tx
Posts: 14

Rep: Reputation: 0
nfs

the first time i setup nfs i forgot the root squash option.
are you logged in as root when accessing the nfs share?
example from exports file: /home user(rw,no_root_squash)

also make sure your daemons are running, mountd and nfsd or depending on distro could be rpc.nfsd or rpc.mountd
 
  


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 do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 12:40 PM
how do I setup telnet davepal Linux - Networking 4 04-18-2004 06:43 AM
howto setup Cable modem&router&red hat on machine with ethernet integrated on mobo&XP takanana Linux - Networking 14 10-23-2003 07:20 AM
How to setup NFS connection between laptop & desktop jamescov Linux - Networking 2 10-09-2003 06:21 PM
Diffrence nfs & telnet,ssh etc... tkmuthuvel Linux - Networking 2 08-03-2003 09:16 PM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration