Results 1 to 5 of 5

Thread: stupid man

  1. #1
    Join Date
    Feb 2005
    Location
    Germany - Cologne
    Posts
    64

    Question stupid man

    hiho,

    next question.
    i just want to experiment something with the conf files of the smbd and he stupid-ftpd.

    what i did is the following:
    opened ssh with putty.
    logged in.

    opened /tmp/stupid-ftpd.conf with vi.
    changed the homedir of one user.
    saved the file and checked if saving was successful with more stupid-ftpd.conf.

    i added /tmp/stupid-ftpd.conf to the file .files in dir /tmp/local/


    allright till now.

    then (as i understood the manual on the http://wl500g.dyndns.org/ page) i fired flashfs save, flashfs commit and last flashfs enable.

    flashfs save works and the file is created.
    flashfs commited returns "Commited".
    flashfs enable takes few secs and returns nothing.
    flashfs status returns boot_local 1.9.2.7-3c.
    flashfs list returns

    tmp/stupid-ftpd.conf
    tmp/ppp/options.wan0
    tmp/local
    tmp/local/etc
    tmp/local/etc/dropbear
    tmp/local/etc/dropbear/dropbear_rsa_host_key
    tmp/local/etc/dropbear/dropbear_dss_host_key
    tmp/local/sbin
    tmp/local/sbin/post-boot
    tmp/local/.files
    tmp/local/root


    when now typing reboot on the shell the system goes down, comes up again and changes to my files are gone - blown away by the wind

    can someone give me the complete sequence for saving changes made to a file in the flash so that these changes will be kept after reboot?

    tia
    alex - mod

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    stupid-ftpd is dynamically generated by firmware, so would be overwrited. To change this behaviour disable ftp server via web iface and configure/start it manually.

  3. #3
    Join Date
    Feb 2005
    Location
    Germany - Cologne
    Posts
    64
    ok...

    and what about the file tmp/ppp/options.wan0 ??
    i want to change the values for lcp_echo_interval and lcp_echo_failure to test if this is the prob for the lags on some sites.

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    Quote Originally Posted by modnet25
    i want to change the values for lcp_echo_interval and lcp_echo_failure to test if this is the prob for the lags on some sites.
    no, it does not.

  5. #5
    Join Date
    Feb 2005
    Location
    Germany - Cologne
    Posts
    64
    no, it does have no effect on this.
    or
    no, it's not the same like stupid_ftpd


    i really get fu**ed up by this problem...several sites do not work...thats bullsh*t

Similar Threads

  1. vsftp againts stupid ftp
    By alien433 in forum WL-500g Q&A
    Replies: 0
    Last Post: 24-09-2005, 12:34
  2. stupid-ftp 2GB limit?
    By spank_santa in forum WL-HDD Custom Development
    Replies: 1
    Last Post: 08-09-2005, 11:31
  3. WDS / Hybrid not working? or i'm just stupid..
    By Antiloop in forum WL-500g Q&A
    Replies: 105
    Last Post: 05-04-2005, 11:03
  4. stupid-ftp and filesystem on HDD
    By Vladimir in forum WL-500g Q&A
    Replies: 3
    Last Post: 22-01-2005, 14:47
  5. stupid ftpd - settings erased
    By rdk in forum WL-500g Q&A
    Replies: 8
    Last Post: 20-08-2004, 18:21

Posting Permissions

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