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:
4. To add messages to the syslog.....Code:export PATH=/opt/bin:${PATH} export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
Check your the log by either "logread" or the routers webpage, and your message should be there!Code:echo "Hello world" | logger -p local0.notice
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.




Reply With Quote
