From owner-freebsd-stable Wed May 9 0:28:23 2001 Delivered-To: freebsd-stable@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 4322F37B422 for ; Wed, 9 May 2001 00:28:18 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f497YMW15290; Wed, 9 May 2001 08:34:22 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f497SDB83802; Wed, 9 May 2001 08:28:13 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105090728.f497SDB83802@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Andy Farkas Cc: freebsd-stable@freebsd.org, brian@Awfulhak.org, brian@Awfulhak.org Subject: Re: Multilink ppp problem In-Reply-To: Message from Andy Farkas of "Wed, 09 May 2001 13:08:48 +1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 May 2001 08:28:13 +0100 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've just fixed this behaviour in -stable. I've attached the change in case you don't upgrade too often (save this mail to a file named patchfile and apply it by changing to /etc and running ``patch I have a remote server running 4.3-R setup to do multilink ppp using 3 > modems. It dials into Lucent PortMaster 3's - everything works fine and > traffic flows freely down all 3 lines. > > The problem is when it reboots - when ppp starts up again, it dials, > connects, authenticates, and then disconnects straight away on all three > lines! Over and over and over again :( > > Here is an extract from ppp.log when it does this: > > ppp[165]: tun0: LCP: 3: SendIdent(16) state = Opened > ppp[165]: tun0: Phase: 3: his = PAP, mine = none > ppp[165]: tun0: Phase: Pap Output: remote ******** > ppp[165]: tun0: Phase: Pap Input: SUCCESS (Login Succeeded) > ppp[165]: tun0: Phase: mpserver: can't connect to bundle socket /var/run/ppp--03-123400000000 (Connection refused) > ppp[165]: tun0: Phase: The previous server died badly ! > ppp[165]: tun0: LCP: 3: LayerDown > ppp[165]: tun0: LCP: 3: SendTerminateReq(7) state = Opened > ppp[165]: tun0: LCP: 3: State change Opened --> Closing > ppp[165]: tun0: IPCP: 3: Error: Unexpected IPCP in phase Authenticate (ignored) > > I've tracked it down this: a file is leftover in /var/run. Here is what > is currently in there and will be leftover on next reboot: > > # ls -l /var/run/ppp* > srw------- 1 root wheel 0 May 9 11:36 ppp--03-123400000000= > > So my workaround is putting "rm /var/run/ppp*" in rc.network just before > it starts ppp. > > Anyone else using multilink ppp seeing this? I'm wondering if this all > started about 4 weeks ago when a set of changes were MFC'd? I've had this > setup running since September 2000 and have only recently (towards the end > of 4.2-S) had this trouble. > > -- > > :{ andyf@speednet.com.au > > Andy Farkas > System Administrator > Speednet Communications > http://www.speednet.com.au/ -- Brian Don't _EVER_ lose your sense of humour ! Index: rc =================================================================== RCS file: /home/ncvs/src/etc/rc,v retrieving revision 1.212.2.24 diff -u -r1.212.2.24 rc --- rc 2001/04/25 09:19:03 1.212.2.24 +++ rc 2001/05/09 07:25:17 @@ -224,7 +224,7 @@ [ ."$file" = .. -o ."$file" = ... ] && continue [ -d "$file" -a ! -L "$file" ] && purgedir "$file" - [ -f "$file" ] && rm -f -- "$file" + [ -f "$file" -o -S "$file" ] && rm -f -- "$file" done ) done To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message