PDA

View Full Version : How to see log messages?



LF
03-12-2003, 02:01 PM
I am trying to debug a not working connection over a modem. How can I see debug messages by using kppp or pon?

David Douthitt
03-12-2003, 04:00 PM
I am trying to debug a not working connection over a modem. How can I see debug messages by using kppp or pon?

You don't give enough information, so I have to make some assumptions:

Assumption #1: You are dialing into a Knoppix system.
Assumption #2: You are dialing from a Knoppix system.
Assumption #3: You are talking about log messages normally found in /var/log.

Here are some answers (given the above assumptions):

1. Check that syslogd is running on both systems. Try:

/etc/init.d/sysklogd start

2. Look for messages in the files in /var/log. When chasing down log messages, I like to do:

ls -ltr
...which lists files in reverse date/time order - which means the most recent files are listed at the bottom. The most recent log files will have the most relevant data directly after your attempt to connect. Then use less or more to read the log files for data...

LF
03-14-2003, 11:10 AM
David Douthitt wrote:

> 1. Check that syslogd is running on both systems. Try:

> Code:
> /etc/init.d/sysklogd start

this was the command I missed. syslogd is not started by default in Knoppix.
Thanks.