most likely this is due to /tmp filesystem - tmpfs/ramfs seems to be unsupported by nfs server.
I'm using 1.9.2.7-5a firmware in my WL-500B. NFS server is enabled through web interface, and /etc/exports is:
/tmp *(rw,async,no_root_squash)
I insert nfs.o first, like this:
insmod nfs
Then:
mount 127.0.0.1:/tmp /mnt
error msg in dmesg:
nfs warning: mount version older than kernel
RPC: sendmsg returned error 22
nfs: RPC call returned error 22
nfs_get_root: getattr error = 22
nfs_read_super: get root inode failed
Does anyone know how to solve this? Thanks very much!
most likely this is due to /tmp filesystem - tmpfs/ramfs seems to be unsupported by nfs server.
I change /tmp to /tmp/harddisk, which is in ext3 format, and it works fine.Originally Posted by Oleg
Thanks very much!
It would be nice with a guide to NFS, dosen´t look like enybody have made one yet.
I would like to try a play with that feature to... but don know how to get it working.
Hi,
I get a connection refused, while trying to mount NFS shares. Here are my config files:
/etc/exports:
[root@asus etc]$ cat /etc/exports
/home/maxtor 192.168.0.53(rw,no_root_squash)
/usr/local/sbin/post-boot:
[root@asus etc]$ cat /usr/local/sbin/post-boot
#!/bin/sh
mount -o remount,rw,noatime / /
cp /usr/local/conf/smb.conf /etc/smb.conf
cp /usr/local/conf/exports /etc/exports
/usr/sbin/nmbd -D
/usr/sbin/smbd -D
/usr/sbin/mountd &
/usr/sbin/portmap &
And on my linux box I type the following:
darkstar:/media # mount 192.168.0.1:/home/maxtor asus/
mount: RPC: Remote system error - Connection refused
I also have a hosts.allow if it is relevant, here it is:
[root@asus etc]$ cat /etc/hosts.allow
portmap:192.168.0.53
Can anyone tell me what am I missing please.
I'm wonder why did you launch this stuff manually and do not use web interface? It's not just launching a daemon, you should prepare config files as well... You've to start nfsd too.
ok, I figured this out too, I thought nfs also had a poor configuration from the web, but it turned out much better then samba, so no probs now.
I'm new to linux. I'm trying to nfs mount on asus and getting "no such device" error. Please help.
----
on my other linux box (192.169.1.110):
# cat /opt/etc/exports
/share/hdd/data 192.168.1.1(rw,sync,no_root_squash)
# exportfs
/share/hdd/data
192.168.1.1
on my asus router:
[admin@router root]$ mount -t nfs 192.168.1.110:/share/hdd/data /tmp/nfs
mount: Mounting 192.168.1.110:/share/hdd/data on /tmp/nfs failed: No such device
----
Thank you for the help.
Anyone? Pls help. Short of a samba client (which is not supported in the firmware yet), using NFS is my only option to mount an external storage. Thanks for your help.
I'm at my wits end. Tried many variantion but of no help. Googling for info reveals that the "No Such device" means that nfs client supprort is not in the client kernel. Is this true?
I'm trying to use NFS client on the Asus router. Please HELP!
did you give a look at this : http://wl500g.info/showthread.php?t=...ght=insmod+nfs ?
That was it! It now works like a charm. Thank you so much Jean-Fabrice.
I used the search func.Originally Posted by wl500grocks
Hi
I try to see what to do to launch the NFS server without configuring it into the web server. I've not see any tutorial on the forum or post on this subject using only Oleg's FWare.
My Wl500gx works fine with teh web options but I was looking to see if I could setup the from the post-mount on manually NFS
I've created an /etc/exports
also mkdir -p /var/lib/nfs
and run nfsd but the process doesn't start
adding the files etab rmtab xtab in the /var/lib/nfs/ dosen't change anything
Did someone have an idea of what to do ?
Regards
Hi Isidor,
to put you on the right track (i hope), here a piece of my post-boot:
Chances are that if you insmod nfsd instead of (or along with) nfs,Code:# # Enable NFS-client insmod sunrpc insmod lockd insmod nfs /usr/sbin/portmap
and then start your nfsd-daemon, it will work.
I haven't tried to run nfs-server myself, but I really think it will help a
little in achieving this.
Good luck, and regards, Jaap
2'20/41
Last edited by jaaput; 24-09-2005 at 12:25.