Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 01:23:19 +0000
From:      Mark Ovens <marko@uk.radan.com>
To:        Gustavo Vieira G C Rios <grios@netshell.vicosa.com.br>
Cc:        questions@freebsd.org
Subject:   Re: internet via ppp
Message-ID:  <19990224012319.C679@localhost>
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
References:  <36D34279.36A5546@netshell.vicosa.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <enter>
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990224012319.C679>