*BSD News Article 84853


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!newsfeed.orst.edu!wsrcc.com!wetware!news.sgi.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!pacbell.com!decwrl!purdue!mozo.cc.purdue.edu!schwinger.physics.purdue.edu!ajk
From: ajk@schwinger.physics.purdue.edu (Andrew J. Korty)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Tips : Dynamic PPP On-Demand Setup
Date: 12 Dec 1996 00:32:09 GMT
Organization: Physics Department, Purdue University
Lines: 30
Message-ID: <58njq9$emt@mozo.cc.purdue.edu>
References: <58jrqe$vks@lantana.singnet.com.sg>
NNTP-Posting-Host: schwinger.physics.purdue.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32444

In article <58jrqe$vks@lantana.singnet.com.sg>,
Jason Tseng <light@singnet.com.sg> wrote:

>- About the timeout value in ppp.conf. I noticed that the system will
>logon to the ISP even when I do nothing to access any net
>addresses.While it is connected, I have yet to test the timeout value
>to see if it will disconnect after the certain period of time, or stay
>online indefinitely.

This is what I've been having problems with.  I've tried setting the
timeout value to 120 (what I want), and when that didn't work I tried
20, which didn't work either.  I'm running 2.1.5-RELEASE.  Here's my
ppp.conf file:

    default:
        set device /dev/cuaa1
        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"

    pcn:
        set timeout 3600
        set phone 0000000
        set login "TIMEOUT 5 :--: ppp name: ajk word: XXXXXXX"
        set ifaddr 0 128.210.67.9
        add 0 255.255.255.0 128.210.67.9

ajk