Can I in someway use my network HD as the shared ftp-folder? It doesn't have USB access...
Thanks /Rasmus
Printable View
Can I in someway use my network HD as the shared ftp-folder? It doesn't have USB access...
Thanks /Rasmus
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
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
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?
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.
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
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.
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
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:
make it executable: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
save it and restart the router:Code:chmod +x /usr/local/sbin/post-boot
Then you should be good to go.Code:flashfs save && flashfs commit && flashfs enable && reboot
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
if you want to see if it is mounted try
If you can see your files and folders then it is mounted properly.Code:ls /tmp/nfs
if you cant see any files or folders try:
this will show you a list of all the mounted filesystems one of the lines should be the NAS device on /tmp/nfs.Code:mount
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.
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.
anybody...?