From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 05:45:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5696106566C for ; Tue, 9 Mar 2010 05:45:23 +0000 (UTC) (envelope-from oscar815@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 938698FC19 for ; Tue, 9 Mar 2010 05:45:23 +0000 (UTC) Received: by gyg8 with SMTP id 8so1850883gyg.13 for ; Mon, 08 Mar 2010 21:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0ZGNdBQEB27qYjEKuVDdLCf7QN38SoasgiU9pdrONb8=; b=jiw3wujowaWo6EbCa0QkGobZMTASZ4roAI37RtCcxdK2w9tVDGrCln5wH9sdWF7RsN DCPYL/Z9JGfuX96YevTCyWlxyG98P6kBkjyJ2y/XuUy5JIdWZF3swyGf8+cuhrzIkSMt xTQinE+PQCDEpBMPoxmLutoRlxd8DGCHH01L8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UVqPW2WFXEHByGwGSZb2jl1EdXto0P852uGcJ/aM1ZwpST1DSi6XQEntO5sf0QAfwx Jxlfn0pqaf5/HhVHvIggJpbXaDIAToXTIGEh2iE4fbPRK74cLRZKI1s50kaREvtTHvHW HixXz94yLcg4aRjR4Sb2VYDj+QuwnMkWugS/k= MIME-Version: 1.0 Received: by 10.150.47.26 with SMTP id u26mr301893ybu.176.1268113522740; Mon, 08 Mar 2010 21:45:22 -0800 (PST) Date: Tue, 9 Mar 2010 14:45:22 +0900 Message-ID: <861961dd1003082145w4c19d4f0g1f59597d2d077ec7@mail.gmail.com> From: oscar Seo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How can I repair wrong /etc/rc.conf ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 05:45:23 -0000 I'm using FreeBSD 6.4 + windowmaker in IBM notebook. I edited /etc/rc.conf to use LAN other ip address is different from my home address in my school. I got error message from this [ /etc/rc.conf: 131: Syntax error: Unterminated quoted string Enter full pathname of shell or RETURN for /bin/sh: ] so that I returned, I decided to edit /etc/rc.conf using vi. But freebsd didn't find vi, less any other application. I can't modify even if read /etc/rc.conf. fortunately I can use cat so I found my fault sting from /etc/rc.conf but I can't modify any files cause the system changed into read only file system. How can I repair /etc/rc.conf file with fault statements using any editor? Thanks in advanced. Oscar