Subject: Re: configuring the /etc/rc.conf file
To: port-mac68k@netbsd.org <port-mac68k@netbsd.org>
From: Mark Weaver <markw@mxtechs.com>
List: port-mac68k
Date: 07/03/2000 12:03:51
--------------235A281A45BC262DD19F04EF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jon Lindgren wrote:

> On Mon, 3 Jul 2000, Thomas Carlson wrote:
>
> > What exactly are the steps in configuring the /etc/rc.conf file after a new
> > install?  Each time I try to access it I get a "permission denied" message.
> > What am I missing here?
>
> Ah!  What happens is that when you boot single user (when it tells you
> that the /etc/rc.conf is unconfigured), the / partition is mounted
> read-only (which is the correct behavior for booting into single
> user).  Just remount it as read-write (I think it's "mount / -o rw" but
> that may be slightly incorrect - embarassingly enough, I haven't done it
> in eons and I forget the syntax... 'man mount' should be of some
> help, though you might need to 'mount /usr' first).  Then you should be
> able to vi the file.
>
> Basically, just set "configured" to yes, and browse through the file to
> make sure everything is configured correctly.  The theory is that you
> don't want to let an unconfigured box onto the network...
>
> Hope this helps,
>
> -Jon
>  --------------------------------------------------------------------
>  "Hey - this old machine screams like a snail on acid!" - (a true
>   comment by a fellow who recently installed NetBSD on an old server)

I use "mount -A" but don't if that right either. :)

--
Mark Weaver
Systems Administrator
MX Technologies, LLC
www.mxtechs.com



--------------235A281A45BC262DD19F04EF
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Jon Lindgren wrote:
<blockquote TYPE=CITE>On Mon, 3 Jul 2000, Thomas Carlson wrote:
<p>> What exactly are the steps in configuring the /etc/rc.conf file after
a new
<br>> install?&nbsp; Each time I try to access it I get a "permission denied"
message.
<br>> What am I missing here?
<p>Ah!&nbsp; What happens is that when you boot single user (when it tells
you
<br>that the /etc/rc.conf is unconfigured), the / partition is mounted
<br>read-only (which is the correct behavior for booting into single
<br>user).&nbsp; Just remount it as read-write (I think it's "mount / -o
rw" but
<br>that may be slightly incorrect - embarassingly enough, I haven't done
it
<br>in eons and I forget the syntax... 'man mount' should be of some
<br>help, though you might need to 'mount /usr' first).&nbsp; Then you
should be
<br>able to vi the file.
<p>Basically, just set "configured" to yes, and browse through the file
to
<br>make sure everything is configured correctly.&nbsp; The theory is that
you
<br>don't want to let an unconfigured box onto the network...
<p>Hope this helps,
<p>-Jon
<br>&nbsp;--------------------------------------------------------------------
<br>&nbsp;"Hey - this old machine screams like a snail on acid!" - (a true
<br>&nbsp; comment by a fellow who recently installed NetBSD on an old
server)</blockquote>
I use "mount -A" but don't if that right either. :)
<pre>--&nbsp;
Mark Weaver
Systems Administrator
MX Technologies, LLC
www.mxtechs.com</pre>
&nbsp;</html>

--------------235A281A45BC262DD19F04EF--