From owner-freebsd-questions Wed Sep 18 17:47:48 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 7FC2F37B401 for ; Wed, 18 Sep 2002 17:47:46 -0700 (PDT) Received: from mta06ps.bigpond.com (mta06ps.bigpond.com [144.135.25.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BBCB43E4A for ; Wed, 18 Sep 2002 17:47:45 -0700 (PDT) (envelope-from dannyho@bigpond.net.au) Received: from win2000 ([144.135.25.69]) by mta06ps.bigpond.com (Netscape Messaging Server 4.15 mta06ps May 23 2002 23:53:28) with SMTP id H2NU7J00.6VS; Thu, 19 Sep 2002 10:47:43 +1000 Received: from CPE-203-45-119-212.nsw.bigpond.net.au ([203.45.119.212]) by PSMAM01.mailsvc.email.bigpond.com(MailRouter V3.0n 71/10492587); 19 Sep 2002 10:47:42 Message-ID: <000901c25f78$5588d420$bf01a8c0@x.com> From: "Danny" To: "Duncan Anker" Cc: References: <000b01c25f75$a886e3e0$bf01a8c0@x.com> <1032395919.4797.167.camel@duncan> Subject: Re: /etc/rc.conf question Date: Thu, 19 Sep 2002 11:03:14 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 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 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" To: "Danny" Cc: 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