ADSL timing drop problem in Linux

Source: Internet
Author: User

Today's new Redhat 5.4 Enterprise Edition, configure a bit of PPPoE, ready to drive on the books to travel, but I am surprised that the connection between the PPP Non-stop, a new terminal, has been ping, found that the network every minute or so automatically fell once, and then automatically reconnect, Look at the message log and find the following, repeated:

Aug 5 23:20:53 localhost pppd[5754]: pppd 2.4.4 from started by root, uid 0

Aug 5 23:20:53 localhost pppd[5754]: Using interface ppp0

Aug 5 23:20:53 localhost pppd[5754]: connect:ppp0 <-->/dev/pts/0

Aug 5 23:20:53 localhost pppoe[5755]: PPP session is 33288

Aug 5 23:20:54 localhost pppd[5754]: appear to have received our own echo-reply!

Aug 5 23:20:54 localhost pppd[5754]: PAP authentication succeeded

Aug 5 23:20:54 localhost pppd[5754]: local IP address 10.0.0.59

Aug 5 23:20:54 localhost pppd[5754]: remote IP address 10.0.0.1

Aug 5 23:21:14 localhost pppd[5754]: appear to have received our own echo-reply!

Aug 5 23:21:34 localhost pppd[5754]: appear to have received our own echo-reply!

Aug 5 23:21:54 localhost pppd[5754]: No response to 3 echo-requests

Aug 5 23:21:54 localhost pppd[5754]: Serial link appears to be disconnected.

Aug 5 23:21:54 localhost pppd[5754]: Connect time 1.0 minutes.

Aug 5 23:21:54 localhost pppd[5754]: Sent, 6578 bytes, received 13132.

Aug 5 23:21:54 localhost pppd[5754]: Connection terminated.

Aug 5 23:21:54 localhost pppoe[5755]: Read (ASYNCREADFROMPPP): Session 33288:input/output Error

Aug 5 23:21:54 localhost pppoe[5755]: Sent Padt

Aug 5 23:21:54 localhost pppd[5754]: Exit.

Aug 5 23:21:54 localhost adsl-connect:adsl connection lost; Attempting re-connection.

Aug 5 23:21:59 localhost pppd[5846]: pppd 2.4.4 from started by root, uid 0

Aug 5 23:21:59 localhost pppd[5846]: Using interface ppp0

Aug 5 23:21:59 localhost pppd[5846]: connect:ppp0 <-->/dev/pts/0

Aug 5 23:21:59 localhost pppoe[5847]: PPP session is 33544

Aug 5 23:21:59 localhost pppd[5846]: appear to have received our own echo-reply!

Aug 5 23:21:59 localhost pppd[5846]: PAP authentication succeeded

Aug 5 23:22:00 localhost pppd[5846]: local IP address 10.0.0.5

Aug 5 23:22:00 localhost pppd[5846]: remote IP address 10.0.0.1

Aug 5 23:22:19 localhost pppd[5846]: appear to have received our own echo-reply!

Aug 5 23:22:39 localhost pppd[5846]: appear to have received our own echo-reply!

Aug 5 23:22:59 localhost pppd[5846]: No response to 3 echo-requests

Aug 5 23:22:59 localhost pppd[5846]: Serial link appears to be disconnected.

Aug 5 23:22:59 localhost pppd[5846]: Connect time 1.0 minutes.

Aug 5 23:22:59 localhost pppd[5846]: Sent, 31464 bytes, received 78172.

Aug 5 23:23:00 localhost pppd[5846]: Connection terminated.

Aug 5 23:23:00 localhost pppoe[5847]: Read (ASYNCREADFROMPPP): Session 33544:input/output Error

Aug 5 23:23:00 localhost pppoe[5847]: Sent Padt

Aug 5 23:23:00 localhost pppd[5846]: Exit.

This column more highlights: http://www.bianceng.cn/OS/Linux/

Immediately on the Internet search, found that there are a number of people on the Internet, or modify the content of the/etc/ppp/options, or modify the content of/etc/ppp/pppoe-server-options, I also in these two documents wasted a lot of time, Testing a long time, the network situation remains the same, and then a thought, the usual modification of IP settings and so on the network card set, try to vi/etc/sysconfig/network-scripts/ifcfg-ppp0 inside made a modification, the original document is as follows:

Userctl=no

Bootproto=dialup

Name=dslppp0

Device=ppp0

Type=xdsl

Onboot=no

Pidfile=/var/run/pppoe-adsl.pid

Firewall=none

Ping=.

Pppoe_timeout=80

Lcp_failure=3

Lcp_interval=20

clampmss=1412

Connect_poll=6

Connect_timeout=60

Defroute=yes

Synchronous=no

Eth=eth0

Provider=dslppp0

user=46804

Peerdns=no

Demand=no

Ipv6init=no

Persist=no

The two places in this file were modified:

Lcp_failure=30

Lcp_interval=30

So far, there has been a continuous drop in the situation, in fact, the above two statements of any one of the values, modified to solve the problem.

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.