Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 12:58:07 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Shane Hagan <SHagan@aqmd.gov>
Cc:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: quick question
Message-ID:  <20020228125807.G8762@k7.mavetju.org>
In-Reply-To: <AF8DFEFCC411D211B8D000805FBB09DC0638F968@postoffice.aqmd.gov>; from SHagan@aqmd.gov on Wed, Feb 27, 2002 at 05:51:25PM -0800
References:  <AF8DFEFCC411D211B8D000805FBB09DC0638F968@postoffice.aqmd.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 27, 2002 at 05:51:25PM -0800, Shane Hagan wrote:
> I just installed FreeBSD 4.0 and during install I specified a static IP
> address. I would like to change this to DHCP.  I am also running KDE on this
> box.  What is the command to configure my IP info?

Check /etc/rc.conf for the interface definition:
    ifconfig_fxp0="inet 192.168.1.1  netmask 255.255.255.0"
and replace it with 
    ifconfig_fxp0="DHCP"

See also the network_interfaces section of man rc.conf

Edwin
-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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