At PPP dial failure, how to debug in Linux environment?

Source: Internet
Author: User
Tags syslog

First, PPP can release debug & kedebug debug Options in the options file

Second, Linux kernel journaling can be viewed through cat/var/log/syslog.1


The following are the relevant steps for Linux

  1. Cd/etc/ppp

  2. Ls

  3. VI Options

  4.   Change #debug to debug

    # Increase debugging level (same as-d) .  If This option is given, PPPD
    # would log the contents of all control packets sent or received in a
    # readable form.  the packets is logged through syslog with facility
    # Daemon and level Debug. This information can is directed to a file by
    # setting up/etc/syslog.conf appropriately (see syslog.conf (5)) .  ( If
    # PPPD is compiled with extra debugging enabled, it'll log messages
    # using facility Local2 instead of daemon).
    #debug

    Debug

  5. Change #kdebug n to kdebug 1

    # Enable Debugging code in the Kernel-level PPP driver. The argument n
    # is a number which are the sum of the following values:1 to enable
    # General Debug messages, 2 to request that the contents of received
    # packets is printed, and 4 to request that the contents of transmitted
    # packets be printed.
    #kdebug N

    Kdebug

  6. Device dialing

  7. Cat/var/log/syslog.1 > Ppp_debug_history.log


Summarize:

The problem encountered this time is the MRU size mismatch problem, the terminal's MRU setting is the default of 576 (556+20),

However, the server configuration of the MRU size is 1500, the result terminal initiates the first dial, MRU mismatch, resulting in dial failure.


This article is from the "mountain Ask the Boy" blog, please be sure to keep this source http://linpeng.blog.51cto.com/9779987/1676063

At PPP dial failure, how to debug in Linux environment?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.