how-to block ads
You can setup logging with 3rd party firmware:
Here is a solution for those that want to turn on the logging capabilities of the WRT54G. This will send logs (syslog) to the destination set in the syslog command (change to suit your needs).
I use Wallwatcher but KIWI syslog or any other syslog based viewer works fine.
The current busybox .60 implementation used in the Linksys 3.x.x code (and hyperWRT2.0x) has some funny behavior with klogd and with cron so this solution does not use cron and kills and restarts klogd every 15 minutes. If you dont run much traffic you can change this to a greater number. Gamers and bit torrent uses should be fine with the 15 minute (960 seconds) setting.
Be sure to remember to 'enable' logging in the web interface!!
ALSO be sure to put the address of your logging PC in place of my address on the 'syslogd' line - Mine is 192.168.1.99 - your address may be different!!!!
In the Startup script:
/usr/sbin/iptables -R INPUT 7 -j logdrop