Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2001 08:28:13 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Andy Farkas <andyf@speednet.com.au>
Cc:        freebsd-stable@freebsd.org, brian@Awfulhak.org, brian@Awfulhak.org
Subject:   Re: Multilink ppp problem 
Message-ID:  <200105090728.f497SDB83802@hak.lan.Awfulhak.org>
In-Reply-To: Message from Andy Farkas <andyf@speednet.com.au>  of "Wed, 09 May 2001 13:08:48 %2B1000." <Pine.BSF.4.33.0105091137570.21307-100000@backup.af.speednet.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <patchfile'').

Cheers.

> 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 <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105090728.f497SDB83802>