Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 12:58:25 +0000
From:      John Murphy <john253@crosswinds.net>
To:        questions@FreeBSD.ORG
Subject:   Re: Can't get ppp to dial: "Chat script failed"
Message-ID:  <kpmu3t872169s979d0biui31lvdtivr9f7@4ax.com>

next in thread | raw e-mail | index | archive | help
Shon Smith wrote:

>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 =3D COM1, cuaa1 =3D 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
>________________________________________________________________________=
___

I think you need a couple more lines in the provider section:

   set openmode active
   set authname xxxx # replace xxxx with your log-in name eg. =
you.your.isp
   set authkey yyyy # replace yyyy with your log-in password
   accept chap # or accept pap if chap doesn't work...

Good luck
John.


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?kpmu3t872169s979d0biui31lvdtivr9f7>