1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Log saved internally (WRT54G)

Discussion in 'Cisco/Linksys Wireless Routers' started by Tichi, Aug 23, 2005.

  1. Tichi

    Tichi Network Guru Member

    Is it possible to save log internally in the router instead of using
    syslog facility to other computer?

    should one run syslogdaemon on the router for this?

    In the administration/log one can see currently open connections only,
    isn'it it?
    how about the history nnn kBytes long?

    tnank you in advance for suggestions
  2. Tichi

    Tichi Network Guru Member

    figured out that syslogd run without parameters



    but how to restrict the size of this file?

    and what size is safe for HyperWRT?


    is anybody here?
  3. Tichi

    Tichi Network Guru Member


    syslogd [OPTION]...

    Linux system and kernel logging utility. Note that this version of syslogd ignores /etc/syslog.conf.


    -m MIN Minutes between MARK lines (default=20, 0=off)
    -n Run as a foreground process
    -O FILE Use an alternate log file (default=/var/log/messages)
    -S Make logging output smaller.
    -s SIZE Max size (KB) before rotate (default=200KB, 0=off)
    -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)
    -R HOST[:pORT] Log to IP or hostname on PORT (default PORT=514/UDP)
    -L Log locally and via network logging (default is network only)
    -C [size(KiB)] Log to a circular buffer (read the buffer using logread)


    # syslogd -s 40
    syslogd: illegal option -- s
    BusyBox v0.60.0 (2005.07.21-21:14+0000) multi-call binary

    Usage: syslogd [OPTION]...

    are not all these options implemented in Hyper WRT ?? !!

  4. littlewhoo

    littlewhoo Network Guru Member

    Probably not. Many tools in the default Linksys firmware and therefore HyperWRT are cut-down versions with a minimum set of features. For example tar on HyperWRT doesn't have the option to unpack compressed archives. It's similar with other tools.

    If you need more features, you may want to have a look at DD-WRT, Alchemy or Talisman.
  5. Tichi

    Tichi Network Guru Member

    thank you littlewhoo

    dd-wrt is indeed much richer in features..
    I have already tried it (ver 23) during a couple of days,
    but somehow I got an impression that it is not very stable
    (DHCP behaved weirdly), and thus I switched to hyperwt..

    now I'll give it another try...

Share This Page