Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 54

Thread: Problems with sharing USB disc over NFS

  1. #16

    nfs in oleg's 1.9.2.7-5a

    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!

  2. #17
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    most likely this is due to /tmp filesystem - tmpfs/ramfs seems to be unsupported by nfs server.

  3. #18
    Quote Originally Posted by Oleg
    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.
    Thanks very much!

  4. #19
    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.

  5. #20

    NFS - Connection Refused

    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.

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

  7. #22
    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.

  8. #23

    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.

  9. #24
    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.

  10. #25

    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!

  11. #26
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195

  12. #27
    That was it! It now works like a charm. Thank you so much Jean-Fabrice.

  13. #28
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    Quote Originally Posted by wl500grocks
    That was it! It now works like a charm. Thank you so much Jean-Fabrice.
    I used the search func.

  14. #29
    Join Date
    Aug 2005
    Location
    Paris
    Posts
    10

    launching nfs from ssh

    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

  15. #30
    Join Date
    Feb 2005
    Location
    Zeist, Netherlands
    Posts
    47
    Hi Isidor,

    to put you on the right track (i hope), here a piece of my post-boot:
    Code:
    #
    # Enable NFS-client
    insmod sunrpc
    insmod lockd
    insmod nfs
    /usr/sbin/portmap
    Chances are that if you insmod nfsd instead of (or along with) nfs,
    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.

Page 2 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
  •