Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 21:56:41 -0700
From:      aurfalien <aurfalien@gmail.com>
To:        Sam Fourman Jr. <sfourman@gmail.com>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: dhclient and the LiveCD
Message-ID:  <CEC656E0-9963-4CCF-A4BE-778CCCDDB40A@gmail.com>
In-Reply-To: <CAOFF%2BZ3av%2Bxr=jLhv2H11fDxporicdpryer6WWLDx_oUfTEZ8g@mail.gmail.com>
References:  <CAOFF%2BZ3av%2Bxr=jLhv2H11fDxporicdpryer6WWLDx_oUfTEZ8g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Jul 30, 2013, at 8:56 PM, Sam Fourman Jr. wrote:

> hello list,
> 
> when using the bootonly.iso from the ftp servers...
> 
> if you drop to a shell, use dhclient to obtain an ipaddress.. well you get
> one.. but you have no DNS, because I think dhclient can't write to
> /etc/resolv.conf
> 
> what is the correct way to fix this?

Well, if its anything like the LiveCD option from there regular full iso, then you can do 2 things;

issue;

mkdir /tmp/etc
mount_unionfs /tmp/etc /etc

* this makes all things done on the fs temporary

or issue;

mount -rw /

* renders anything you write permanent

I do either of these during LiveCD sessions depending on my goals.

Unsure if this pertains to bootonly.iso but perhaps it helps?

I'm also very new to the FreeBSD scene so any one feel free to correct.

- aurf





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CEC656E0-9963-4CCF-A4BE-778CCCDDB40A>