You are not logged in.

#1 2006-12-12 08:41:28

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Internet Connection Sharing and NFS route problem?

My new box is yet to gets its wireless card so following the wiki I have painlessly set up ICS - this works great.  The ICS host connects to my wireless router on wlan0 and to the ICS client on eth0.  The ICS client attaches on eth0.

From the ICS client I can ping eth0 and wlan0 on the host and also the router but I can't access the NFS shares on the host - should I be able to access them on both wlan0 and eth0 - even if I bring down wlan0?  I'm guessing I need another iptables rule...

Offline

#2 2006-12-12 09:22:23

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Internet Connection Sharing and NFS route problem?

I'm not quite sure I understand whats happening here....  So here is a "diagram":

ICS cli --- eth0 ---> ICS host --- wlan0 ---> router ---> internet

Yeah?  From this, there is no reason for wlan0 to affect NFS from cli to host, assuming everything has been set up properly with the routing tables.

If you disable all iptables stuff (which is how I'm assuming you have the routing working), does NFS work?  Have you set up your /etc/exports properly?

Can I see your iptables stuff as well?

And on a side note: I recently chucked NFS in favour of sshfs, it's much better for me personally.  Considered that?


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#3 2006-12-12 09:31:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Internet Connection Sharing and NFS route problem?

Your running NFS on your internal subnet i.e between the host and the client, so wlan0 is irrelevant. Do you get any log entries on the host when you try to mount the share on the client? Post the hosts' /etc/exports and the mount command or fstab entry you're using on the client.

Completely OT - I know "Internet  Connection Sharing" is an accurate desciption of what's going on, but it just makes me think "Windows....Uuughh." tongue

Offline

#4 2006-12-12 11:06:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Internet Connection Sharing and NFS route problem?

checked portmap is running on the client too? That one bit me every time i tried to setup NFS..... and I never saw it documented anywhere.

James

Offline

#5 2006-12-12 11:17:32

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Internet Connection Sharing and NFS route problem?

iphitus wrote:

and I never saw it documented anywhere.

If you check "man nfsd", it goes on about RPC.  Maybe they are assuming that you know RPC wants portmap?


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#6 2006-12-12 11:34:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Internet Connection Sharing and NFS route problem?

http://nfs.sourceforge.net/nfs-howto/ar01s04.html

That's where I used to go for NFS setup. Then I started thinking I knew it all, and sure enough, I forgot to run portmap on the client. :oops:

Offline

#7 2006-12-13 11:56:05

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Internet Connection Sharing and NFS route problem?

...I probably have too - completely forgot to check this thread last night  roll Will check later

Offline

Board footer

Powered by FluxBB