Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: FYI: Precompiled rsync, thttpd and vsftpd

  1. #1

    rsync support ?

    Has anybody tried to get an rsync server active on the router ?
    This could promote the router to a backup server.

  2. #2

    FYI: Precompiled rsync, thttpd and vsftpd

    Maybe useful for others:

    http://www.wingding.demon.nl contains precompiled versions of rsync for remote backuping, thttpd for webserving with CGI support and vsftpd for simple and secure ftp server.

    Disclaimer: Works for me (TM).

  3. #3
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Thanks a lot!

    (Though vsftpd and thttpd were allready available to the WL-500g)

  4. #4

    netcat added

    Quote Originally Posted by Styno
    Thanks a lot!

    (Though vsftpd and thttpd were allready available to the WL-500g)
    Therefore I added 'netcat' to the collection

    Where could we find thttpd and vsftpd before? From OpenWRT packages? I extracted tcpdump and strace from them, which are useful.

  5. #5
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by eludias
    Where could we find thttpd and vsftpd before? From OpenWRT packages? I extracted tcpdump and strace from them, which are useful.
    vsftpd has been compiled for WL-HDD (In jockey's firmware if i'm not mistaken).
    thttpd was available with PHP 3 and 4 support here: http://wl500g.info/showthread.php?t=495

  6. #6

    rsync

    Hi I am very interested in rsync. I tried the link to download but its down. Can you upload these items here?

    Many thanks!
    Rainer

  7. #7

    rsync & ssmtp

    Link down? That's strange, it just resides at my provider. Be sure not to forget the 'www.' part in the link.

    Ok, attached the rsync binary.

    New on http://www.wingding.demon.nl/ : ssmtp, to mail data. For example log files, ...
    Attached Files Attached Files

  8. #8
    Quote Originally Posted by eludias
    Link down? That's strange, it just resides at my provider. Be sure not to forget the 'www.' part in the link.

    Ok, attached the rsync binary.

    New on http://www.wingding.demon.nl/ : ssmtp, to mail data. For example log files, ...
    It's already available on my mail tools but I like the way you organise information on your webpage.
    Last edited by hugo; 16-02-2005 at 21:35.

  9. #9

    WL500g package manager

    A central repository for WL500g packages would be nice. Nothing fancy, just a list of package-version.tar.gz files (with absolute filenames!) to start with. Or create our own ipkgs?

    What should the default directory be for the applications? --prefix=/usr/local ?

  10. #10
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by eludias
    A central repository for WL500g packages would be nice. Nothing fancy, just a list of package-version.tar.gz files (with absolute filenames!) to start with. Or create our own ipkgs?

    What should the default directory be for the applications? --prefix=/usr/local ?
    Well, the WIKI system is a nice place to start. Info on HOWTO configure and use the packages can be stored and updated there by the users from this forum.

    You can PM Antiloop with packages and he will make them available in the download section.

  11. #11
    could u help me getting the vsftpd server to run?
    i tried, but it didn't work!

    i only transfered the precompiled vsftpd file from that page
    to my wl500g. according to that i tried to run that file with:
    ./vsftpd 2.0.2pre2

    but it says to me, "500 OOPS: vsftpd: not configured for standalone, must be started from inetd".
    what shall i do?

    thx
    mAz
    Last edited by mAz; 20-02-2005 at 22:18.

  12. #12
    Add listen=YES at the end of your /etc/vsftpd.conf

    Make sure you have a user called ftp

  13. #13

    Running rsync or xinetd?

    Hi!

    Did anybody manage to have rsync and/or xinetd running on a wl500gx? I have other packages working (such as samba, dropbear and svn) but did not manage to get rsync and xinetd running.
    I installed it with:
    $ ipkg install xinetd

    and, after executing
    $ /opt/etc/init.d/S10xinetd

    I can't get the daemon to show up in the process list (ps).

    I'm using oleg's latest (excelent work).

    Cheers,

    /rp

  14. #14
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    perhaps you've to enable to some services first...

  15. #15

    rsync --daemon brings mem-overflow but via ssh it works ... ?!?!

    Hi.

    I have a WL-HDD with OLEG 1.9.2.7-7e and rsync --version = 2.6.8 installed via ipkg.

    First I tried simply to use rsync via the builtin dropbear ssh-daemon, but I got 80-90% dropbear on the cpu and so 10-20 were left for rsync... :-(
    And as like this the transfers were to slow and I don't know if there is a way to speed things up using some special SSH (encryption?) options, I decided to give pure rsync a shot.

    It took me a while to figure out, WHY rsync --daemon did NOT want to start... until I added the "address = IP-ADRESS" to rsyncd.conf, because (I suppose) the rsync --daemon call got confused with the lots of interfaces this OLEG firmware kernel provides: br0, eth0, eth1, eth2, lo (but only br0 has an IP address).

    And now that rsync --daemon does NOT quit directly anymore... I instantly have the next problem ... but this time I think I need some help:

    If I call rsync from my windows-box (rsync version 2.6.8 protocol version 29) (=cwrsync) as follows:

    rsync -rutL --delete --exclude "/RECYCLER/***" --exclude "/System Volume Information/***" /cygdrive/d/ tormen@10.10.10.222::windata/

    I get the following output on the windows (SENDER) side:
    ---------------------------------------------------------
    rsync: read error: Connection reset by peer (104)
    rsync error: error in rsync protocol data stream (code 12) at io.c(610) [sender=2.6.8]
    ---------------------------------------------------------

    And on the WL-HDD linux (RECEIVER) side in the rsync --daemon logfile:
    ---------------------------------------------------------
    Sep 2 02:50:10 rsyncd[171]: rsyncd version 2.6.8 starting, listening on port 873
    Sep 2 02:50:10 rsyncd[171]: bind() failed: Address already in use (address-family 2)
    Sep 2 02:50:10 rsyncd[171]: unable to bind any inbound sockets on port 873
    Sep 2 02:50:10 rsyncd[171]: rsync error: error in socket IO (code 10) at socket.c(482) [receiver=2.6.8]
    Sep 2 02:50:17 ntp client: Synchronizing time with time.nist.gov ...
    Sep 2 02:52:04 rsyncd[175]: connect from WINDOWS-BOX (10.10.10.28)
    Sep 2 02:52:04 rsyncd[175]: ERROR: out of memory in glob_expand
    Sep 2 02:52:04 rsyncd[175]: rsync error: error allocating core memory buffers (code 22) at util.c(120) [receiver=2.6.8]
    ---------------------------------------------------------

    I tried already to freshly boot with only the necessary processes, but it did not work.
    Maybe my RAM-fs is too full? How can I decrease the size?

    And WHY does the rsync work via ssh???

    What else can I try or do?

    For any help or hint I would be really glad, because I have no idea for the moment what else to try...

    To maybe help you answering me I added parts of /proc/cpuinfo and the /proc/meminfo output at the end of this posting.

    Greetings,

    tormen



    --------------------------------------------
    cat /proc/cpuinfo |head -4
    --------------------------------------------
    system type : Broadcom BCM947XX
    processor : 0
    cpu model : BCM4710 V0.0
    BogoMIPS : 82.94

    --------------------------------------------
    cat /proc/meminfo
    --------------------------------------------
    total: used: free: shared: buffers: cached:
    Mem: 14266368 11984896 2281472 0 1241088 6426624
    Swap: 62922752 516096 62406656
    MemTotal: 13932 kB
    MemFree: 2228 kB
    MemShared: 0 kB
    Buffers: 1212 kB
    Cached: 5976 kB
    SwapCached: 300 kB
    Active: 4580 kB
    Inactive: 3392 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 13932 kB
    LowFree: 2228 kB
    SwapTotal: 61448 kB
    SwapFree: 60944 kB
    --------------------------------------------

Page 1 of 2 12 LastLast

Similar Threads

  1. Bluetooth precompiled: problems with newest modified firmware
    By Mzuri in forum WL-500g Custom Development
    Replies: 2
    Last Post: 24-09-2004, 15:35

Tags for this Thread

Posting Permissions

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