Results 1 to 13 of 13

Thread: Network storage HD as FTP?

  1. #1

    Network storage HD as FTP?

    Can I in someway use my network HD as the shared ftp-folder? It doesn't have USB access...

    Thanks /Rasmus

  2. #2
    where do you want usb access for?
    the network HD has IDE connector to connect to harddisk.
    Yes. you can share this harddisk through FTP

  3. #3
    I have 500gb inside the NAS but I would like to be able to share that on the WL500's FTP-service. The FTP feature is by default only for an external USB HD directly attach to the WL500. I am looking for a solution to share through the netcable (RJ45) and not USB. - I doent have an external USB HD.

    Regards Rasmus

  4. #4
    still don't know what you want to do.

    do you have WL-HDD ? it has built-in Harddisk,
    WL-500g does not have builtin harddisk, only option is to connect through one of the usb-ports and share this through ftp/samba

    Do you run original firmware or oleg's or some other?

  5. #5
    I understand what you want to do.

    I do not think it is possible with the Asus firmware, but with Oleg's I think you can do it.

    If your NAS supports samba or nfs, you can mount the NAS device onto the wl-500g filesystem and then it can work as if it is plugged into the router directly by usb, it may even be faster. I have not had much success with NFS. Look in the tutorials forum for how to setup Oleg's firmware with samba.

    To mount a samba share to the filesystem look at this thread

    http://wl500g.info/showthread.php?t=8609

    Another option if your NAS has a FTP server built in is to forward the ftp ports to the ip address of your NAS device assuming you want to access it from outside your network.

  6. #6
    Great!
    Actually it is a wl500w but I installed oleg's firmware (1.9.2.7-8-pre9) with success. Thats all I have done - didn't telnet anything..

    The Netcenter (NAS) supports NFS and CIFS. (Not samba unless I install it as ipkg) - I don't know what NFS does but I just enabled it on both the NAS and on WL500w. Now I need to mount the NAS on the WL500 - and how do I do that. I am guessing i have to enter something under "NFS Server Exports"?
    - I entered a looong shot "/opt/bin/smbmount \\Wd-netcenter\data" and not surprisingly it didn't work.

    Could you be a little more specific? - I just recieved the Asus Router..

    Thanks /Rasmus
    Last edited by raster; 27-09-2007 at 19:41.

  7. #7
    hmm, not too sure about mounting nfs as I use samba.
    try

    mkdir /tmp/nfs
    mount -t nfs Wd-netcenter:/data /tmp/nfs

    or

    mount -t nfs 192.168.1.23:/data /tmp/nfs

    using the ip address of your Wd-netcenter.

  8. #8
    I think I got it.

    Had success with (mount -t nfs 10.0.0.4:/shares/Main/DATA /tmp/nfs)

    Trouble is it only works after i run "mkdir /tmp/nfs" and "insmod nfs" from telnet so I havent been able to test it from ftp.
    I know I have to edit a "startup-file" and put the "mkdir /tmp/nfs" and "insmod nfs" commands in it to start the router with the above settings, but how and where do I access the startup-file (.conf?)?

    thanks /Rasmus
    Last edited by raster; 03-10-2007 at 23:28.

  9. #9
    Well done

    The file you are looking for is:

    /usr/local/sbin/post-boot

    It probably doesn't exist yet. You can create it and add the lines you need as follows:

    Code:
    echo "#!/bin/sh" >> /usr/local/sbin/post-boot
    echo "mkdir /tmp/nfs" >> /usr/local/sbin/post-boot
    echo "insmod nfs" >> /usr/local/sbin/post-boot
    echo "mount -t nfs 10.0.0.4:/shares/Main/DATA /tmp/nfs" >> /usr/local/sbin/post-boot
    make it executable:

    Code:
    chmod +x /usr/local/sbin/post-boot
    save it and restart the router:

    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    Then you should be good to go.
    Last edited by sensimilla; 04-10-2007 at 14:11. Reason: forgot the #! doo dah

  10. #10
    I did everything above. Entered each line followed by "ENTER". Everything from telnet. Didnt write anything under nfs exports in the webconfiguration.
    I believe it went well.
    But how do I know if the new shares/Main/DATA has been mounted correctly. I cant access is through ftp "ftp://10.0.0.2" - would it automaticly be mounted as an ftp-folder?



    thanks for your help /Rasmus

  11. #11
    if you want to see if it is mounted try

    Code:
    ls /tmp/nfs
    If you can see your files and folders then it is mounted properly.
    if you cant see any files or folders try:

    Code:
    mount
    this will show you a list of all the mounted filesystems one of the lines should be the NAS device on /tmp/nfs.

    To mount it as an FTP-folder you can add the location /tmp/nfs to the built in FTP server via the web interface, make sure it is enabled.

  12. #12
    Thanks alot. It is mounted correctly, but I can't figure out how to share it on ftp. I don't have any option that allowes me to add the "tmp/nfs". My option are as follows: (using olegs 1.9.2.7-8-pre9)

    USB Application - FTP Server
    Force to Eject USB Disk:
    Enable FTP Server? YesNo
    Allow Anonymous User to Login? YesNoLogin
    Allow Super User to Login? YesNoLogin
    FTP Port:
    Maximum Users Allowed to Log in:
    Login Timeout in Seconds:
    Stay Timeout in Seconds:
    Initial Script:


    Thanks for helping out.
    Last edited by raster; 12-10-2007 at 14:27.

  13. #13
    anybody...?

Similar Threads

  1. FTP сервер.
    By gish in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 171
    Last Post: 26-04-2011, 17:46
  2. Help to Set Up Wl-500gP in Home Network
    By Zeropoint in forum WL-500gP Q&A
    Replies: 5
    Last Post: 13-06-2007, 11:38
  3. Bandwidth throttle FTP...
    By medsource in forum WL-700g Q&A
    Replies: 5
    Last Post: 14-02-2007, 17:07
  4. mount HDD without FTP?
    By reuzel in forum WL-500g Q&A
    Replies: 5
    Last Post: 17-01-2007, 08:08

Posting Permissions

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