Posted: Tue Dec 06, 2016 19:29 Post subject: Setup and test syslog
I've been getting random reboots on my WAP with dd-wrt so I want some clues as to what's going on. The WAP has Syslogd enabled, but its logs get wiped after each reboot.
I would like to setup a remote server. In dd-wrt under Services -> Remote Server (for system log) I put the IP of my computer, which is static. On my computer, running Ubuntu, there is rsyslog. I believe the configuration is to be set in /etc/rsyslog.d/50-default.conf. Would adding a line like this be correct?
Code:
"ip-of-ddwrt-wap" /var/log/ddwrt.log
Also how can I quickly test if it's working (aside from rebooting the WAP)?