Syslogd -L -s 8192 -O /opt/var/log/messages If you have some external storage such as a USB hard drive or SD/MMC card, you can probably use a CRON job and/or shutdown script to copy the logfile there.Īnother option is to restart the syslog daemon, telling it to save the logfile in a new place. Issue the following command from the Web Interface -> Commands section (or via Telnet):Īs noted in the Setup section, the logfile in micro currently does not show any firewall events, unfortunately. In that case, you can use a different method to view the logs from within your browser, shown below. Micro versions have a stripped down version of BusyBox, so it might not include the ln command used above. Ln -s /tmp/var/log/messages /tmp/www/log.html Here are some utilities you may wish to check out if you're logging remotely: DD-WRT should now be logging.either locally to /tmp/var/log/messages, or remotely to the IP address you specified earlier. To log firewall events, go to the Security tab and enable the appropriate options under Log Management.If you wish to send logs to a remote system, enter the IP address of that machine which is also running a syslog utility (it needs an open network socket in order to accept logs being sent by the router).This can be useful for troubleshooting purposes, or just to keep an eye on how your router/network is behaving. DD-WRT uses the syslog and klog daemons to log system, kernel, and firewall events.
0 Comments
Leave a Reply. |