All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Session 152 terminated -- received PADT from peer
@ 2017-07-17  6:49 ` Sekar D
  0 siblings, 0 replies; 7+ messages in thread
From: Sekar D @ 2017-07-17  6:37 UTC (permalink / raw
  To: linux-ppp; +Cc: linux-kernel, linux-can

Hello All,

I am getting the following error messages through PPP connection
without any manual intervention.

Session 152 terminated -- received PADT from peer
PADT: Generic-Error: RP-PPPoE: Child pppd process terminated
Sent PADT
Modem hangup
Exit
Connection terminated.
ADSL connection lost; attempting re-connection


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Session 152 terminated -- received PADT from peer
@ 2017-07-17  6:49 ` Sekar D
  0 siblings, 0 replies; 7+ messages in thread
From: Sekar D @ 2017-07-17  6:49 UTC (permalink / raw
  To: linux-ppp; +Cc: linux-kernel, linux-can

Hello All,

I am getting the following error messages through PPP connection
without any manual intervention.

Session 152 terminated -- received PADT from peer
PADT: Generic-Error: RP-PPPoE: Child pppd process terminated
Sent PADT
Modem hangup
Exit
Connection terminated.
ADSL connection lost; attempting re-connection


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Session 152 terminated -- received PADT from peer
  2017-07-17  6:49 ` Sekar D
  (?)
@ 2017-07-17  7:11 ` Oliver Hartkopp
  -1 siblings, 0 replies; 7+ messages in thread
From: Oliver Hartkopp @ 2017-07-17  7:11 UTC (permalink / raw
  To: Sekar D; +Cc: linux-can

Hi Sekar,

linux-can mailing list is related to the CAN bus (Controller Area 
Network) - you probably did not want to post here, right? ;-)

Regards,
Oliver

On 07/17/2017 08:37 AM, Sekar D wrote:
> Hello All,
>
> I am getting the following error messages through PPP connection
> without any manual intervention.
>
> Session 152 terminated -- received PADT from peer
> PADT: Generic-Error: RP-PPPoE: Child pppd process terminated
> Sent PADT
> Modem hangup
> Exit
> Connection terminated.
> ADSL connection lost; attempting re-connection
>
>
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-can" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Session 152 terminated -- received PADT from peer
  2017-07-17  6:49 ` Sekar D
@ 2017-07-18 11:54   ` Sekar D
  -1 siblings, 0 replies; 7+ messages in thread
From: Sekar D @ 2017-07-18 11:42 UTC (permalink / raw
  To: linux-ppp; +Cc: linux-kernel

Please let me know if someone can help here.

On Mon, Jul 17, 2017 at 12:07 PM, Sekar D <sekar.linux@gmail.com> wrote:
> Hello All,
>
> I am getting the following error messages through PPP connection
> without any manual intervention.
>
> Session 152 terminated -- received PADT from peer
> PADT: Generic-Error: RP-PPPoE: Child pppd process terminated
> Sent PADT
> Modem hangup
> Exit
> Connection terminated.
> ADSL connection lost; attempting re-connection
>
>
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Session 152 terminated -- received PADT from peer
@ 2017-07-18 11:54   ` Sekar D
  0 siblings, 0 replies; 7+ messages in thread
From: Sekar D @ 2017-07-18 11:54 UTC (permalink / raw
  To: linux-ppp; +Cc: linux-kernel

Please let me know if someone can help here.

On Mon, Jul 17, 2017 at 12:07 PM, Sekar D <sekar.linux@gmail.com> wrote:
> Hello All,
>
> I am getting the following error messages through PPP connection
> without any manual intervention.
>
> Session 152 terminated -- received PADT from peer
> PADT: Generic-Error: RP-PPPoE: Child pppd process terminated
> Sent PADT
> Modem hangup
> Exit
> Connection terminated.
> ADSL connection lost; attempting re-connection
>
>
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Session 152 terminated -- received PADT from peer
  2017-07-18 11:54   ` Sekar D
@ 2017-07-18 12:07     ` James Carlson
  -1 siblings, 0 replies; 7+ messages in thread
From: James Carlson @ 2017-07-18 12:07 UTC (permalink / raw
  To: Sekar D, linux-ppp; +Cc: linux-kernel

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         <carlsonj@workingcode.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Session 152 terminated -- received PADT from peer
@ 2017-07-18 12:07     ` James Carlson
  0 siblings, 0 replies; 7+ messages in thread
From: James Carlson @ 2017-07-18 12:07 UTC (permalink / raw
  To: Sekar D, linux-ppp; +Cc: linux-kernel

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         <carlsonj@workingcode.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-18 12:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17  6:37 Session 152 terminated -- received PADT from peer Sekar D
2017-07-17  6:49 ` Sekar D
2017-07-17  7:11 ` Oliver Hartkopp
2017-07-18 11:42 ` Sekar D
2017-07-18 11:54   ` Sekar D
2017-07-18 12:07   ` James Carlson
2017-07-18 12:07     ` James Carlson

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.