From owner-freebsd-questions Wed Sep 18 17:40:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AE5937B401 for ; Wed, 18 Sep 2002 17:40:25 -0700 (PDT) Received: from mail.au.darkbluesea.com (mail.au.darkbluesea.com [203.185.208.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B25C43E3B for ; Wed, 18 Sep 2002 17:40:24 -0700 (PDT) (envelope-from d.anker@au.darkbluesea.com) Received: (qmail 19022 invoked by uid 82); 19 Sep 2002 00:39:19 -0000 Received: from unknown (HELO ?10.0.0.188?) (10.0.0.188) by mail.au.darkbluesea.com with SMTP; 19 Sep 2002 00:39:19 -0000 Subject: Re: /etc/rc.conf question From: Duncan Anker To: Danny Cc: questions@freebsd.org In-Reply-To: <000b01c25f75$a886e3e0$bf01a8c0@x.com> References: <000b01c25f75$a886e3e0$bf01a8c0@x.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 19 Sep 2002 10:38:39 +1000 Message-Id: <1032395919.4797.167.camel@duncan> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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