Compiling kernel with nfs support
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
wl500gx refuses to connect nfs shares
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?
wl500gx refuses to mount nfs shares
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?
mounting nfs share in wl500g
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.
Pls HELP! nfs client problem
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!
Problem with write permission for NFS share
Hi everybody,
I spent the last hours trying to access a usb drive connected to the wl500gx. While I can mount and read, I don't get write permission, neither as root nor user. This happens at the wl500gx:
Code:
[root@TheSource root]$ cat /proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPs
/tmp/harddisk 192.168.1.2(ro,root_squash,sync,wdelay) # 192.168.1.2
[root@TheSource root]$ cat /etc/exports
# automagically generated from web settings
/tmp/harddisk 192.168.1.2 (rw) //here I also tried (rw,no_root_squash)
It's strange, if you look at the difference between the two "exports". They should both be rw!
This is how I mounted (as root):
Code:
me@my-computer ~ $ cat /proc/mounts
...
192.168.1.1:/tmp/harddisk /mnt/theSource nfs rw,v3,rsize=8192,wsize=8192,soft,udp,lock,addr=192.168.1.1 0 0
Do you know what's going on?