From owner-freebsd-newbies Mon Mar 24 2:22:56 2003 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A48337B401 for ; Mon, 24 Mar 2003 02:22:50 -0800 (PST) Received: from tentacle.sectorb.msk.ru (tentacle.s2s.msu.ru [193.232.119.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id E357C43F93 for ; Mon, 24 Mar 2003 02:22:48 -0800 (PST) (envelope-from epbox@yandex.ru) Received: from hq.sectorb.msk.ru (petaflop.lcm.msu.ru [193.232.113.220]) by tentacle.sectorb.msk.ru (Postfix) with ESMTP id 50CBB7CF9; Mon, 24 Mar 2003 13:22:43 +0300 (MSK) Received: from 192.168.17.99 (vlad.dorms.msu.ru [192.168.17.99]) by hq.sectorb.msk.ru (8.11.6/8.11.6) with ESMTP id h2N0mX408419; Sun, 23 Mar 2003 03:49:53 +0300 Date: Sun, 23 Mar 2003 03:48:33 +0300 From: Vlad Kozin X-Mailer: The Bat! (v1.61) Reply-To: Vlad Kozin X-Priority: 3 (Normal) Message-ID: <40380186.20030323034833@yandex.ru> To: Anselme Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: dhcp and network interface In-Reply-To: <1048242305.253.11.camel@Toto.dippgw.homedns.org> References: <1048242305.253.11.camel@Toto.dippgw.homedns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-22.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Anselme, Friday, March 21, 2003, 1:25:05 PM, you wrote: A> This can sound silly but I wonder how I can know if the network A> interface on my BSD4-7 use dhcp to get its IP or if it's "hard-written" A> (?) ? A> I know I can choose when I do a post-install configuration with A> /stand/sysinstall but if I only want to know, is there a simple command A> ? A> Thanks Take a look in your /etc/rc.conf for the string: ifconfig_youriface="DHCP" If there is one, then the DHCP service is ON & is probably used by default. Read the dhclient manual for more details & hints on using dhcp under FreeBSD: man 8 dhclient -- Best regards, Vlad mailto:epbox@yandex.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message