Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 23:04:43 -0800
From:      "Shon Smith" <shonthomas@earthlink.net>
To:        "Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Can't get ppp to dial: "Chat script failed"
Message-ID:  <000301c06989$f67d0b80$0200a8c0@my.domain>

next in thread | raw e-mail | index | archive | help
I have been following the pedantic ppp primer very close, with no luck. I've
tried various variations as suggested in handbook and in email of others who
had similar problems.  I'm running Freebsd 4.2 release, and want to set up
bsd box as dialup gateway to isp.  Win 98 box is networked behind bsd box
with 10/100 switch. When I attempt to dial user ppp in interactive mode,
Chat script fails after about 5 seconds.  See below:

root /etc/ppp-->ppp
Working in interactive mode
Using interface: tun0
ppp ON nietzsche> dial provider
ppp ON nietzsche> Warning: Chat script failed
ppp ON nietzsche>
	and then it just hangs.

If it's helpful, I've included (1)ppp.conf, (2)ppp.linkup,
(3)/var/log/ppp.log
any help fixing this chat script problem is much appreciated.
~shon
__________________________________________________________________________
Here is ppp.conf:

default:
  # Ensure that "device" references the correct serial port
  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
  #
  set device /dev/cuaa0
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \OK-AT-OK ATE1Q0
OK \\dATDT\\T TIMEOUT 40 CONNECT \"\""
#
provider:
  set phone 240-4492
  #  set login "TIMEOUT 10 \"\" \"\" gin:--gin: foo word: bar col: ppp"
  set timeout 300
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
  add default HISADDR
  enable dns
___________________________________________________________________________
Here is ppp.linkup:

provider:
  delete ALL
  add 0 0 HISADDR
___________________________________________________________________________
Here is contents of /var/log/ppp.log:

Dec 18 22:52:45 nietzsche ppp[258]: Phase: Using interface: tun0
Dec 18 22:52:45 nietzsche ppp[258]: Phase: deflink: Created in closed state
Dec 18 22:52:45 nietzsche ppp[258]: Phase: PPP Started (interactive mode).
Dec 18 22:52:49 nietzsche ppp[258]: Phase: bundle: Establish
Dec 18 22:52:49 nietzsche ppp[258]: Phase: deflink: closed -> opening
Dec 18 22:52:49 nietzsche ppp[258]: Phase: deflink: Connected!
Dec 18 22:52:49 nietzsche ppp[258]: Phase: deflink: opening -> dial
Dec 18 22:52:59 nietzsche ppp[258]: Warning: Chat script failed
Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: dial -> hangup
Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: Disconnected!
Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: Connect time: 10 secs: 0
octets in, 0 octets out
Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: : 0 packets in, 0
packets out
Dec 18 22:52:59 nietzsche ppp[258]: Phase:  total 0 bytes/sec, peak 0
bytes/sec on Mon Dec 18 22:52:59 2000
Dec 18 22:52:59 nietzsche ppp[258]: Phase: deflink: hangup -> closed
Dec 18 22:52:59 nietzsche ppp[258]: Phase: bundle: Dead
Dec 18 22:53:03 nietzsche ppp[258]: Phase: PPP Terminated (normal).








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?000301c06989$f67d0b80$0200a8c0>