From owner-freebsd-net Sun Jul 25 19: 1: 3 1999 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (dynamic-104.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.104]) by hub.freebsd.org (Postfix) with ESMTP id 85F7C1525E for ; Sun, 25 Jul 1999 19:00:49 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA14759; Sun, 25 Jul 1999 23:37:35 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA72513; Sun, 25 Jul 1999 23:38:08 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199907252238.XAA72513@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Ernie Elu Cc: brian@Awfulhak.org (Brian Somers), freebsd-net@FreeBSD.ORG Subject: Re: mpd to USR problem In-reply-to: Your message of "Mon, 26 Jul 1999 04:01:10 +1000." <199907251801.EAA90610@spooky.eis.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 25 Jul 1999 23:38:08 +0100 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > > > I am trying to do a multilink ppp connection using mpd version 2.0b2 on FreeBSD 2.2.8 > > > > > > The connection is to a 3COM/USR Total Control rack using a pair of USR 56k > > > modems. > > > > > > The first modem comes up fine, but when the second modem dials in there is > > > some problem negotaiting and both links drop. > > > > > > Here is my config and log entries if someone could please try to point me in > > > the right direction. > > [.....] > > > Jul 24 10:05:46 dns mpd: [modem1] LCP: phase shift AUTHENTICATE --> NETWORK > > > > Strange - this state machine shouldn't be per link (it isn't in ppp > > anyway). > > > > > Jul 24 10:05:46 dns mpd: [eis.net] up: 2 links, total bandwidth 97333 bps > > > Jul 24 10:05:46 dns mpd: [modem1] LCP: LayerUp > > > Jul 24 10:05:46 dns mpd: [eis.net] IPCP: rec'd Configure Request #1 (Opened) > > > Jul 24 10:05:46 dns mpd: COMPPROTO VJCOMP, 16 slots, no comp-cid > > > Jul 24 10:05:46 dns mpd: IPADDR 210.8.64.100 > > > Jul 24 10:05:46 dns mpd: 210.8.64.100 is OK > > > > The peer is misbehaving. It's asking to renegotiate IPCP. You > > should report this to 3com and/or your ISP. > > > > [.....] > > > Any suggestions? > > > > If you're interested in proving this from another ppp implementation, > > you can always try ppp too :-) > > > > I have just tried the same connection with user ppp in multi-link mode and > it seem to be working except the connection hamgs up often and redials with the > following errors in the ppp.log: > > Jul 26 02:34:15 dns ppp[269]: tun0: Phase: 1: HDLC errors -> FCS: 1, ADDR: 0, COMD: 0, PROTO: 0 > Jul 26 02:34:17 dns ppp[269]: tun0: Phase: 2: HDLC errors -> FCS: 1, ADDR: 0, COMD: 0, PROTO: 0 > > Here is my config: > > > ------------------------------- > > default: > set log Phase Chat Connect LCP IPCP CCP tun command > set device /dev/cue7 /dev/cuaa0 > set speed 57600 > set phone "0392590000" > deny lqr > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set login > set authname aickin > set authkey "" > set timeout 600 > set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 > add default HISADDR > set mrru 1500 > clone 1,2 > link 1,2 set mode ddial > ------------------------- > > Does that look about right or have I missed something essential? You could do with a ``link deflink rm'' after the clone to get rid of the original ``deflink'' and you could probably do with a ``set enddisc'', although this isn't essential. If you're getting hdlc errors and are using a pretty recent version of ppp, ``set log +physical'' may throw some light on the subject. You may see that the HDLC error is the result of the peer quitting - maybe the HDLC error is a login prompt ? > - Ernie. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message