*BSD News Article 58698


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!agate!reason.cdrom.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: User ppp, client mode,...
Date: Thu, 11 Jan 1996 01:30:33 -0800
Organization: Walnut Creek CDROM
Lines: 22
Message-ID: <30F4D8B9.167EB0E7@FreeBSD.org>
References: <4cse48$c2i@cyber1.servtech.com>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b4 (X11; I; FreeBSD 2.1-STABLE i386)
To: rudynel millian <rmillian@cyber1.servtech.com>

rudynel millian wrote:
y ISP on demand, according to the handbook
> and the man page. But user ppp dials in shortly after booting up, and
> remains connected until my ISP kicks me off (no activity for 20 minutes),

I suspect:

1. You have some sort of DNS traffic going out.  Something in your
/etc/* startup files which references a host by name rather than IP?
That'll do it.

2. No timeout setting in your ppp configuration file.  Do you set a
shorter timeout in your default: clause?

> Like sendmail checking the queue? If so, how do I check who is attempting to
> send packets?

Compile your kernel with BPF support and use tcpdump - that'll tell you
very quickly!
-- 
				- Jordan Hubbard
				  President, The FreeBSD Project