Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 03:48:33 +0300
From:      Vlad Kozin <epbox@yandex.ru>
To:        Anselme <anselme@netcourrier.com>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: dhcp and network interface
Message-ID:  <40380186.20030323034833@yandex.ru>
In-Reply-To: <1048242305.253.11.camel@Toto.dippgw.homedns.org>
References:  <1048242305.253.11.camel@Toto.dippgw.homedns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40380186.20030323034833>