Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 01:27:30 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Anton <FreeBSD@list.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ppp: Chat script failed
Message-ID:  <20021022222730.GA13692@hades.hell.gr>
In-Reply-To: <13226620538.20021023004102@list.ru>
References:  <4213330097.20021022002457@list.ru> <20021022065906.GF12190@hades.hell.gr> <617574892.20021022105611@list.ru> <20021022174729.3d3ef818.lloy0076@adam.com.au> <581553383.20021022174315@list.ru> <20021022204828.GA10782@hades.hell.gr> <13226620538.20021023004102@list.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-22 00:24, Anton <FreeBSD@list.ru> wrote:
> default:
>  set device /dev/cuaa1
>  set speed 115200
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>            \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT"
>  set timeout 180
>  enable dns
>
> interactive:
>  set phone 501057
>  set authname name
>  set authkey password
>  set openmode active
>  accept chap

On 2002-10-23 00:41, Anton <FreeBSD@list.ru> wrote:
> Tuesday, October 22, 2002, 10:48:29 PM, you wrote:
> GK>         set log Phase Chat LCP IPCP CCP tun command
> GK> Add this line, and try dialing again.  Then chat-related errors should
> GK> become visible in the /var/log/ppp.log file.
>
> OK. I've done that.
> Here it is my /var/log/ppp.log

> Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: ATDP^M
> Oct 22 21:32:51 lizard ppp[165]: tun0: Chat: Expect(40): CONNECT
> Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: ATDP^M^M
> Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: BUSY^M

Hmmm.  I see no phone after ATDP!  This means that \\T in the chat
script doesn't expand to a phone number.  Funny.  It should, if you
use "interactive".

On 2002-10-22 00:24, Anton <FreeBSD@list.ru> wrote:
> When I type 'dial' in the ppp I see warning message:
> "Chat script failed"

You are using just "dial" and not "dial interactive" right? :-)

	root@hades[01:22]/root# ppp
	Working in interactive mode
	Using interface: tun1
	ppp ON hades> help dial
	dial|call [system ...] (o)

You have to enter "dial interactive" instead of just "dial" to let
ppp(8) know that you want to use ``interactive'' as your current
dialing profile from ppp.conf.

Giorgos.

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?20021022222730.GA13692>