Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: New wireless adapter breaks nfs exports
Date: Wed, 08 Oct 2014 04:51:14
Message-Id: 1641250.DplACruIhQ@andromeda
In Reply to: [gentoo-user] Re: New wireless adapter breaks nfs exports by walt
1 On Tuesday, October 07, 2014 04:39:32 PM walt wrote:
2 > On 10/05/2014 08:31 PM, Tom H wrote:
3 > > On Sat, Oct 4, 2014 at 2:52 PM, walt <w41ter@×××××.com> wrote:
4 > >> This machine (my nfsv3 file server) just got a new wireless adapter,
5 > >> which
6 > >> works fine for everything except serving files :(
7 > >>
8 > >> mount.nfs: requested NFS version or transport protocol is not
9 supported
10 > >>
11 > >> google shows me lots about slow nfs connections over wireless but
12 nothing
13 > >> about non-support. I'm using only nfs3 ATM because I've had so
14 many
15 > >> problems with nfs4 in the past. I thought I'd ask here if nfs4 might fix
16 > >> the problem before changing everything.
17 > >
18 > > NFS works over wifi.
19 > >
20 > > Have you tried mounting with "-v" and/or "-o nfsvers=3"?
21 >
22 > Yes, about 30 seconds ago :)
23 >
24 > #mount -v -t nfs -o nfsvers=3 a6://usr/portage /mnt
25 > mount.nfs: timeout set for Tue Oct 7 16:35:39 2014
26 > mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.1.75'
27 > mount.nfs: prog 100003, trying vers=3, prot=6
28 > mount.nfs: trying 192.168.1.75 prog 100003 vers 3 prot TCP port 2049
29 > mount.nfs: prog 100005, trying vers=3, prot=17
30 > mount.nfs: trying 192.168.1.75 prog 100005 vers 3 prot UDP port 36168
31 > mount.nfs: mount(2): Protocol not supported
32 > mount.nfs: Protocol not supported
33 >
34 > I have nfsv4 working correctly so the urgency is gone but I'm still
35 > curious if nfsv3 really should work over wifi as well as nfsv4.
36 >
37 > Thanks.
38
39 I did have it working with my old laptop, but NFS isn't so happy with
40 suddenly disappearing network connections.
41 I ended up using Samba and CIFS to access network shares.
42
43 Do you get the same behaviour when using a wired connection?
44
45 Also, something I found out when I tried to configure a network printer
46 once, some badly designed wireless routers (The el-cheapo consumer
47 ones) forget to bridge the LAN and WIFI portions of the network.
48 Try adding a route to the NFS-server via the IP of the router. That might
49 also do the trick.
50
51 # route add <NFS-ip> gw <router-ip>
52
53 --
54 Joost