public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] New wireless adapter breaks nfs exports
@ 2014-10-04 18:52 walt
  2014-10-05 22:53 ` [gentoo-user] Re: New wireless adapter breaks nfs exports [SOLVED] walt
  2014-10-06  3:31 ` [gentoo-user] New wireless adapter breaks nfs exports Tom H
  0 siblings, 2 replies; 8+ messages in thread
From: walt @ 2014-10-04 18:52 UTC (permalink / raw
  To: gentoo-user

This machine (my nfsv3 file server) just got a new wireless adapter, which
works fine for everything except serving files :(

mount.nfs: requested NFS version or transport protocol is not supported

google shows me lots about slow nfs connections over wireless but nothing
about non-support.  I'm using only nfs3 ATM because I've had so many problems
with nfs4 in the past.  I thought I'd ask here if nfs4 might fix the problem
before changing everything.

Any other ideas would be most welcome too.

Thanks.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: New wireless adapter breaks nfs exports [SOLVED]
  2014-10-04 18:52 [gentoo-user] New wireless adapter breaks nfs exports walt
@ 2014-10-05 22:53 ` walt
  2014-10-06  3:31 ` [gentoo-user] New wireless adapter breaks nfs exports Tom H
  1 sibling, 0 replies; 8+ messages in thread
From: walt @ 2014-10-05 22:53 UTC (permalink / raw
  To: gentoo-user

On 10/04/2014 11:52 AM, walt wrote:
> This machine (my nfsv3 file server) just got a new wireless adapter, which
> works fine for everything except serving files :(
> 
> mount.nfs: requested NFS version or transport protocol is not supported
> 
> google shows me lots about slow nfs connections over wireless but nothing
> about non-support.  I'm using only nfs3 ATM because I've had so many problems
> with nfs4 in the past.  I thought I'd ask here if nfs4 might fix the problem
> before changing everything.

Right...

While you lot were off hoisting a pint or three at the local I answered my own
question by compiling in support for nsfv4.

It worked :)

-- 
Yes, I *have* been reading a crime novel set in a sleazy part of London.
Why do you ask?




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] New wireless adapter breaks nfs exports
  2014-10-04 18:52 [gentoo-user] New wireless adapter breaks nfs exports walt
  2014-10-05 22:53 ` [gentoo-user] Re: New wireless adapter breaks nfs exports [SOLVED] walt
@ 2014-10-06  3:31 ` Tom H
  2014-10-07 23:39   ` [gentoo-user] " walt
  1 sibling, 1 reply; 8+ messages in thread
From: Tom H @ 2014-10-06  3:31 UTC (permalink / raw
  To: Gentoo User

On Sat, Oct 4, 2014 at 2:52 PM, walt <w41ter@gmail.com> wrote:
>
> This machine (my nfsv3 file server) just got a new wireless adapter, which
> works fine for everything except serving files :(
>
> mount.nfs: requested NFS version or transport protocol is not supported
>
> google shows me lots about slow nfs connections over wireless but nothing
> about non-support. I'm using only nfs3 ATM because I've had so many problems
> with nfs4 in the past. I thought I'd ask here if nfs4 might fix the problem
> before changing everything.

NFS works over wifi.

Have you tried mounting with "-v" and/or "-o nfsvers=3"?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: New wireless adapter breaks nfs exports
  2014-10-06  3:31 ` [gentoo-user] New wireless adapter breaks nfs exports Tom H
@ 2014-10-07 23:39   ` walt
  2014-10-08  4:51     ` J. Roeleveld
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: walt @ 2014-10-07 23:39 UTC (permalink / raw
  To: gentoo-user

On 10/05/2014 08:31 PM, Tom H wrote:
> On Sat, Oct 4, 2014 at 2:52 PM, walt <w41ter@gmail.com> wrote:
>>
>> This machine (my nfsv3 file server) just got a new wireless adapter, which
>> works fine for everything except serving files :(
>>
>> mount.nfs: requested NFS version or transport protocol is not supported
>>
>> google shows me lots about slow nfs connections over wireless but nothing
>> about non-support. I'm using only nfs3 ATM because I've had so many problems
>> with nfs4 in the past. I thought I'd ask here if nfs4 might fix the problem
>> before changing everything.
> 
> NFS works over wifi.
> 
> Have you tried mounting with "-v" and/or "-o nfsvers=3"?

Yes, about 30 seconds ago :)

#mount -v -t nfs -o nfsvers=3 a6://usr/portage /mnt
mount.nfs: timeout set for Tue Oct  7 16:35:39 2014
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.1.75'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.75 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.75 prog 100005 vers 3 prot UDP port 36168
mount.nfs: mount(2): Protocol not supported
mount.nfs: Protocol not supported

I have nfsv4 working correctly so the urgency is gone but I'm still
curious if nfsv3 really should work over wifi as well as nfsv4.

Thanks.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: New wireless adapter breaks nfs exports
  2014-10-07 23:39   ` [gentoo-user] " walt
@ 2014-10-08  4:51     ` J. Roeleveld
  2014-10-08  6:16     ` Alan McKinnon
  2014-10-15 19:57     ` Tom H
  2 siblings, 0 replies; 8+ messages in thread
From: J. Roeleveld @ 2014-10-08  4:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2035 bytes --]


On Tuesday, October 07, 2014 04:39:32 PM walt wrote:
> On 10/05/2014 08:31 PM, Tom H wrote:
> > On Sat, Oct 4, 2014 at 2:52 PM, walt <w41ter@gmail.com> wrote:
> >> This machine (my nfsv3 file server) just got a new wireless adapter,
> >> which
> >> works fine for everything except serving files :(
> >> 
> >> mount.nfs: requested NFS version or transport protocol is not 
supported
> >> 
> >> google shows me lots about slow nfs connections over wireless but 
nothing
> >> about non-support. I'm using only nfs3 ATM because I've had so 
many
> >> problems with nfs4 in the past. I thought I'd ask here if nfs4 might fix
> >> the problem before changing everything.
> > 
> > NFS works over wifi.
> > 
> > Have you tried mounting with "-v" and/or "-o nfsvers=3"?
> 
> Yes, about 30 seconds ago :)
> 
> #mount -v -t nfs -o nfsvers=3 a6://usr/portage /mnt
> mount.nfs: timeout set for Tue Oct  7 16:35:39 2014
> mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.1.75'
> mount.nfs: prog 100003, trying vers=3, prot=6
> mount.nfs: trying 192.168.1.75 prog 100003 vers 3 prot TCP port 2049
> mount.nfs: prog 100005, trying vers=3, prot=17
> mount.nfs: trying 192.168.1.75 prog 100005 vers 3 prot UDP port 36168
> mount.nfs: mount(2): Protocol not supported
> mount.nfs: Protocol not supported
> 
> I have nfsv4 working correctly so the urgency is gone but I'm still
> curious if nfsv3 really should work over wifi as well as nfsv4.
> 
> Thanks.

I did have it working with my old laptop, but NFS isn't so happy with 
suddenly disappearing network connections.
I ended up using Samba and CIFS to access network shares.

Do you get the same behaviour when using a wired connection?

Also, something I found out when I tried to configure a network printer 
once, some badly designed wireless routers (The el-cheapo consumer 
ones) forget to bridge the LAN and WIFI portions of the network.
Try adding a route to the NFS-server via the IP of the router. That might 
also do the trick.

# route add <NFS-ip> gw <router-ip>

--
Joost


[-- Attachment #2: Type: text/html, Size: 9569 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: New wireless adapter breaks nfs exports
  2014-10-07 23:39   ` [gentoo-user] " walt
  2014-10-08  4:51     ` J. Roeleveld
@ 2014-10-08  6:16     ` Alan McKinnon
  2014-10-15 19:57     ` Tom H
  2 siblings, 0 replies; 8+ messages in thread
From: Alan McKinnon @ 2014-10-08  6:16 UTC (permalink / raw
  To: gentoo-user

On 08/10/2014 01:39, walt wrote:
> On 10/05/2014 08:31 PM, Tom H wrote:
>> On Sat, Oct 4, 2014 at 2:52 PM, walt <w41ter@gmail.com> wrote:
>>>
>>> This machine (my nfsv3 file server) just got a new wireless adapter, which
>>> works fine for everything except serving files :(
>>>
>>> mount.nfs: requested NFS version or transport protocol is not supported
>>>
>>> google shows me lots about slow nfs connections over wireless but nothing
>>> about non-support. I'm using only nfs3 ATM because I've had so many problems
>>> with nfs4 in the past. I thought I'd ask here if nfs4 might fix the problem
>>> before changing everything.
>>
>> NFS works over wifi.
>>
>> Have you tried mounting with "-v" and/or "-o nfsvers=3"?
> 
> Yes, about 30 seconds ago :)
> 
> #mount -v -t nfs -o nfsvers=3 a6://usr/portage /mnt
> mount.nfs: timeout set for Tue Oct  7 16:35:39 2014
> mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.1.75'
> mount.nfs: prog 100003, trying vers=3, prot=6
> mount.nfs: trying 192.168.1.75 prog 100003 vers 3 prot TCP port 2049
> mount.nfs: prog 100005, trying vers=3, prot=17
> mount.nfs: trying 192.168.1.75 prog 100005 vers 3 prot UDP port 36168
> mount.nfs: mount(2): Protocol not supported
> mount.nfs: Protocol not supported
> 
> I have nfsv4 working correctly so the urgency is gone but I'm still
> curious if nfsv3 really should work over wifi as well as nfsv4.


nfs3 over wifi works just fine for me, I use it all the time at home.
Setting it up was no different to setting up a wired interface - set
exports on the server, mount from the client.

I suspect the problems you are having are unrelated to wifi as such and
are probably something more mundane. I take it you've checked all the
usual suspects such as your current IP is allowed to connect to the
server, there's no access rules blocking you and so on?




-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: New wireless adapter breaks nfs exports
  2014-10-07 23:39   ` [gentoo-user] " walt
  2014-10-08  4:51     ` J. Roeleveld
  2014-10-08  6:16     ` Alan McKinnon
@ 2014-10-15 19:57     ` Tom H
  2014-10-16 23:23       ` walt
  2 siblings, 1 reply; 8+ messages in thread
From: Tom H @ 2014-10-15 19:57 UTC (permalink / raw
  To: Gentoo User

On Tue, Oct 7, 2014 at 7:39 PM, walt <w41ter@gmail.com> wrote:
> On 10/05/2014 08:31 PM, Tom H wrote:
>> On Sat, Oct 4, 2014 at 2:52 PM, walt <w41ter@gmail.com> wrote:
>>>
>>> This machine (my nfsv3 file server) just got a new wireless adapter, which
>>> works fine for everything except serving files :(
>>>
>>> mount.nfs: requested NFS version or transport protocol is not supported
>>>
>>> google shows me lots about slow nfs connections over wireless but nothing
>>> about non-support. I'm using only nfs3 ATM because I've had so many problems
>>> with nfs4 in the past. I thought I'd ask here if nfs4 might fix the problem
>>> before changing everything.
>>
>> NFS works over wifi.
>>
>> Have you tried mounting with "-v" and/or "-o nfsvers=3"?
>
> Yes, about 30 seconds ago :)
>
> #mount -v -t nfs -o nfsvers=3 a6://usr/portage /mnt
> mount.nfs: timeout set for Tue Oct  7 16:35:39 2014
> mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.1.75'
> mount.nfs: prog 100003, trying vers=3, prot=6
> mount.nfs: trying 192.168.1.75 prog 100003 vers 3 prot TCP port 2049
> mount.nfs: prog 100005, trying vers=3, prot=17
> mount.nfs: trying 192.168.1.75 prog 100005 vers 3 prot UDP port 36168
> mount.nfs: mount(2): Protocol not supported
> mount.nfs: Protocol not supported
>
> I have nfsv4 working correctly so the urgency is gone but I'm still
> curious if nfsv3 really should work over wifi as well as nfsv4.

Both nfsv3 and nfsv4 work over wifi.

Do both the client's and the server's kernels have nfsv3 enabled?

From the output above I'd check the client's kernel config.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: New wireless adapter breaks nfs exports
  2014-10-15 19:57     ` Tom H
@ 2014-10-16 23:23       ` walt
  0 siblings, 0 replies; 8+ messages in thread
From: walt @ 2014-10-16 23:23 UTC (permalink / raw
  To: gentoo-user

On 10/15/2014 12:57 PM, Tom H wrote:
> On Tue, Oct 7, 2014 at 7:39 PM, walt <w41ter@gmail.com> wrote:
>> On 10/05/2014 08:31 PM, Tom H wrote:
>>> On Sat, Oct 4, 2014 at 2:52 PM, walt <w41ter@gmail.com> wrote:
>>>>
>>>> This machine (my nfsv3 file server) just got a new wireless adapter, which
>>>> works fine for everything except serving files :(
>>>>
>>>> mount.nfs: requested NFS version or transport protocol is not supported
>>>>
>>>> google shows me lots about slow nfs connections over wireless but nothing
>>>> about non-support. I'm using only nfs3 ATM because I've had so many problems
>>>> with nfs4 in the past. I thought I'd ask here if nfs4 might fix the problem
>>>> before changing everything.
>>>
>>> NFS works over wifi.
>>>
>>> Have you tried mounting with "-v" and/or "-o nfsvers=3"?
>>
>> Yes, about 30 seconds ago :)
>>
>> #mount -v -t nfs -o nfsvers=3 a6://usr/portage /mnt
>> mount.nfs: timeout set for Tue Oct  7 16:35:39 2014
>> mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.1.75'
>> mount.nfs: prog 100003, trying vers=3, prot=6
>> mount.nfs: trying 192.168.1.75 prog 100003 vers 3 prot TCP port 2049
>> mount.nfs: prog 100005, trying vers=3, prot=17
>> mount.nfs: trying 192.168.1.75 prog 100005 vers 3 prot UDP port 36168
>> mount.nfs: mount(2): Protocol not supported
>> mount.nfs: Protocol not supported
>>
>> I have nfsv4 working correctly so the urgency is gone but I'm still
>> curious if nfsv3 really should work over wifi as well as nfsv4.
> 
> Both nfsv3 and nfsv4 work over wifi.
> 
> Do both the client's and the server's kernels have nfsv3 enabled?
> 
> From the output above I'd check the client's kernel config.

The problem turned out to be incorrect nfs useflags, not kernel config, and
nfsv3 is working now, thanks much.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-10-16 23:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-04 18:52 [gentoo-user] New wireless adapter breaks nfs exports walt
2014-10-05 22:53 ` [gentoo-user] Re: New wireless adapter breaks nfs exports [SOLVED] walt
2014-10-06  3:31 ` [gentoo-user] New wireless adapter breaks nfs exports Tom H
2014-10-07 23:39   ` [gentoo-user] " walt
2014-10-08  4:51     ` J. Roeleveld
2014-10-08  6:16     ` Alan McKinnon
2014-10-15 19:57     ` Tom H
2014-10-16 23:23       ` walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox