From owner-freebsd-questions Tue Feb 23 17:54:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id BA0E11134D for ; Tue, 23 Feb 1999 17:54:05 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.12 #1) id 10FTWT-0007Fl-00; Wed, 24 Feb 1999 01:54:01 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id BAA09636; Wed, 24 Feb 1999 01:26:25 GMT Received: (from marko@localhost) by marder-1. (8.8.8/8.8.8) id BAA00779; Wed, 24 Feb 1999 01:23:20 GMT (envelope-from marko) Message-ID: <19990224012319.C679@localhost> Date: Wed, 24 Feb 1999 01:23:19 +0000 From: Mark Ovens To: Gustavo Vieira G C Rios Cc: questions@freebsd.org Subject: Re: internet via ppp References: <36D34279.36A5546@netshell.vicosa.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <36D34279.36A5546@netshell.vicosa.com.br>; from Gustavo Vieira G C Rios on Tue, Feb 23, 1999 at 09:06:17PM -0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 23, 1999 at 09:06:17PM -0300, Gustavo Vieira G C Rios wrote: > i am trying to get connected to my ISP without success, can any body > mail me a tip about that? > > my procedure was: > just enter ppp (to execute the software) after at ppp prompt, i typed: > dial isp > > but i got no connection ! > > here goes my config file: > > # /etc/ppp/ppp.conf > default: > set log Phase Chat Connect LCP IPCP CCP tun command > set device /dev/cuaa2 > set speed 115200 > set mtu 296 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK > ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > > Feb 23 20:26:07 myname ppp[205]: tun0: Chat: deflink: Dial attempt 1 of > 1 > Feb 23 20:26:07 myname ppp[205]: tun0: Chat: Send: AT^M > Feb 23 20:26:07 myname ppp[205]: tun0: Chat: Expect(5): OK > Feb 23 20:26:12 myname ppp[205]: tun0: Chat: Expect timeout > Feb 23 20:26:12 myname ppp[205]: tun0: Chat: Send: AT^M > Feb 23 20:26:12 myname ppp[205]: tun0: Chat: Expect(5): OK > Feb 23 20:26:17 myname ppp[205]: tun0: Chat: Expect timeout These show that ppp is not getting ``OK'' back from your modem (the ``AT OK-AT-OK'' part of ``set dial'') In an early post you showed that you could dial & connect manually (using term) so it's obvious your modem works with PPP. I checked my ppp.conf and the only extra thing I have is ``set ctsrts on'' in the default section. Perhaps you can try adding that? You could also try changing the first ``AT'' to ``AT&F'', i.e. TIMEOUT 5 \"\" AT&F OK-AT-OK This sets the modem to factory defaults (for most modems, check the manual). HTH -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message