From owner-freebsd-questions Tue Jan 12 11:12:25 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27247 for freebsd-questions-outgoing; Tue, 12 Jan 1999 11:12:25 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA27234 for ; Tue, 12 Jan 1999 11:12:19 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA23474; Tue, 12 Jan 1999 19:11:42 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id QAA12727; Tue, 12 Jan 1999 16:34:02 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901121634.QAA12727@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Ovens cc: Tim Stinnett , freebsd-questions@FreeBSD.ORG Subject: Re: chat In-reply-to: Your message of "Wed, 23 Dec 1998 00:56:36 GMT." <36803FC4.E89772AF@uk.radan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 12 Jan 1999 16:34:01 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Tim Stinnett wrote: > > > > >It would help if you include your /etc/ppp/ppp.conf file with your > > >message > > A copy of the ppp.conf file is included below. To recap the problem I am > > having: All attempts at connecting using ppp result in "Warning: Chat > > script failed". I can start ppp and dial into my ISP using the term command > > and it appears I go into packet mode. I can run a background command and > > ping my ISP and get results back(At least that happened once. I tried it > > again last night and it didn't work). If I try ppp -auto provider nothing > > happens. No dialing of the modem, etc.. But I will get the same message. > > "Warning: Chat script failed". > > > > Tim > > Here is a copy of my ppp.conf file located at /etc/ppp > > > > default: > > set device /dev/cuaa4 > > set speed 115200 > > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 > > OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT" > > provider: > > set login "TIMEOUT 10 \"\" \"\" gin:--gin: myname word: myword" > ^^^^^^^^^ > This looks rather suspicious, what is it for? I think they are > un-necessary. You're saying to expect nothing twice, so if the login > prompt arrives that could be causing the message. > > The man page, Handbook, and ppp.conf.sample all show ``TIMEOUT 10 > gin:--gin:''. Try that instead. The above is ok too. Because send-strings will have a trailing line feed unless they're specified with \c at the end, the above will expect nothing, and send \n. This probably should be offered in the man pages :-) > Actually, are you sure that your ISP doesn't use CHAP/PAP?? In which > case you need ``set authname'' and ``set authkey'' rather than ``set > login''. [.....] Of course, enabling chat logging (``set log phase chat'') would probably reveal what the problem is.... > Mark Ovens, CNC Applications Engineer, Radan Computational Ltd > Sheet Metal CAD/CAM Solutions > mailto:marko@uk.radan.com http://www.radan.com -- 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