Hello on all sides
I would gladly have a nfs server on the WL500g somebody has a manual like one sowas does? or is, possibly, already in design? if there manuals in German is I do not last gladly because I English so well can.
greeting condor
Printable View
Hello on all sides
I would gladly have a nfs server on the WL500g somebody has a manual like one sowas does? or is, possibly, already in design? if there manuals in German is I do not last gladly because I English so well can.
greeting condor
sorry who can read is clear in vortei! if an image with nfs server has found from Oleg
greeting condor
I am using a WL500G Deluxe with Olegs Firmware 1.9.2.7-6b
I have exported a nfs share over the webinterface /tmp/harddisk/part1 and then mounted ist on my suse 10 to /media/wlanusbhdd.
I can get access to it, but only in read only mode.
Is there no way to get write access to it?
WLAN ROUTER:
[admin@wl500gd var]$ mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /tmp/harddisk type vfat (rw,sync)
/dev/discs/disc0/part2 on /tmp/harddisk/part1 type ext3 (rw,noatime)
[admin@wl500gd var]$
SUSE10:
gateway:/ # mount
/dev/hda3 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
192.168.0.2:/tmp/harddisk/part1 on /media/wl500gd.hdd type nfs (rw,addr=192.168.0.2)
gateway:/ #
Post your exports line. Perhaps you've not specified no_root_squash and trying to write it as root.
WLAN ROUTER EXPORT:
[admin@wl500gd root]$ cat /etc/exports
# automagically generated from web settings
/tmp/harddisk/part1 192.168.0.1(rw)
[admin@wl500gd root]$
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:
It's strange, if you look at the difference between the two "exports". They should both be rw!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)
This is how I mounted (as root):
Do you know what's going on?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
You've to post /etc/exports or exports line from the web iface.
First, I tried
thenCode:/tmp/harddisk 192.168.1.2 (rw,no_root_squash)
In both cases it didn't work.Code:/tmp/harddisk 192.168.1.2 (rw)
There should not be space between hostname and rights. At the moment all hosts, except 192.168.1.2 are allowed to do whatever they want.
I know it's a bit late, but - thanks a lot! That solved the problem.
WL-500gx NFS server speed measurement:
So it looks like les than 2MB/s for NFS write op.Code:# dd if=/dev/zero bs=1024 count=5000000 of=/mnt/nfs/trash.dat & pid=$!
# while true ;do kill -USR1 $pid; sleep 300; done
594025+0 records in
594024+0 records out
608280576 bytes transferred in 324.738316 seconds (1873141 bytes/sec)
1126025+0 records in
1126024+0 records out
1153048576 bytes transferred in 624.813577 seconds (1845428 bytes/sec)
1701481+0 records in
1701480+0 records out
1742315520 bytes transferred in 924.808289 seconds (1883975 bytes/sec)
2284621+0 records in
2284620+0 records out
2339450880 bytes transferred in 1225.116235 seconds (1909575 bytes/sec)
2874441+0 records in
2874440+0 records out
2943426560 bytes transferred in 1524.905024 seconds (1930236 bytes/sec)
3453377+0 records in
3453376+0 records out
3536257024 bytes transferred in 1825.169147 seconds (1937496 bytes/sec)
4046273+0 records in
4046272+0 records out
4143382528 bytes transferred in 2124.898666 seconds (1949920 bytes/sec)
4632513+0 records in
4632512+0 records out
4743692288 bytes transferred in 2424.825202 seconds (1956303 bytes/sec)
5000000+0 records in
5000000+0 records out
5120000000 bytes transferred in 2609.890137 seconds (1961768 bytes/sec)
I've got like 1.8 MB/s for NFS (rsize=32k, wsize=32k). And that's with ext3 as underlying fs.
Is there a way to get more? 1.8MB is OK for mp3 or dvdrip, even a single-layered dvd, but its not enough for double-layered dvd, and is generally _very_ slow.
Strange thing is, I get like 5 MB/s if measure speen on the router. So it takes more cpu time to send the data over nfs than to read it from usb? Gosh.
How can I possibly increase nfs speed?
The WL-HDD might be your choice of hardware - since the USB 2.0 implementation is slow and quite bad in the 2.4x kernel.
Too late :)Quote:
Originally Posted by macsat
And the wl-hdd doesn't add wlan to my home network anyway.
What about 2.6 kernel series? Is it possible to put that on the wl500g?
The Developement branch of OpenWrt uses kernel 2.6.
Since Broadcom refuses to give away sources (or details) for their wireless drivers, the wireless implementation for the 2.6 kernel is pretty bad though.
If you want to use wireless, the 2.6-based series is not yet an option.