All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Problems with pppd option: record file
Date: Wed, 18 Nov 2015 21:19:04 +0000	[thread overview]
Message-ID: <564CEB48.2040605@workingcode.com> (raw)
In-Reply-To: <564CBFC6.4090409@web.de>

On 11/18/15 16:11, Thomas Bergholz wrote:
> Hey James - thanks for the input,
> 
> Starting over at top :-)
> 
> Trying to find out why the capture file does not show up. I am
> interested in the parts which tshark does not display.
> https://wiki.wireshark.org/CaptureSetup/PPP#Linux

That page isn't entirely accurate in this particular case.

If you use wireshark (or tshark) on a PPP device -- say, interface
"ppp0" on your system -- then you will see only the network layer
traffic.  That's the problem that this web page is documenting.

However, you're running PPP over PPPoE, and that's running on Ethernet.
 If you run wireshark on the underlying Ethernet interface -- "eth0" on
your system -- then you will see ALL of the traffic.  That we page
doesn't apply, because "eth0" is Ethernet, not PPP.

The web page should probably be updated to make things a little clearer.

> I activated "debug" and "kdebug 4" to track down probable causes for the
> missing capture file (well yes, kdebug may not make much sense).

Neither of those make sense here.  "debug" shows (primarily) the PPP
negotiation details.  It won't show you why a command line option isn't
implemented.  "kdebug" sends flags into the /dev/ppp kernel driver to
tell it to print things to the system console.  Generally, that's not
too useful unless you have kernel driver issues to work out.

> I have to admit that I went the lazy way and did not compile pppd myself
> yet.

My guess would be that the person who did compile it took it on himself
to delete some useless options.

Just a guess, though.  You'd have to look upstream for that information.
 It's mostly useless, but "record" works fine for me.  :-/

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

  parent reply	other threads:[~2015-11-18 21:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 18:13 Problems with pppd option: record file Thomas Bergholz
2015-11-18 19:42 ` James Carlson
2015-11-18 21:11 ` Thomas Bergholz
2015-11-18 21:19 ` James Carlson [this message]
2015-11-19 19:25 ` Thomas Bergholz
2015-11-19 19:29 ` 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=564CEB48.2040605@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.