Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 10:47:35 +1300
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Shon Smith <shonthomas@earthlink.net>
Cc:        Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Can't get ppp to dial: "Chat script failed"
Message-ID:  <20001220104735.A52346@itouchnz.itouch>
In-Reply-To: <000301c06989$f67d0b80$0200a8c0@my.domain>; from shonthomas@earthlink.net on Mon, Dec 18, 2000 at 11:04:43PM -0800
References:  <000301c06989$f67d0b80$0200a8c0@my.domain>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Dec 18, 2000 at 11:04:43PM -0800, Shon Smith wrote:

[...]
> __________________________________________________________________________
> 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
> ___________________________________________________________________________

Three things:

    1. For debugging any chat scripts or anything, your should have the
       following line in the default section:

        set log Phase Chat LCP IPCP CCP tun command

       This will give your a bit more to work with in the log files.

	2. Could be that your modem doesn't understand `-' in the phone
	   number field. Take it out, ie:

        set phone 240-4492

    3. You forgot to set the login and password in your "provider"
       section. You need to have the following lines in there:

        set authname YOURUSERNAME
        set authkey YOURPASSWORD

Hope this helps.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                          "Opportunity does not knock,
       it presents itself when you beat down the door" - W.E. Channing


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: <http://docs.FreeBSD.org/cgi/mid.cgi?20001220104735.A52346>