From owner-freebsd-questions Wed Jan 9 20:26:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id DA37E37B41F for ; Wed, 9 Jan 2002 20:26:20 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id g0A4QAF24984; Thu, 10 Jan 2002 04:26:15 GMT (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id g0A4Q6S24964; Thu, 10 Jan 2002 04:26:06 GMT (envelope-from brian@freebsd-services.com) Message-Id: <200201100426.g0A4Q6S24964@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Joe & Fhe Barbish" Cc: "Brian Somers" , "FBSD Questions" , brian@freebsd-services.com Subject: Re: How to setup dialin to server and them callback orginal dialin caller In-Reply-To: Message from "Joe & Fhe Barbish" of "Wed, 09 Jan 2002 23:14:06 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Jan 2002 04:26:06 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Brian > I did like you said and ran a test. I dialed in ok like > always but the callback did not happen. To get right to > the point of making it function, you need to see what I > have configured. To that ends I have included my ppp.conf > and ppp.secret files with a ppp.log from my last test. > Please give it a once over and see if you can identify > what's wrong? Cuua2 is the dial in and callback device. > My ppp.conf is heavyly commented for the jr people who work > for me supporting this work enviroment. > > Thanks Joe [.....] > ppp.log of the test > > Jan 9 22:55:52 gateway ppp[378]: Phase: Using interface: tun0 > Jan 9 22:55:52 gateway ppp[378]: Phase: deflink: Created in closed state > Jan 9 22:55:52 gateway ppp[378]: tun0: Command: default: set speed 115200 > Jan 9 22:55:52 gateway ppp[378]: tun0: Command: default: set timeout 0 > Jan 9 22:55:52 gateway ppp[378]: tun0: Command: default: disable pred1 > deflate lqr > Jan 9 22:55:52 gateway ppp[378]: tun0: Command: default: deny pred1 deflate > lqr > Jan 9 22:55:52 gateway ppp[378]: tun0: Command: incoming: enable pap > Jan 9 22:55:52 gateway ppp[378]: tun0: Command: incoming: accept dns > Jan 9 22:55:52 gateway ppp[378]: tun0: Command: incoming: set ifaddr > 10.0.0.1 10.0.0.74 255.255.255.255 [.....] You're invoking ppp with the incoming profile rather than with the callback-server profile. You should run ppp -direct callback-server from the ppplogin script. The callback-server profile should also have a better ``set dial'' command - perhaps the one from your dialisp profile. The current set dial will only wait 10 seconds for CONNECT. The callback-server profile's first line is ``load''ing an non-existent profile. I suspect it should say ``load incoming'' so that it does things like ``allow users'' and ``set ifaddr'' etc. [.....] > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: deflink: RecvConfigReq(2) state > = Req-Sent > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: ACCMAP[6] 0x000a0000 > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: MAGICNUM[6] 0x0336d0d8 > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: PROTOCOMP[2] > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: ACFCOMP[2] > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: CALLBACK[3] CBCP > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: deflink: SendConfigRej(2) state > = Req-Sent > Jan 9 22:55:55 gateway ppp[378]: tun0: LCP: CALLBACK[3] CBCP [.....] This is the bit that goes wrong - ppp rejects the callback request because it hasn't seen a ``set callback'' line.... Cheers. -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message