LinuxQuestions.org
Review your favorite Linux distribution.
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, 02:22 AM   #1
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

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, 03:09 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
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 03:10 AM.
 
Old 08-10-2004, 01:56 PM   #3
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

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

Rep: Reputation: 47
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:01 AM
How to enable root to run graphical application in user log in xgreen Slackware 4 03-07-2005 07:39 AM
error: stat of /var/log/ppp/connect-errors failed: No such file or directory Niceman2005 Linux - Newbie 0 01-20-2005 01:29 AM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 06:38 PM
How do I enable any user to use the PPP connection. sadhanandh Linux - Software 1 10-27-2003 12:57 PM


All times are GMT -5. The time now is 02:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration