From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751461AbdGRMlB (ORCPT ); Tue, 18 Jul 2017 08:41:01 -0400 Received: from carlson.workingcode.com ([50.78.21.49]:42956 "EHLO carlson.workingcode.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336AbdGRMlA (ORCPT ); Tue, 18 Jul 2017 08:41:00 -0400 X-Greylist: delayed 2033 seconds by postgrey-1.27 at vger.kernel.org; Tue, 18 Jul 2017 08:40:59 EDT X-DKIM: OpenDKIM Filter v2.3.2 carlson.workingcode.com v6IC72xT016014 Subject: Re: Session 152 terminated -- received PADT from peer To: Sekar D , linux-ppp@vger.kernel.org References: Cc: linux-kernel@vger.kernel.org From: James Carlson Message-ID: <0c594ed2-12cf-5783-b8dd-d133ca2f4a33@workingcode.com> Date: Tue, 18 Jul 2017 08:07:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-DCC--Metrics: carlson 1102; Body=3 Fuz1=3 Fuz2=3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/18/17 07:42, Sekar D wrote: > Please let me know if someone can help here. Probably not, but I'll give a try. >> I am getting the following error messages through PPP connection >> without any manual intervention. >> >> Session 152 terminated -- received PADT from peer PADT is the PPPoE termination message. It means that your peer has decided to close the session. It could do so for any of a wide number of reasons, and this doesn't seem to indicate any details. For example, your peer: - may be rebooting or administratively disabled - may have a session time limit that's enforced by shutdown - may have a bug that causes the session to crash - may have detected some configuration problem - may have some other internal limitation It's really not clear without getting information from the peer. You might possibly try getting a tcpdump (or wireshark) trace on the Ethernet interface over which PPPoE is being run, and that might help reveal the events surrounding the connection closure. >> PADT: Generic-Error: RP-PPPoE: Child pppd process terminated >> Sent PADT >> Modem hangup >> Exit >> Connection terminated. >> ADSL connection lost; attempting re-connection Looks like all is working as expected following a disconnect by the peer. >> Please let me know if any configuration needs to be added. >> >> /etc/ppp/pppoe-server-options >> # PPP options for the PPPoE server >> # LIC: GPL >> require-chap >> login >> lcp-echo-interval 10 >> lcp-echo-failure 2 Are you really running a PPPoE server? I had expected that you were running a client. What exactly are you doing with PPPoE? In general, if you're trying to connect to your ISP, then at least "require-chap" and "login" are wholly inappropriate. They demand that your peer identify itself to you -- which ISPs almost never do -- and weirdly ask to use both CHAP and local authentication, a combination that's _fundamentally_ impossible because CHAP doesn't reveal the passphrase on the wire. Whoever set up those options was probably pretty confused. If you can do so, I suggest running with "debug" and "updetach" options, and forwarding the complete trace output to the list. If there's a problem with pppd configuration (as opposed to PPPoE or some other issue), that should help reveal what's going on at the PPP level. -- James Carlson 42.703N 71.076W