Joined: 04 Dec 2012 Posts: 126 Location: Seattle, WA
Posted: Thu Jun 27, 2013 17:14 Post subject: FTP Directory Gone on Reboot
Running 20979 on an E4200. My NAS and USB tabs are as shown below.
I'm trying to create an FTP files directory that survives a reboot. Obviously, the only way to have files persist on a reboot is to store them on the USB drive.
The only mount points available on the USB tab are /opt, /mnt, and /jffs (not needed since I'm using an external HD).
On the NAS tab, the only available Files Directory choices are /mnt, /mmc, and /jffs.
I've tried setting the mount point to both /opt and /mnt, but can never get an FTP files directory that survives a reboot.
Any ideas? Can I edit the proftp.conf file directly to change the files directory to something on /opt? I wasn't able to find it.
I think your issue is related to the optware partitions. I don;t believe Optware runs on builds greater than 20006 due to the double mounting issue for the /OPT partitions.
try blowing away all the partitions and just formating your 1 TB hard drive as 1 big EXT3 partiton. Then see if it will automount under /MNT _________________ Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.
Joined: 04 Dec 2012 Posts: 126 Location: Seattle, WA
Posted: Fri Jun 28, 2013 14:19 Post subject:
madman999 wrote:
I think your issue is related to the optware partitions. I don;t believe Optware runs on builds greater than 20006 due to the double mounting issue for the /OPT partitions.
try blowing away all the partitions and just formating your 1 TB hard drive as 1 big EXT3 partiton. Then see if it will automount under /MNT
Thx, MadMan. That did the trick. I knew Optware wouldn't run on this build, but since there are no other partitioning instructions in the wiki besides those ones, I (wrongly) assumed that's how it still needed to be done. I've now got a 1TB attached HD, and it's FTP accessible. Samba is next. Thanks again! _________________ My Max-Speed DD-WRT settings | K2.6 vs K3.x Speeds Head to Head | My Overclocking Settings | My blog: SteveJenkins.com | My Job: CheatCodes.com
Joined: 04 Dec 2012 Posts: 126 Location: Seattle, WA
Posted: Fri Jun 28, 2013 14:28 Post subject:
Well THAT didn't take long. Samba's working now, too.
And I haven't gone searching for the answer yet, but it seems the Path options for the shares are auto populated, with no option for anything "deeper" than the entire partition. That means that I can allow guests on the network to share the public FTP directory I've set up at /mnt/disc0_part1/ftp/pub but that the deepest Samba share I can set up is /mnt/disc0_part1/.
i think the issue is that the built in Samba and FTP in DD-WRT are kind of limited and stripped down. So attempting to use it as a full featured server with rights is going to be not easy. but for limited and quick and dirty file sharing, it works well. _________________ Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.