Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 23:07:49 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Nikolaj Thygesen <mailinglist@diamondbox.dk>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Assigning static ip address
Message-ID:  <20090212230727.U97782@wojtek.tensor.gdynia.pl>
In-Reply-To: <49947FC4.4000400@diamondbox.dk>
References:  <49947FC4.4000400@diamondbox.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>   ifconfig_em0="inet 1.2.3.4"
>
> but then I loose all the other dhcp parameters like dns and stuff. Is it 
> really that hard???

echo nameserver yourdns >/etc/resolv.conf

and turn off dhclient of course



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