From owner-freebsd-questions Mon Oct 28 5:29:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2144437B401 for ; Mon, 28 Oct 2002 05:29:57 -0800 (PST) Received: from stanley.e-technik.uni-erlangen.de (stanley.e-technik.uni-erlangen.de [131.188.137.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 755AA43E8A for ; Mon, 28 Oct 2002 05:29:51 -0800 (PST) (envelope-from tfie@lrs.e-technik.uni-erlangen.de) Received: from lrs.e-technik.uni-erlangen.de (brian.e-technik.uni-erlangen.de [131.188.137.10]) by stanley.e-technik.uni-erlangen.de (8.9.1a/8.1.1-FAU) with ESMTP id OAA05694 for ; Mon, 28 Oct 2002 14:29:41 +0100 (MET) Message-ID: <3DBD3BC5.E5C600B6@lrs.e-technik.uni-erlangen.de> Date: Mon, 28 Oct 2002 14:29:41 +0100 From: Thomas Fiebig Organization: Institute for Computer Aided Circuit Design X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: de, en MIME-Version: 1.0 To: questions@FreeBSD.org Subject: ppp dials out at boot time Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've configured ppp as auto dial on demand. My resolv.conf contains the adresses of my ISP's nameservers. In addition I've an LAN interface (fxp0) with no LAN behind it. In rc.conf I've configured the LAN interface as "inet 192.168.1.1 netmask 255.255.255.0", in /etc/hosts I've assigned the hostname "r2d2" to 192.168.1.1. The hostname is introduced in rc.conf. In /etc/host.conf I implement first /etc/hosts to look for name<->address resolution, then use bind. In this configuration, it seems to me, that the LAN interface introduces a dial out, after the ifconfig during the boot, to resolve the address of the interface, instead of using the /etc/hosts file. If I comment out the ifconfig line in rc.conf, it doesn't take place any longer. The same happens if I comment out the bind line in /etc/host.conf, but then no dns request is solved and answered any longer. So, what is the sense of the ifconfig dialing out? What do I made wrong with that? I think my private network number can not be resolved anywhere, or am I wrong? I want to have configured the LAN interface for the case, I get a connection to LAN sometimes, so that I don't have to reboot. Thanks for helpful hints, Thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message