PPPD messages on console - PPP

This is a discussion on PPPD messages on console - PPP ; I'm running pppd 2.4.1 on a Slackware 9.1 machine running Linux kernel 2.4.22, and while everything works fine, I keep getting these messages on my console screen whenever I connect: Local: nnn.nnn.nnn.nnn -> Remote: nnn.nnn.nnn.nnn ppp0 Is there any way ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: PPPD messages on console

  1. PPPD messages on console

    I'm running pppd 2.4.1 on a Slackware 9.1 machine running Linux kernel
    2.4.22, and while everything works fine, I keep getting these messages on
    my console screen whenever I connect:

    Local: nnn.nnn.nnn.nnn -> Remote: nnn.nnn.nnn.nnn ppp0

    Is there any way to get rid of these messages? I'm using the ppp-go
    script, but even when specifying the -q switch, I still get these.

    I've checked Google, and while many people ask the question, I haven't seen
    any answers.

    TIA.

  2. Re: PPPD messages on console

    Todd Aiken writes:
    > I'm running pppd 2.4.1 on a Slackware 9.1 machine running Linux kernel
    > 2.4.22, and while everything works fine, I keep getting these messages on
    > my console screen whenever I connect:
    >
    > Local: nnn.nnn.nnn.nnn -> Remote: nnn.nnn.nnn.nnn ppp0
    >
    > Is there any way to get rid of these messages? I'm using the ppp-go
    > script, but even when specifying the -q switch, I still get these.


    Have you looked at the /etc/ppp/ip-up script on your machine?

    The message you cite above is not part of ppp-2.4.1. It's likely to
    be a Slackware enhancement to the software, probably delivered through
    that script. Searching via google, I see something that purports to
    be a Slackware script (I don't have Slackware myself; I can't check
    it) and that contains:

    if [ -s /var/log/messages ] && ( ps xc 2>/dev/null | grep -q syslogd 2>/dev/null ); then
    S=`tail -n 30 /var/log/messages 2>/dev/null | grep "CARRIER[^)]" 2>/dev/null | tr -d "^M" 2>/dev/null | cut -d: -f4 2>/dev/null`
    echo -n "$S" >/dev/tty0
    echo " Local: $4 -> Remote: $5 $1" >/dev/tty0
    else
    echo " Local: $4 -> Remote: $5 $1" >/dev/tty0
    fi

    That does indeed look very annoying.

    --
    James Carlson, Solaris Networking
    Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677

  3. Re: PPPD messages on console

    James Carlson wrote:
    > Todd Aiken writes:
    >> I'm running pppd 2.4.1 on a Slackware 9.1 machine running Linux kernel
    >> 2.4.22, and while everything works fine, I keep getting these messages on
    >> my console screen whenever I connect:
    >>
    >> Local: nnn.nnn.nnn.nnn -> Remote: nnn.nnn.nnn.nnn ppp0
    >>
    >> Is there any way to get rid of these messages? I'm using the ppp-go
    >> script, but even when specifying the -q switch, I still get these.


    There isn't a Slackware 9.1 yet, although there is a "slackware-current"
    directory at their site that will be 9.1 once it's official.

    > Have you looked at the /etc/ppp/ip-up script on your machine?


    > The message you cite above is not part of ppp-2.4.1. It's likely to
    > be a Slackware enhancement to the software, probably delivered through
    > that script. Searching via google, I see something that purports to
    > be a Slackware script (I don't have Slackware myself; I can't check
    > it) and that contains:


    > if [ -s /var/log/messages ] && ( ps xc 2>/dev/null | grep -q syslogd
    > 2>/dev/null ); then
    > S=`tail -n 30 /var/log/messages 2>/dev/null | grep "CARRIER[^)]"
    > 2>/dev/null | tr -d "^M" 2>/dev/null | cut -d: -f4 2>/dev/null`
    > echo -n "$S" >/dev/tty0
    > echo " Local: $4 -> Remote: $5 $1" >/dev/tty0
    > else
    > echo " Local: $4 -> Remote: $5 $1" >/dev/tty0
    > fi


    > That does indeed look very annoying.


    And, not surprisingly, it apparently works only when pppd is run from
    a vc terminal, not for a X term. He can, of course, comment or delete
    those lines manually. They must be in ip-up, or in a script called
    from ip-up that is passed PPP parameters set for ip-up by pppd.

    --
    Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
    PPP-Q&A links, downloads: http://ckite.no-ip.net/

  4. Re: PPPD messages on console

    >> if [ -s /var/log/messages ] && ( ps xc 2>/dev/null | grep -q syslogd
    >> 2>/dev/null ); then
    >> S=`tail -n 30 /var/log/messages 2>/dev/null | grep "CARRIER[^)]"
    >> 2>/dev/null | tr -d "^M" 2>/dev/null | cut -d: -f4 2>/dev/null`
    >> echo -n "$S" >/dev/tty0
    >> echo " Local: $4 -> Remote: $5 $1" >/dev/tty0
    >> else
    >> echo " Local: $4 -> Remote: $5 $1" >/dev/tty0
    >> fi

    >
    >> That does indeed look very annoying.

    >
    > And, not surprisingly, it apparently works only when pppd is run from
    > a vc terminal, not for a X term. He can, of course, comment or delete
    > those lines manually. They must be in ip-up, or in a script called
    > from ip-up that is passed PPP parameters set for ip-up by pppd.


    That was it. I didn't realise those scripts were even there! The lines
    are commented out now... thanks very much guys for the fast response.

    Guess I should have done a cd /;grep "Local" * -r. Tried that in the pppd-
    2.4.1 source code and was completely baffled when I couldn't find anything!

+ Reply to Thread