Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 11:03:14 +1000
From:      "Danny" <dannyho@bigpond.net.au>
To:        "Duncan Anker" <d.anker@au.darkbluesea.com>
Cc:        <questions@freebsd.org>
Subject:   Re: /etc/rc.conf question
Message-ID:  <000901c25f78$5588d420$bf01a8c0@x.com>
References:  <000b01c25f75$a886e3e0$bf01a8c0@x.com> <1032395919.4797.167.camel@duncan>

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

I did what you specified in the instruciton below,

mount /usr
pico /etc/rc.conf

After I make the changes the computer gives me a "read only" message and I
can't save the file.

Yours faithfully,

Danny

----- Original Message -----
From: "Duncan Anker" <d.anker@au.darkbluesea.com>
To: "Danny" <dannyho@bigpond.net.au>
Cc: <questions@freebsd.org>
Sent: Thursday, September 19, 2002 10:38 AM
Subject: Re: /etc/rc.conf question


> On Thu, 2002-09-19 at 10:44, Danny wrote:
> > Hi,
> >
> > I was trying to add a additional ip address to my test FreeBSD machine
by
> > issuing the following command :
> >
> > 1) cp /etc/rc.conf /etc/rc.conf_backup
> > 2)vi /etc/rc.conf
> > 3)I typed in the following entry
> >
> > ifconfig_rl0_alias0="192.168.1.189 netmask 255.255.255.0
> >
> > When I reboot the computer I get the following error message:
> >
> > Mount root from ufs:/dev/ads1sa
> > /etc/rc.conf 24 Syntax Error: Unterminated quotated string
>
> Well you would, you left a string unterminated :-)
>
> > Enter Full path name of shell or return for /bin/sh
> >
> > I have tried typing in cp /etc/rc.conf_backup /etc/rc.conf
> >
> > I have tried typing in fsck then typing in
> >
> > cp /etc/rc.conf_backup /etc/rc.conf
> >
> >
> > How do I get it to restart properly?
>
> Press return, then:
>
> mount /usr
> vi /etc/rc.conf
>
> make your changes and then type exit at the prompt.
>
>
>


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?000901c25f78$5588d420$bf01a8c0>