LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-09-2004, 01:22 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
enable syslogd ppp log


I'm having some problem connecting to the Internet and need to see /var/log/ppp for debugging purposes. But unfortunately there's no such file there.

I have tried to enable (uncomment) it from syslogd (/etc/syslog.conf) but no such entry is there as well.

Does anyone know how to enable this file to log ppp?

TIA.
 
Old 08-09-2004, 02:09 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
In /etc/ppp/ppp.conf you need the line:
Code:
set log All   # or whatever you want to log
In /etc/syslog.conf you need
Code:
!ppp
*.*                                             /var/log/ppp.log
And it should work. Do you have these lines?

Last edited by frob23; 08-09-2004 at 02:10 AM.
 
Old 08-10-2004, 12:56 PM   #3
noir911
Member
 
Registered: Apr 2004
Posts: 682

Original Poster
Rep: Reputation: Disabled
works like magic. thanks heaps.
 
Old 08-10-2004, 03:48 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
lol, I was tempted to point you towards the manpage for this because that is the way to learn best. But I remembered that this wasn't exactly easy or intuitive when I tried to do it. Debug your ppp connection first and then go read the man pages for syslogd and syslog.conf -- trust me there is a lot to learn from them and you can specialize your logs to suit your needs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
How to enable root to run graphical application in user log in xgreen Slackware 4 03-07-2005 06:39 AM
error: stat of /var/log/ppp/connect-errors failed: No such file or directory Niceman2005 Linux - Newbie 0 01-20-2005 12:29 AM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 05:38 PM
How do I enable any user to use the PPP connection. sadhanandh Linux - Software 1 10-27-2003 11:57 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration