Package: ppp
Version: 2.4.3-20050321
Severity: important

Hi,

I have a flat rate pppoe connection which I want to be up all time. For
obscure (and non-changeable) reasons, I session is disconnected by the
remote side every 24h (=1440minutes). I can reconnect immediately after,
so IMHO persist with 5 second holdoff ist close enough to "always on".
This used to work quite well.
Following bugs #298657 and #301018 I have installed ppp-2.4.3-20050321.
Unfortunately, for me, it does not help.

This is the log from a remote side terminated session. I am mainly
wondering where the signal 15 (SIGTERM) comes from. (A SIGHUP triggers a
reconnect as expected.)
Old session:
Mar 31 17:57:41 Redstar pppd[2734]: LCP terminated by peer
Mar 31 17:57:41 Redstar pppd[2734]: Connect time 1440.0 minutes.
Mar 31 17:57:41 Redstar pppd[2734]: Sent 8031016 bytes, received 41791108 bytes.
Mar 31 17:57:41 Redstar pppd[2734]: Couldn't increase MTU to 1500
Mar 31 17:57:41 Redstar pppd[2734]: Couldn't increase MRU to 1500
Mar 31 17:57:44 Redstar pppd[2734]: Connection terminated.
Mar 31 17:57:44 Redstar pppd[2734]: PPP session is 6304
Mar 31 17:57:44 Redstar pppd[2734]: Using interface ppp0
Mar 31 17:57:44 Redstar pppd[2734]: Connect: ppp0 <--> eth0
Mar 31 17:57:44 Redstar pppd[2734]: Couldn't increase MTU to 1500
Mar 31 17:57:44 Redstar pppd[2734]: Couldn't increase MRU to 1500
Mar 31 17:57:44 Redstar pppd[2734]: Terminating on signal 15
Mar 31 17:57:44 Redstar pppd[2734]: Modem hangup
Mar 31 17:57:44 Redstar pppd[2734]: Exit.

Here is the log from the manually started session.
New Session: (ifup ppp0)
Mar 31 18:22:12 Redstar pppd[6261]: Plugin rp-pppoe.so loaded.
Mar 31 18:22:12 Redstar pppd[6262]: pppd 2.4.3 started by root, uid 0
Mar 31 18:22:13 Redstar pppd[6262]: PPP session is 5099
Mar 31 18:22:13 Redstar pppd[6262]: Using interface ppp0
Mar 31 18:22:13 Redstar pppd[6262]: Connect: ppp0 <--> eth0
Mar 31 18:22:13 Redstar pppd[6262]: Couldn't increase MTU to 1500
Mar 31 18:22:13 Redstar pppd[6262]: Couldn't increase MRU to 1500
Mar 31 18:22:13 Redstar pppd[6262]: Couldn't increase MRU to 1500
Mar 31 18:22:15 Redstar pppd[6262]: Couldn't increase MTU to 1500
Mar 31 18:22:15 Redstar pppd[6262]: Couldn't increase MRU to 1500
Mar 31 18:22:15 Redstar pppd[6262]: Couldn't increase MRU to 1500
Mar 31 18:22:22 Redstar pppd[6262]: Couldn't increase MTU to 1500
Mar 31 18:22:22 Redstar pppd[6262]: Couldn't increase MRU to 1500
Mar 31 18:22:22 Redstar pppd[6262]: Couldn't increase MTU to 1500
Mar 31 18:22:22 Redstar pppd[6262]: Couldn't increase MRU to 1500
Mar 31 18:22:23 Redstar pppd[6262]: PAP authentication succeeded
Mar 31 18:22:23 Redstar pppd[6262]: peer from calling number 00:90:1A:40:04:F6 
authorized
Mar 31 18:22:23 Redstar pppd[6262]: Cannot determine ethernet address for proxy 
ARP
Mar 31 18:22:23 Redstar pppd[6262]: local  IP address 212.88.133.153
Mar 31 18:22:23 Redstar pppd[6262]: remote IP address 217.24.235.26

How it should be, i.e. my last working automatic reconnect:
Mar 28 07:29:18 Redstar pppd[790]: LCP terminated by peer
Mar 28 07:29:18 Redstar pppd[790]: Connect time 1439.8 minutes.
Mar 28 07:29:18 Redstar pppd[790]: Sent 22386274 bytes, received 129721323 
bytes.
Mar 28 07:29:18 Redstar pppd[790]: Couldn't increase MTU to 1500
Mar 28 07:29:18 Redstar pppd[790]: Couldn't increase MRU to 1500
Mar 28 07:29:21 Redstar pppd[790]: Connection terminated.
Mar 28 07:29:26 Redstar pppd[790]: PPP session is 6451
Mar 28 07:29:26 Redstar pppd[790]: Using interface ppp0
Mar 28 07:29:26 Redstar pppd[790]: Connect: ppp0 <--> eth0
Mar 28 07:29:26 Redstar pppd[790]: Couldn't increase MTU to 1500
Mar 28 07:29:26 Redstar pppd[790]: Couldn't increase MRU to 1500
Mar 28 07:29:26 Redstar pppd[790]: Couldn't increase MRU to 1500
Mar 28 07:29:28 Redstar pppd[790]: Couldn't increase MTU to 1500
Mar 28 07:29:28 Redstar pppd[790]: Couldn't increase MRU to 1500
Mar 28 07:29:28 Redstar pppd[790]: Couldn't increase MRU to 1500
Mar 28 07:29:35 Redstar pppd[790]: Couldn't increase MTU to 1500
Mar 28 07:29:35 Redstar pppd[790]: Couldn't increase MRU to 1500
Mar 28 07:29:36 Redstar pppd[790]: Couldn't increase MTU to 1500
Mar 28 07:29:36 Redstar pppd[790]: Couldn't increase MRU to 1500
Mar 28 07:29:37 Redstar pppd[790]: PAP authentication succeeded
Mar 28 07:29:37 Redstar pppd[790]: peer from calling number 00:90:1A:40:04:F6 
authorized
Mar 28 07:29:37 Redstar pppd[790]: local  IP address 212.88.133.153
Mar 28 07:29:37 Redstar pppd[790]: remote IP address 217.24.235.26

My config (if more excerpts are useful, just tell):
/etc/network/interfaces:
auto ppp0
iface ppp0 inet ppp
        provider dsl-provider

Redstar:~# pppd dryrun call dsl-provider
Plugin rp-pppoe.so loaded.
pppd options in effect:
holdoff 5               # (from /etc/ppp/peers/dsl-provider)
persist         # (from /etc/ppp/peers/dsl-provider)
maxfail 0               # (from /etc/ppp/peers/dsl-provider)
dryrun          # (from command line)
plugin rp-pppoe.so              # (from /etc/ppp/peers/dsl-provider)
noauth          # (from /etc/ppp/peers/dsl-provider)
user xxxxxxxxxxxxxxxxxx         # (from /etc/ppp/peers/dsl-provider)
eth0            # (from /etc/ppp/peers/dsl-provider)
eth0            # (from /etc/ppp/peers/dsl-provider)
noaccomp                # (from /etc/ppp/peers/dsl-provider)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 3              # (from /etc/ppp/peers/dsl-provider)
lcp-echo-interval 60            # (from /etc/ppp/peers/dsl-provider)
hide-password           # (from /etc/ppp/peers/dsl-provider)
noipdefault             # (from /etc/ppp/peers/dsl-provider)
defaultroute            # (from /etc/ppp/peers/dsl-provider)
proxyarp                # (from /etc/ppp/options)
noipx           # (from /etc/ppp/options)

One annoying "feature" of this bug is that I do not know any other way
of reproducing it other than aiting 24h till the next remote disconnect,
which leads to lengthy turn-around times.

TIA,

Joerg

Attachment: signature.asc
Description: Digital signature

Reply via email to