Results 1 to 9 of 9

Thread: Oleg firmware ftp help

  1. #1

    Oleg firmware ftp help

    Hello all,

    i have a question to make if you can help me.

    is it possible for oleg to make an option in web GUI / ftp option, to enable/ disable FXP support for vsftpd? i ask this because when using ftp configuration on asus (oleg) gui, i can create my ftp server, point it to a directory but i cant change vsftpd.conf to add fxp configuration.

    each time i reboot router, vsftpd.cong get restored to original.

    maybe i dont know how to change original oleg firmware vsftpd.conf, or maybe i dont know how to get it saved permanently.

    can anyone help me out?

    i managed to get vsftpd working by using the how to's in this forum. but i believe it was more easy for non-linux guys to have the option for it under web-GUI.


    regards,

    josé

  2. #2
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259
    I thought this section was for tutorials only...

  3. #3
    maybe my fault,

    i saw other users making questions here, i supposed it was the right place.

  4. #4
    ok,

    placed the question under q/a

    sorry for this

  5. #5
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336
    Well, when ftp is enabled, you cannot change vsftp.conf. After reboot, all changes are gone....but there is a simple way....
    And here is the way to change the vsftp.conf:
    -disable vsftp in your webif, but copy before your vsftp.conf to your pc
    -edit vsftpd on your pc to your needs
    -change your post-boot or post-mount (right before calling rc.unslung)
    and start vsftpd by adding:
    Code:
    /usr/sbin/vsftpd  /tmp/etc/vsftpd.conf
    store your changed post-boot/post-mount and add to your /tmp/local/.files
    Code:
    tmp/etc/vsftpd.conf
    copy your changed/adjusted vsftpd.conf from your pc to /tmp/etc/vsftpd.conf

    now one point remains:
    Code:
    flashfs save && flashfs commit && flashfs enable
    and just a hint: same thing with samba, just use instead:
    Code:
    echo "/usr/sbin/smbd -D >> /tmp/local/sbin/post-boot"
    echo "/usr/sbin/nmbd -D >> /tmp/local/sbin/post-boot"
    vi /tmp/etc/smb.conf (edit to your needs & store)
    echo "tmp/etc/smb.conf >> /tmp/local/.files"
    flashfs save && flashfs commit && flashfs enable
    After a regular
    Code:
    reboot
    your router should work as expected.

    Don't forget, you have to add each changed file to your /tmp/local/.files
    and store to your flash with:
    flashfs save && flashfs commit && flashfs enable

    Just a good guideline:http://wlhdd.co.uk/wiki/VSFTP_Guides

    have fun
    Last edited by newbiefan; 23-11-2008 at 12:45.
    Alle HowTo's, all howto's

    RT-N16 1.9.2.7-rtn-r3121, Samba, VSFTP, Lightthpd, PHP, Perl, MySQL, Serendipity, Aria2web, HDD 640GB
    RT-N66U, 16GB MicroSD/ 2 Partitions, 2,5" HDD 1TB, running with Merlin's FW and Entware, 16 Mbit A1,
    Netgear DGND 3700V2, QNAP TS119PII 4 TB, QNAP TS209 2 TB Raid1, Backup Synology DS107+ 1 TB, HP CP1515n

  6. #6

    why tmp?

    Why do you write your configuration to /tmp/etc/vsftpd.conf if you want it to be persistent?

    When I used vsftp they were in /opt/etc/vsftpd.conf.

    This isn't lost after reboot, even without changes in post--boot

    (I don't use ftp any more. I use sftp. It's much easier.)

  7. #7
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336
    Quote Originally Posted by Gerdi View Post
    Why do you write your configuration to /tmp/etc/vsftpd.conf if you want it to be persistent?

    When I used vsftp they were in /opt/etc/vsftpd.conf.

    This isn't lost after reboot, even without changes in post--boot

    (I don't use ftp any more. I use sftp. It's much easier.)
    vsftpd.conf is written to /tmp/etc because it is in this directory by default.
    Hence there is no need to install optware - why install optware, when it's already on your router? Further, when you change your hdd or stick, vsftpd is still working. And last, but not least - you can configure it very easy, even with several users and for each user a different directory. No hassle with harddisc crash or defect memory stick - everything is on your router.

    Yeah and the name vsftpd tells us: very secure ftp daemon

    have fun
    Alle HowTo's, all howto's

    RT-N16 1.9.2.7-rtn-r3121, Samba, VSFTP, Lightthpd, PHP, Perl, MySQL, Serendipity, Aria2web, HDD 640GB
    RT-N66U, 16GB MicroSD/ 2 Partitions, 2,5" HDD 1TB, running with Merlin's FW and Entware, 16 Mbit A1,
    Netgear DGND 3700V2, QNAP TS119PII 4 TB, QNAP TS209 2 TB Raid1, Backup Synology DS107+ 1 TB, HP CP1515n

  8. #8
    Hello,

    first of all, thank you for the answer appreciated. i have one question,

    what this means and how i do it?

    store your changed post-boot/post-mount and add to your /tmp/local/.files
    Code:

    tmp/etc/vsftpd.conf

    José

  9. #9
    Join Date
    Apr 2008
    Location
    Portugal
    Posts
    19
    edit file .files located in /tmp/local/
    and paste tmp/etc/vsftpd.conf
    save de edited file
    and then flashfs save && flashfs commit && flashfs enable
    to save and reboot te router



    sorry for my bad English but I am Portuguese
    ................and I have a bad prime minister

Similar Threads

  1. New Oleg firmware 1.9.2.7-9 problems?
    By wpte in forum WL-500gP Firmware Discussion
    Replies: 11
    Last Post: 17-04-2008, 23:34
  2. Oleg firmware not working.
    By wpte in forum WL-500gP Q&A
    Replies: 6
    Last Post: 07-01-2008, 12:48
  3. oleg latest firmware and ftp server..
    By jrosado in forum WL-500gP Q&A
    Replies: 1
    Last Post: 20-06-2007, 15:20
  4. twonky media server, network drive with oleg firmware
    By black_bottom in forum WL-HDD Q&A
    Replies: 3
    Last Post: 22-03-2006, 07:15

Posting Permissions

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