Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 1999 01:27:23 -0500 (EST)
From:      m <kamidesu@hotpop.com>
To:        freebsd-questions@freebsd.org
Subject:   cant dial (PPP)
Message-ID:  <19991224062723.390C3639D1@zagnut.hotpop.com>

next in thread | raw e-mail | index | archive | help

I start ppp (version 2) and type "dial". 
ppp returns "warning: chat script failed".
I type "q" and quit.

 What's wrong? I read the handbook, man ppp, and this is all the info I
thought relevant:

 This is DMESG output:

Probing for PnP devices:
CSN 1 Vendor ID: CMI0001 [0x0100a90d] Serial 0x01000100 Comp ID: @@@0000
[0x00000000]
CSN 2 Vendor ID: DAV0001 [0x01003610] Serial 0x00000907 Comp ID: @@@0000
[0x00000000]

[...]

sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A

(Davicom 33600 internal modem)

Intel Pentium detected, installing workaround for F00F bug
changing root device to wd0s2a
IP packet filtering initialized, divert disabled, rule-based forwarding
disabled, logging disabled


 My ppp.log is:

Dec 24 01:58:56 kamisama ppp[273]: Phase: Using interface: tun0 
Dec 24 01:58:56 kamisama ppp[273]: Phase: deflink: Created in closed state 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: set speed 115200 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: set dial ABORT
BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40
CONNECT 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: set timeout 200 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: set ifaddr
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: add default
HISADDR 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: enable dns 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: disable pred1 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: deny pred1 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: disable lqr 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Command: default: deny lqr 
Dec 24 01:58:56 kamisama ppp[273]: tun0: Phase: PPP Started (interactive mode).

Dec 24 01:58:58 kamisama ppp[273]: tun0: Command: /dev/tty: dial 
Dec 24 01:58:58 kamisama ppp[273]: tun0: Phase: bundle: Establish 
Dec 24 01:58:58 kamisama ppp[273]: tun0: Phase: deflink: closed -> opening 
Dec 24 01:58:58 kamisama ppp[273]: tun0: Phase: deflink: Connected! 
Dec 24 01:58:58 kamisama ppp[273]: tun0: Phase: deflink: opening -> dial 
Dec 24 01:58:58 kamisama ppp[273]: tun0: Chat: deflink: Dial attempt 1 of 1 
Dec 24 01:58:58 kamisama ppp[273]: tun0: Chat: Send: AT^M 
Dec 24 01:58:58 kamisama ppp[273]: tun0: Chat: Expect(5): OK 
Dec 24 01:59:03 kamisama ppp[273]: tun0: Chat: Expect timeout 
Dec 24 01:59:03 kamisama ppp[273]: tun0: Chat: Send: AT^M 
Dec 24 01:59:03 kamisama ppp[273]: tun0: Chat: Expect(5): OK 
Dec 24 01:59:08 kamisama ppp[273]: tun0: Chat: Expect timeout 

(probably this? but the timeout is 200 seconds, and this  happens in way
less than 200 seconds ... )

Dec 24 01:59:08 kamisama ppp[273]: tun0: Phase: deflink: dial -> hangup 
Dec 24 01:59:08 kamisama ppp[273]: tun0: Phase: deflink: Disconnected! 
Dec 24 01:59:08 kamisama ppp[273]: tun0: Phase: deflink: Connect time: 10
secs: 0 octets in, 0 octets out 
Dec 24 01:59:08 kamisama ppp[273]: tun0: Phase:  total 0 bytes/sec, peak 0
bytes/sec on Fri Dec 24 01:59:08 1999 
Dec 24 01:59:08 kamisama ppp[273]: tun0: Phase: deflink: hangup -> closed 
Dec 24 01:59:08 kamisama ppp[273]: tun0: Phase: bundle: Dead 
Dec 24 01:59:31 kamisama ppp[273]: tun0: Command: /dev/tty: q 
Dec 24 01:59:31 kamisama ppp[273]: tun0: Phase: PPP Terminated (normal). 


This is my ppp.conf:

default:

 set device /dev/cuaa1

 set log Phase Chat LCP IPCP CCP tun command
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK
\\dATDT\\T TIMEOUT 40 CONNECT"

 set timeout 200
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 enable dns
 disable pred1
 deny pred1
 disable lqr
 deny lqr
papchap:

 set phone  phone-number|another-phone-number
 set authname my-login
 set authkey my-psswd
 set openmode active
 accept chap

# Thanks.Bye.


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?19991224062723.390C3639D1>