Not at the moment, but this would be possible in the next firmware.
Hi all,
Is nfs filesystem supported for mounting in 1.9.2.7-3 ?
I'm trying to mount a foreign partition on my wl500g and get a "mount: 192.168.0.5:/share no such file or directory"
Is there somethin wrong or will I have to recompile with kernel tweaked configuration ?
Not at the moment, but this would be possible in the next firmware.
Well,
I'm trying harder to get nfs supported in 1.9.2.7-3 Oleg's firmware.
Oleg said it will be supported in the next release, but I would like to try on my own. If nobody has time time to spend teaching me, that's not a problem, I will wait
If you have time, here is my problem :
/tmp/broadcom/src/wl500g-1.9.2.7-3c/ > make kernel
/tmp/broadcom/src/wl500g-1.9.2.7-3c/ > make
/tmp/broadcom/src/linux/linux > make menuconfig (choose module support for NFS and support for NFS v3)
/tmp/broadcaom/src/gateway > make
/tmp/broadcaom/src/gateway > make install
I the get a flashable trx with module nfs.o included
When I try, after flashing, to load nfs.o via 'insmod nfs', I got a lot of errors about unresolved symbols and the nfs.o doesn't load. Unresolved symbols are on rpc stuff. I checked linux/linux/.config and saw that SUNRPC, LOCKD and LOCKD_V4 kernel parameters are set.
Does anyone know what I missed ? Any tips ?
JF
Check your PM...
Is this now possible with the v1.9.2.7 CR4 firmware?
mount seems to work but says "... failed: No such device".
Markus
Yep, same thing at home. Mounting wlhdd exported partition on wl500g says "no such device".Originally Posted by bubendorf
I have a line in /tmp/syslog.log of wlhdd (nfsd server) which says "authenticated request from xx.Xx.xx.xx for /"
Have use all possible option with mount -tnfs -oblablah (like rsize, noroot_squash, etc...) with no effect
wlhdd and wl500g are in their respective /etc/hosts
Searching the internet I found
"No such device" - NFS is not configured into the client's kernel.
I seems the kernel still does not have NFS support.
Will this change in the near future?
Markus
OK. I found the error. I forgot the insmods:
insmod sunrpc
insmod lockd
insmod nfsd
insmod nfs
Now mount does not complain any more.
But it hangs. After I typed mount -tnfs 10.0.0.3:/tmp /mnt nothing happens. Not even Ctrl-C works any more.
Any ideas?
Markus
start /usr/sbin/portmap, also you do not need to insmod nfsd
It works.
Many thanks for your answer and your great firmware.
Markus
Hi there. As I'm not yet equipped with wl-hdd, I try some experimenting on wl500gx. However, having problems with disk space (and it's non-persistency in the case of reboot), so I tried to mount my nfs shares into /tmp/harddisk on wl500gx, but wasn't succesful yet.
commands/logs/configuration:
/etc/exports:
/home/jan/nfs/asus 192.168.10(rw,no_root_squash,no_auth_nlm,insecure_ locks,async,insecure)
- started with rw, no_root_squash options. Others were added while trying to get it working
commands on asus:
[admin@asus /tmp]$ mount 192.168.1.5:/home/jan/nfs/asus /tmp/harddisk
mount: Mounting 192.168.1.5:/home/jan/nfs/asus on /tmp/harddisk failed: No such device
/var/log/syslog (at 192.168.1.5):
Apr 10 18:25:26 cloudcolor rpc.mountd: authenticated mount request from 192.168.1.10:658 for /home/jan/nfs/asus (/home/jan/nfs/asus)
Apr 10 18:25:54 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.
Apr 10 18:27:08 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.
What's wrong?
Another question is - do you think I can force asus to act as an diskless station - I mean - create root filesystem on that nfs share and chroot to it?
Hi there. As I'm not yet equipped with wl-hdd, I try some experimenting on wl500gx. However, having problems with disk space (and it's non-persistency in the case of reboot), so I tried to mount my nfs shares into /tmp/harddisk on wl500gx, but wasn't succesful yet.
commands/logs/configuration:
/etc/exports:
/home/jan/nfs/asus 192.168.10(rw,no_root_squash,no_auth_nlm,insecure_ locks,async,insecure)
- started with rw, no_root_squash options. Others were added while trying to get it working
commands on asus:
[admin@asus /tmp]$ mount 192.168.1.5:/home/jan/nfs/asus /tmp/harddisk
mount: Mounting 192.168.1.5:/home/jan/nfs/asus on /tmp/harddisk failed: No such device
/var/log/syslog (at 192.168.1.5):
Apr 10 18:25:26 cloudcolor rpc.mountd: authenticated mount request from 192.168.1.10:658 for /home/jan/nfs/asus (/home/jan/nfs/asus)
Apr 10 18:25:54 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.
Apr 10 18:27:08 cloudcolor ypbind[16368]: broadcast: RPC: Timed out.
What's wrong?
Another question is - do you think I can force asus to act as an diskless station - I mean - create root filesystem on that nfs share and chroot to it?
Problem resolved. Kernel modules sunrpc, lockd, nfs were not loaded
A qualified guess would be that the NFS file system is not compiled in the kernel, but that the utilities know about it, allowing the mount call to succeede but the registration i nthe kernel failed.
Try 1.9.2.7-5, it will probably fix your problems.