On 2002-10-22 00:24, Anton <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message