Skip site navigation (1)Skip section navigation (2)
Date:      19 Sep 2002 10:38:39 +1000
From:      Duncan Anker <d.anker@au.darkbluesea.com>
To:        Danny <dannyho@bigpond.net.au>
Cc:        questions@freebsd.org
Subject:   Re: /etc/rc.conf question
Message-ID:  <1032395919.4797.167.camel@duncan>
In-Reply-To: <000b01c25f75$a886e3e0$bf01a8c0@x.com>
References:  <000b01c25f75$a886e3e0$bf01a8c0@x.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?1032395919.4797.167.camel>