From owner-freebsd-questions Sat Apr 20 07:59:16 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA16733 for questions-outgoing; Sat, 20 Apr 1996 07:59:16 -0700 (PDT) Received: from jbrann.dialup.access.net (jbrann.dialup.access.net [166.84.193.118]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA16728 for ; Sat, 20 Apr 1996 07:59:07 -0700 (PDT) Received: (from jbrann@localhost) by jbrann.dialup.access.net (8.6.12/8.6.12) id KAA04019; Sat, 20 Apr 1996 10:59:56 -0400 Message-Id: <199604201459.KAA04019@jbrann.dialup.access.net> Subject: Re: PPP on demand. To: khetan@iafrica.com (Khetan Gajjar) Date: Sat, 20 Apr 1996 10:59:55 -0400 (EDT) Cc: questions@freebsd.org (freeq) In-Reply-To: from Khetan Gajjar at "Apr 20, 96 01:16:40 pm" From: John Brann Reply-To: John Brann Organisation: Not while I'm at home X-Mailer: ELM [version 2.4ME+ PL13 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Khetan Gajjar wrote... > Hi. > > I have a static IP address (196.7.74.174) and am dialling into my ISP. > The problem is that when I specify ppp -auto chain it starts dialling > for reasons I do not understand (i.e. I do nothing, and it starts dialling). > As soon as ppp comes up it will react to any packet you send to the outside world. This may be something you did deliberately ('ping chain') or implicitly. The normal reason for this behaviour is name resolution. A program needs an IP address and you are set up so that name resolution is done at your ISP - so the name resolution request goes to the outside world, causing ppp to dial. To 'fix' this edit '/etc/host.conf' to make it check the 'hosts' file before using name resolution. > --- > Khetan Gajjar > Visit at http://www.iafrica.com/~khetan/ > Pipex-Internet Africa Operations > help@iafrica.com or 0800-030-002 > Regards, John -- Beavis and Butt-Head; Vladimir and Estragon for the '90s. finger jbrann@panix.com for pgp public key