Link statically.Originally Posted by JOCKYW2001
Just compiled NFSv3. It's taken from unfs3-0.9.10 and it's the same nfs daemon as our brothers in arms run on the Linksys NSLU2 (aka Allnet6100).
When I run it I get this error:
# ./unfsd
./unfsd: error while loading shared libraries: ./unfsd: symbol xdr_u_long, versi
on GLIBC_2.0 not defined in file libc.so.6 with link time reference
#
I guess I need to build a more up to date 'libc.so'
Any advise on how to build that thingy?
Link statically.Originally Posted by JOCKYW2001
Okay, you mean to link statically with the libc.so.6 which sits in /opt/.../mipsel-linux/lib ? By adding a "-lc.so.6" linkparameter?Originally Posted by Oleg
Just add this option to link flags
Code:-static
Cool Thanks!
Yeah, it looks much better now if I run it I get:
Cannot register service: RPC: Unable to receive; errno = Connection refused
unable to register (NFS3_PROGRAM, NFS_V3, udp).
That's because portmap isn't running which I will now also compile -static
update: Yes!! portmap and unfsd are running
Why are these dynamic link errors at runtime happening? Is the libc.so.6 in the firmware crippled?
Last edited by JOCKYW2001; 07-10-2004 at 19:34.
Okay, I'm almost there, but need some help to mount a NFS share.
My exports is stored on the HDD in /tmp/harddisk/part1/conf/etc and has only one line:
/tmp/harddisk/part1/Movies 192.168.1.91 (rw )
The portmapper and nfs daemon are stored in/tmp/harddisk/part1/conf/bin
I do this to start them:
cd /tmp/harddisk/part1/conf/bin/
./portmap
./unfsd -e /tmp/harddisk/part1/conf/etc/exports
Then on my satbox I try to mount as follows:
/var # mount -t nfs -o soft,udp,rsize=32768,wsize=8192,nolock 192.168.1.220:/tmp/harddisk/part1/Movies /var/movies
mount: 192.168.1.220:/tmp/harddisk/part1/Movies failed, reason given by server: Permission denied
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.220:/tmp/harddisk/part1/Movies on /var/movies failed: Invalid argument
Anyone ideas why the WL-HDD refuses this mount?
You mean, that you've launched it with -p switch? There is no portmap, -p just instructs to not use portmap.Originally Posted by JOCKYW2001
Yes, libraries are relinked with only functions needed to minimize it's size.
Yes, tried first -p and it ran. Then I compiled portmap with -static and all is well except for the mount problem (see my prev post)Originally Posted by Oleg
Where you got portmap?Originally Posted by JOCKYW2001
try (rw,no_root_squash) and check your IP address. Also, you may want try running it in debug mode.
portmap: http://ftp.surfnet.nl/security/tcpwr...rtmap_4.tar.gzOriginally Posted by Oleg
to compile it this helps: http://www.tomsnetworking.com/Sectio...le86-page3.php
YES!!! with no_root_squash I've got a mount.
Oleg, let's drink a wodka together to celebrate!
Ok, the stock one (I just have a thought, that you've found an other one). It's also possible to use it without portmap, but buggy FC2 mount does not allow that now...Originally Posted by JOCKYW2001
hi,
I also like to celebrate :-)...please up your customized firmware somewhere for us..with al little help how to mount ;-)
I can't wait any longer to test it :-)
cu,
peter
Check it with MS SFU. It's probably should outperform samba...Originally Posted by JOCKYW2001
I'm a very happy camper Works flawless !!!
I can record and playback from my satbox w/o any hickups.
Just tested with Naked Gun 2 1/2
Will do some performance tests with M$ SFU client now
PS: petgun: will contact you tomorrow so that you can dl stuff
Next challenge is to build some automatic start scripts for telnetd, portmap etc.
:-) oh man, you made my day and it's no problem for me to wait until you finnish! Unbelievable, but true..you got your WL-HDD last week and now all my dreams become true :-) I'm sure, the results of your performance tests will motivate many guys here to give NFS a try and I hope your firmware will be upped here in the downloadcenter so everybody can enjoy it.Originally Posted by JOCKYW2001
Thank you very much!
cu,
peter