Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 54

Thread: Problems with sharing USB disc over NFS

  1. #31

    NFS Server?

    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

  2. #32

    OHHH nooo

    sorry who can read is clear in vortei! if an image with nfs server has found from Oleg

    greeting condor

  3. #33

    cannot write on nfs?!

    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:/ #

  4. #34
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Post your exports line. Perhaps you've not specified no_root_squash and trying to write it as root.

  5. #35
    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]$

  6. #36

    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?

  7. #37
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You've to post /etc/exports or exports line from the web iface.

  8. #38
    First, I tried
    Code:
    /tmp/harddisk 192.168.1.2 (rw,no_root_squash)
    then
    Code:
    /tmp/harddisk 192.168.1.2 (rw)
    In both cases it didn't work.

  9. #39
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    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.

  10. #40
    I know it's a bit late, but - thanks a lot! That solved the problem.

  11. #41
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736

    NFS speed

    WL-500gx NFS server speed measurement:
    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)
    So it looks like les than 2MB/s for NFS write op.

  12. #42

    Same here

    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?

  13. #43
    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.
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  14. #44
    Quote Originally Posted by macsat
    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
    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?

  15. #45
    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.
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. linuxrc bug? - WL-500g not booting from usb drive with hub
    By daniel632 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-03-2012, 15:28
  2. Unstable boot from USB
    By Tamadite in forum WL-500g Q&A
    Replies: 6
    Last Post: 20-08-2008, 15:19
  3. WL500g 2 USB Drucker und ein LPT
    By Trebron in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-01-2006, 23:48
  4. Wl500g > 2 USB and 1 LPT Printer
    By Trebron in forum WL-500g Q&A
    Replies: 0
    Last Post: 27-01-2006, 22:17
  5. Please help... USB HDD doesn't work
    By jirina42 in forum WL-500g Q&A
    Replies: 6
    Last Post: 05-01-2006, 19:04

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •