HOW TO: Manually add custom messages to the syslog
Thanks to the help from snowbat from boards.ie, he answered my question about adding custom messages to the syslog.
1. Have the custom firmware setup from kfurge.
2. Setup custom firmware to at least step 3.8.
3. Ensure the paths are setup ie:
Code:
export PATH=/opt/bin:${PATH}
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
4. To add messages to the syslog.....
Code:
echo "Hello world" | logger -p local0.notice
Check your the log by either "logread" or the routers webpage, and your message should be there!
CAVEAT: I've only just discovered this (havn't tested this in rc.local yet!) and I hope the more experienced linux guys can explain better about how to use this feature.
Thanks,
LK.
WL-700gE No Incoming and Outgoing Logs?
How can this WL-700gE router not show incoming and outgoing packets? :mad:
Isn't that just a basic feature, it is in my old Linksys that I got 10 years ago, without logs is like buying a car without a gas gauge. :(