Results 1 to 7 of 7

Thread: mount/access a NAS from wl-500gp/oleg

  1. #1

    mount/access a NAS from wl-500gp/oleg

    I have a terastation (a NAS from Buffalo), but I am having difficulty mounting it from wl-500gp/oleg/samba3. I can access it via smbclient and see it via smbtree, but cannot mount it because the firmware does not have smbmount/smbmnt.

    I've tried mount.cifs without success. I've also tried the method from newbiefan, http://www.wl500g.info/showpost.php?...0&postcount=24, but the files he provided seems to work only for samba2, but I want samba3 for its support international character support. I've also tried http://riot.org/seb/smbfs_0.0_mipsel.ipk, but it leads to error segmentation.

    I then tried mount my NAS via nfs without success, even though my ubuntu laptop mounted the same NAS via nfs easily. This is what I got:

    "showmount -e 192.168.2.4"
    Export list for 192.168.2.4:
    /mnt/array1 <anon clnt>
    /mnt/array1/Buffalo 192.168.2.0/255.255.255.0

    but then
    "mount -t nfs 192.168.2.4:/mnt/array1/Buffalo ./test"
    mount: mounting 192.168.2.4:/mnt/array1/Buffalo on ./test failed: No such device

    Would someone please provide some guidance on how to mount a NAS from a wl-500gp with samba3 installed? Thanks.
    Last edited by onewiki; 26-09-2009 at 15:50.

  2. #2
    Quote Originally Posted by onewiki View Post
    mount: mounting 192.168.2.4:/mnt/array1/Buffalo on ./test failed: No such device
    Just a thought: does the directory ./test exist ??

    Also the -o is only needed when specifying options, which you aren't doing...

    So drop the -o and maybe use an absolute path...

    for example:

    first make a directory:
    mkdir -p /tmp/mnt/nfs

    then mount it to that directory:
    mount -t nfs 192.168.2.4:/mnt/array1/Buffalo /tmp/mnt/nfs
    Last edited by DrChair; 26-09-2009 at 09:30.

  3. #3
    Join Date
    Aug 2008
    Location
    Poland, Biaіa Podlaska
    Posts
    276
    Last edited by Lesiuk; 27-09-2009 at 07:39.

  4. #4

    It works now

    I followed Lesiuk's first link and extracted smbfs.o, and put it in /opt/lib/modules (it can be somewhere else, but not /lib/modules because there it is read-only).

    Then I downloaded samba2 from http://ipkg.nslu2-linux.org/feeds/op...2-1_mipsel.ipk to my PC and extracted smbmnt and smbmount from that package. I put the two files into /opt/bin.

    After that, just
    insmod /opt/lib/modules/smbfs.o
    mkdir -p test
    smbmount /ip address/sharename test

    You will be prompted to type in the password. After that you may receive some error codes, such as "load_client_codepage: filename /opt/lib/codepages/codepage.850 does not exist.", but it does not matter.

    cd test
    you will find the smbdrive has been successfully mounted.
    Thank you all for the help.

  5. #5

    mount a NAS via nfs

    Now, can someone please help with mounting a NAS via nfs. I have not been able to, even though I was able to mount the same NAS without any problem from a linux laptop.

    This is what I have:

    "showmount -e 192.168.2.4"
    Export list for 192.168.2.4:
    /mnt/array1/Buffalo 192.168.2.0/255.255.255.0

    but then
    "mount -t nfs 192.168.2.4:/mnt/array1/Buffalo ./test"
    mount: mounting 192.168.2.4:/mnt/array1/Buffalo on ./test failed: No such device

    any suggestions? thanks.

  6. #6
    Join Date
    Aug 2008
    Location
    Poland, Biaіa Podlaska
    Posts
    276
    Quote Originally Posted by onewiki View Post
    Now, can someone please help with mounting a NAS via nfs. I have not been able to, even though I was able to mount the same NAS without any problem from a linux laptop.

    This is what I have:

    "showmount -e 192.168.2.4"
    Export list for 192.168.2.4:
    /mnt/array1/Buffalo 192.168.2.0/255.255.255.0

    but then
    "mount -t nfs 192.168.2.4:/mnt/array1/Buffalo ./test"
    mount: mounting 192.168.2.4:/mnt/array1/Buffalo on ./test failed: No such device

    any suggestions? thanks.
    I think you must insmod nfs.o from the same archive where you find smbfs.o.

  7. #7

    nfs mode was already running

    No, that does not solve my problem. I have nfs enabled so nfs mode was already running. And that was when I received the error message "no such device".

    [admin@Asus root]$ lsmod
    Tainted: P
    smbfs 55056 0 (unused)
    nfsd 96600 1
    lockd 64244 1 [nfsd]
    sunrpc 81728 1 [nfsd lockd]
    usb-storage 63080 3
    sd_mod 12660 6
    scsi_mod 72624 2 [usb-storage sd_mod]
    printer 13060 0 (unused)
    ehci-hcd 28212 0 (unused)
    usb-ohci 19428 0 (unused)
    usbcore 78600 1 [usb-storage printer ehci-hcd usb-ohci]
    ip_nat_ftp 3136 0 (unused)
    ip_conntrack_ftp 4584 1
    wl 897336 0 (unused)
    et 29088 0 (unused)


    Now if I disable nfs from the web interface, and try to "ins nfs.o", then I receive the error message
    [admin@Asus modules]$ insmod nfs.o
    insmod: unresolved symbol rpc_wake_up_task
    Last edited by onewiki; 27-09-2009 at 23:24.

Similar Threads

  1. Владельцы NAS Qnap TS-*09, есть пара вопросов
    By sda in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 19
    Last Post: 23-01-2015, 05:20
  2. a tutorial on how to mount/access a NAS please
    By onewiki in forum WL-500gP Tutorials
    Replies: 10
    Last Post: 30-09-2009, 01:55
  3. NAS: Create your own caching proxy
    By vinyols in forum WL-500gP Tutorials
    Replies: 8
    Last Post: 24-09-2009, 19:38
  4. NAS Trouble
    By Anonincog in forum WL-500w Q&A
    Replies: 6
    Last Post: 24-07-2009, 20:20

Posting Permissions

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