Page 1 of 1

Access to NFS share

Posted: Thu Nov 28, 2013 10:24 am
by jamesp
Hi,

I have Gargoyle 1.5.11 installed on my WNDR3700v1 router.

I've setup USB storage and can access this without problems on the local network (192.168.1.0/24) using NFS and FTP.

The problem is I have a second network (192.168.100.0/24) from which I also want to access the USB share.
Whilst this isn't a problem with FTP, it is with NFS.

I've tried changing the NFS policy and specifiying the two networks explicitly, but I still can't access the share from the 192.168.100.0/24 network.

Can anybody tell me how to get this working?

Re: Access to NFS share

Posted: Wed Dec 04, 2013 6:59 pm
by skyark
I don't even thought about the NFS in the USB.
I got the same router.
How did you configure this in the web interface or ssh?
Can you please tell about that it would be awesome speed.
Thx man. :mrgreen:

Re: Access to NFS share

Posted: Fri Dec 06, 2013 9:58 am
by jamesp
Use the Web Interface, System -> USB Storage.
Its all there.

Still haven't found a solution to my problem.
I think its probably a firewall thing.

Code: Select all

[root@clone Desktop]# ip addr list dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 52:54:00:97:90:9d brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.80/24 brd 192.168.100.255 scope global eth0
    inet6 fe80::5054:ff:fe97:909d/64 scope link 
       valid_lft forever preferred_lft forever

[root@clone Desktop]# showmount -e 192.168.1.1
Export list for 192.168.1.1:
/tmp/usb_mount/f88c20e2-9318-4b13-8fef-a5aacba57c7d *

[root@clone Desktop]# mount -t nfs 192.168.1.1:/tmp/usb_mount/f88c20e2-9318-4b13-8fef-a5aacba57c7d /mnt/router -o timeo=14,rsize=8192,wsize=8192,hard,intr,nodev,nosuid
mount.nfs: access denied by server while mounting 192.168.1.1:/tmp/usb_mount/f88c20e2-9318-4b13-8fef-a5aacba57c7d

[root@clone Desktop]# /etc/auto.net 192.168.1.1
-fstype=nfs,hard,intr,nodev,nosuid \
	/tmp/usb_mount/f88c20e2-9318-4b13-8fef-a5aacba57c7d 192.168.1.1:/tmp/usb_mount/f88c20e2-9318-4b13-8fef-a5aacba57c7d

[root@clone Desktop]# ll /net/192.168.1.1/tmp/usb_mount
total 0
drwxrwxrwx. 2 root root 0 Dec  6 14:47 f88c20e2-9318-4b13-8fef-a5aacba57c7d

[root@clone Desktop]# ll /net/192.168.1.1/tmp/usb_mount/f88c20e2-9318-4b13-8fef-a5aacba57c7d/
ls: cannot access /net/192.168.1.1/tmp/usb_mount/f88c20e2-9318-4b13-8fef-a5aacba57c7d/: No such file or directory