From owner-freebsd-questions Wed Apr 12 21:57:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tomts2-srv.bellnexxia.net (tomts2.bellnexxia.net [209.226.175.140]) by hub.freebsd.org (Postfix) with ESMTP id F116637BC29 for ; Wed, 12 Apr 2000 21:57:53 -0700 (PDT) (envelope-from ddavid@ican.net) Received: from ican.net ([216.209.37.13]) by tomts2-srv.bellnexxia.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP id <20000413045749.BLBV1435.tomts2-srv.bellnexxia.net@ican.net>; Thu, 13 Apr 2000 00:57:49 -0400 Message-ID: <38F55348.1D1BD8C2@ican.net> Date: Thu, 13 Apr 2000 00:55:36 -0400 From: David David X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Gruen, Robert" Cc: "'questions@FreeBSD.org'" Subject: Re: rc.conf References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Gruen, Robert" wrote: > > I was trying to configure my computer on a private disconnected network with > a static ip address within the 192.168 domain. I however forgot to put a > closing quote on one of the lines I added to rc.conf. Now when I boot up, > the boot loader reports a syntax error in rc.conf and is asking me for a > path to the shell or hit RETURN /bin/sh. I cannot get past this point, I > need to fix the syntax error in the rc.conf file. I also need some help > setting up the computer for the static IP address. Please let me know if > you can help me. how about, at the boot promp ( at the point it says booting in ??? secounds, hit any key other than enter) hit a key other than enter ( I use the space bar myself) type " boot -s " this will load the kernel, then: --->fsck -p --check file systems mount -u / -- mount root file system mount -a -t ufs -- mount all other file systems in fstab swapon -a --not sure you need the swap partitions to edit the file then at the prompt, cd to where the file is, then use the editor "ee what_ever_file" edit the rc.conf file, save it, shutdown -r now, and start up as normal I use this when i do makeworld, see no problem of doing the same too edit that file and reboot. does anyone else thing this would work? David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message