LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-11-2012, 12:56 PM   #1
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Question New router, no nfs


I just replaced my aging router with a new (actually used, but in good condition) Buffalo AirStation. It took me a bit of work, but I finally got both of my desktop systems connected (wired lan only for now) and accessing the internet. However, I'm not able to get either of them to mount the nfs shares of the other.

Both systems are set up with static ip numbers, and up to now it's all been working just fine. I've updated the ip addresses (from 192.168.1.[2,3] to 192.168.11.[2,3]) in /etc/network/interfaces, /etc/hosts, and /etc/hosts.allow, and restarted both systems (just to be sure everything was reset). I can ping them both by name or ip and get a perfect response from them.

But when it comes time to mount the shares, they both fail. Running mount on sys1 immediately comes back with an "access denied by server when mounting Sys2:/dir..." error, but the sys2 mount just ends up spinning forever and does nothing (update: I just tried adding "vers=3" to the mount options, and now I'm getting an identical error to the above).

I'm not at all sure where to go from here. Any advice for me? I need to get these shares mounted pretty quickly.

Last edited by David the H.; 06-11-2012 at 12:57 PM. Reason: update
 
Old 06-11-2012, 12:58 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Your issue is going to more than likely be that the new router is not forwarding the requests on the port that nfs is using. First confirm which port you are trying to connect on then look up your manufacturers doc for the router and set up port forwarding for that port. By default home routers will only allow connections on the basic ports through(http, https, ftp, etc..)
 
Old 06-11-2012, 01:45 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Original Poster
Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Thanks for the advice, but actually, I just figured it out. I forgot that I needed to update /etc/exports as well. I'm red with embarrassment.

It all seems to be working now.
 
  


Reply

Tags
nfs mount network



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
[SOLVED] mount nfs thru router schneidz Linux - Server 4 02-22-2021 08:17 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
MiFi2200 as router for NFS server mjolnir Linux - Wireless Networking 5 08-11-2009 04:31 AM
NFS Broke my Router and DNS Server? Gsee *BSD 2 04-08-2005 01:30 AM
NFS via NAT (DSL) Router?? h00chman Linux - Networking 4 06-02-2004 11:58 AM

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

All times are GMT -5. The time now is 12:08 AM.

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