All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: ifconfig ppp0 errors
Date: Tue, 11 Jan 2011 21:04:49 +0000	[thread overview]
Message-ID: <4D2CC5F1.9060207@workingcode.com> (raw)
In-Reply-To: <Pine.GSO.4.64.1101111527150.23601@sunfire13.eecs.tufts.edu>

Slawomir Skret wrote:
> I tried to use the "debug" and "kdebug" flags when starting pppd but get
> only the configuration related info but nothing during the runtime that
> would tell me why the errors occurred or what do they mean. From what I
> read, the ifconfig reports the contents of the /proc/net/dev file which
> is updated by the kernel modules but again it is a statistics reporter
> only without describing the nature of the errors.
> 
> How can I get more information about these errors?

How did you use "kdebug?"  It doesn't work quite the same way as "debug"
-- it takes an argument, and on most platforms, the argument is an
integer interpreted as a set of flags representing the debug information
to enable.  "kdebug 7" usually turns everything on.

The "debug" option is unlikely to help when you're talking about basic
I/O errors.  The "debug" option causes the system to log the details of
the PPP negotiation between the peers, but this usually has little to do
with I/O problems.

And where did you look for the messages generated by those options?
/etc/syslog.conf directs these things to files depending on the origin
of the message, and the severity.  You may need to modify
/etc/syslog.conf (and SIGHUP syslogd) to see everything.

Did you try using the "pppstats" command?  If the errors are related to
data compression or the like, then pppstats may well give you more
details than kdebug.  At least, I'd use pppstats to rule out other problems.

What options are you using?  Have you tried disabling data compression
with "noccp"?

How fast does your "serial bus" run?  Is it likely to drop data when
there are bursts -- as you might see with packet-oriented networking
protocols, such as PPP?

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

  reply	other threads:[~2011-01-11 21:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11 20:30 ifconfig ppp0 errors Slawomir Skret
2011-01-11 21:04 ` James Carlson [this message]
2011-01-11 21:57 ` Slawomir Skret
2011-01-11 22:50 ` Slawomir Skret
2011-01-11 23:30 ` James Cameron
2011-01-12  2:29 ` Paul Mackerras
2011-01-12 13:21 ` James Carlson
2011-01-12 18:40 ` Slawomir Skret
2011-01-12 19:47 ` James Carlson
2011-01-12 21:05 ` James Cameron
2011-01-12 21:23 ` James Carlson
2011-01-12 21:51 ` James Cameron
2011-01-12 22:17 ` James Carlson
2011-01-14 16:58 ` Slawomir Skret
2011-01-14 17:28 ` James Carlson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D2CC5F1.9060207@workingcode.com \
    --to=carlsonj@workingcode.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.