pppd problem

Bug #1223378 reported by Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ppp (Ubuntu)
New
Undecided
Unassigned

Bug Description

I use "unit 0" in /etc/ppp/peers/dsl-provider to force the dsl connection on ppp0.

But it gets ignored and the ppp deamon so I get problems with a unstable link.

1. I have a connection...

Sep 10 01:56:23 proxy02 pppd[13195]: PPP session is 9930
Sep 10 01:56:23 proxy02 pppd[13195]: Connected to 00:30:88:1f:17:19 via interface eth1
Sep 10 01:56:23 proxy02 pppd[13195]: Using interface ppp0
Sep 10 01:56:23 proxy02 pppd[13195]: Connect: ppp0 <--> eth1
Sep 10 01:56:23 proxy02 pppd[13195]: Remote message: 0030 PSBER003 2620633872 session limit exceeded
Sep 10 01:56:23 proxy02 pppd[13195]: PAP authentication failed
Sep 10 01:56:29 proxy02 pppd[13195]: Connection terminated.
Sep 10 01:56:29 proxy02 pppd[13195]: Modem hangup
Sep 10 01:56:59 proxy02 pppd[13195]: PPP session is 11582
Sep 10 01:56:59 proxy02 pppd[13195]: Connected to 00:30:88:1f:17:19 via interface eth1
Sep 10 01:56:59 proxy02 pppd[13195]: Using interface ppp0
Sep 10 01:56:59 proxy02 pppd[13195]: Connect: ppp0 <--> eth1
Sep 10 01:56:59 proxy02 pppd[13195]: PAP authentication succeeded
Sep 10 01:56:59 proxy02 pppd[13195]: peer from calling number 00:30:88:1F:17:19 authorized
Sep 10 01:57:00 proxy02 pppd[13195]: not replacing existing default route through ppp1
Sep 10 01:57:00 proxy02 pppd[13195]: local IP address 84.170.XXX.XXX
Sep 10 01:57:00 proxy02 pppd[13195]: remote IP address 87.186.XXX.XXX
Sep 10 01:57:00 proxy02 pppd[13195]: primary DNS address 217.0.43.97
Sep 10 01:57:00 proxy02 pppd[13195]: secondary DNS address 217.0.43.113

Than when the DSL Connection get a error, the pppd create a new connection with ppp1, but ppp0 is still connected and we get a "session limit exceeded".

Sep 10 01:57:15 proxy02 pppd[13114]: No response to 4 echo-requests
Sep 10 01:57:15 proxy02 pppd[13114]: Serial link appears to be disconnected.
Sep 10 01:57:15 proxy02 pppd[13114]: Connect time 3.0 minutes.
Sep 10 01:57:15 proxy02 pppd[13114]: Sent 15438 bytes, received 21041 bytes.
Sep 10 01:57:21 proxy02 pppd[13114]: Connection terminated.
Sep 10 01:57:21 proxy02 pppd[13114]: Modem hangup
Sep 10 01:57:52 proxy02 pppd[13114]: PPP session is 5314
Sep 10 01:57:52 proxy02 pppd[13114]: Connected to 00:30:88:1f:17:19 via interface eth1
Sep 10 01:57:52 proxy02 pppd[13114]: Couldn't allocate PPP unit 0 as it is already in use
Sep 10 01:57:52 proxy02 pppd[13114]: Using interface ppp1
Sep 10 01:57:52 proxy02 pppd[13114]: Connect: ppp1 <--> eth1
Sep 10 01:57:52 proxy02 pppd[13114]: Remote message: 0030 PSBER003 2620673003 session limit exceeded
Sep 10 01:57:52 proxy02 pppd[13114]: PAP authentication failed
Sep 10 01:57:58 proxy02 pppd[13114]: Connection terminated.
Sep 10 01:57:58 proxy02 pppd[13114]: Modem hangup

Its like there a two pppd daemons running... this daemons fight each other, than later the Internet connection fails because of

Sep 10 01:51:32 proxy02 pppd[13195]: PPP session is 2061
Sep 10 01:51:32 proxy02 pppd[13195]: Connected to 00:30:88:1f:17:19 via interface eth1
Sep 10 01:51:32 proxy02 pppd[13195]: Using interface ppp0
Sep 10 01:51:32 proxy02 pppd[13195]: Connect: ppp0 <--> eth1
Sep 10 01:51:33 proxy02 pppd[13195]: PAP authentication succeeded
Sep 10 01:51:33 proxy02 pppd[13195]: peer from calling number 00:30:88:1F:17:19 authorized
Sep 10 01:51:33 proxy02 pppd[13195]: not replacing existing default route through ppp1

Than the default route is wrong :(

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ppp 2.4.5-5ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-53.81-generic-pae 3.2.50
Uname: Linux 3.2.0-53-generic-pae i686
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: i386
Date: Tue Sep 10 15:59:15 2013
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release i386 (20120424.1)
MarkForUpload: True
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: ppp
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Thomas (t.c) wrote :
Revision history for this message
Thomas (t.c) wrote :

my /etc/ppp/peers/dsl-provider

# Minimalistic default options file for DSL/PPPoE connections
unit 0
noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so eth1
usepeerdns
user "<email address hidden>"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.