Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 1995 16:11:46 -0500 (EST)
From:      "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        questions@freebsd.org
Subject:   Re: dial-on-demand PPP
Message-ID:  <Pine.3.89.9511051615.B5913-0100000@kryten.atinc.com>
In-Reply-To: <Pine.BSF.3.91.951105141500.270A-100000@rainbow-jr.dreaming.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Nov 1995, Marc G. Fournier wrote:

> 	Just started playing with the PPP implementation that is in
> 2.0.5R, and got it most of the way towards being able to use 'ppp -auto'
> to do dial-on-demand, but seem to have hit a snag.

	funny, just today i set up ppp here ;)  and it works!

> 	Now, I've sent up the appropriate entry, as per the man
> page, and the example files, in /etc/ppp.conf:
> 
> #/etc/ppp/ppp.conf
> #
> default:
>  set device /dev/ttyd1
>  set speed 38400
>  disable lqr
>  deny lqr
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
> #
> iij-demand:
>  set debug lcp
>  set phone 3634621
>  set login "TIMEOUT 5 login:-\\r-login: <userid here> word: <passwd here>"
>  set ifaddr 199.166.238.138 198.133.36.11/24
>  add 0 0 HISADDR

	that looks like the suggested ppp.conf verbatim.  i found that it 
would disconnect me after a few minutes. ;((  

	i added the two lines "disable lqr" and "deny lqr" to my "site 
definition".  its now been working without problems for several hours.  
try this:

aspen> ppp -auto atinc


atinc:
        set debug phase chat lcp
        set device /dev/cua01
        set speed 57600
        disable lqr
        deny lqr
        set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 
OK-AT-OK \
\dATDT\\T TIMEOUT 40 CONNECT"
        set phone 7035551212
        set login "TIMEOUT .....
        set timeout 0
        set ifaddr my.ip.address  their.ip.address
        add 0 their.netmask  their.ip.address


you can remove 'chat' from the debug after you get it login'ing 
correctly.  'set timeout 0' will prevent ppp from hanging up.


Jonathan M. Bresler  jmb@kryten.atinc.com       | Analysis & Technology, Inc.  
FreeBSD Postmaster   jmb@FreeBSD.Org            | 2341 Jeff Davis Hwy
play go.                                        | Arlington, VA 22202
ride bike. hack FreeBSD.--ah the good life      | 703-418-2800 x346




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9511051615.B5913-0100000>