From owner-freebsd-questions Tue Mar 24 11:27:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA17330 for freebsd-questions-outgoing; Tue, 24 Mar 1998 11:27:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (230.hiper01.shef.dialup.force9.net [195.166.132.230] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA17315 for ; Tue, 24 Mar 1998 11:26:49 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id TAA09517; Tue, 24 Mar 1998 19:26:06 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199803241926.TAA09517@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Ulf Zimmermann cc: questions@FreeBSD.ORG Subject: Re: I give up, how do I use ppp with -auto, chap and dynamic addresses ? In-reply-to: Your message of "Tue, 24 Mar 1998 06:06:25 PST." <199803241406.GAA24611@Gatekeeper.Alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 24 Mar 1998 19:26:06 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Trying to dial into AT&T Worldnet, chat itself it login in, then > currently either the chap or the IP assignment fails. > > /etc/ppp/ppp.conf looks like this: [.....] > worldnet: [.....] > set login "TIMEOUT 5 Please Sign-on:-\\r-ign-on:" [.....] [.....] > Mar 24 07:08:21 system3 ppp[277]: tun0: Chat: Expecting Please > Mar 24 07:08:21 system3 ppp[277]: tun0: Chat: Wait for (5): Please --> Please > Mar 24 07:08:21 system3 ppp[277]: tun0: Connect: 115200^M > Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: ^M > Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: STATION ID - hnlhi02ms09am002,s > nfca05ev^M > Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: ^M > Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: Welcome ^M > Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: Please > Mar 24 07:08:23 system3 ppp[277]: tun0: Chat: sending: Sign-on:-^M-ign-on:^M > Mar 24 07:08:23 system3 ppp[277]: tun0: Phase: *Connected! [.....] Well, you're expecting ``Please'', sending ``Sign-on:-\r-ign-on:'' and then going live and sending LCP requests. I'll bet lots that this isn't what you want to do. Remember, the expect-send-expect syntax only works in an `expect' position in the chat script.... > --------------------------------------------------------------------- > Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 > Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 -- Brian , , 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