From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 14:12:36 2004 Return-Path: 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 7FB8616A4CE for ; Fri, 9 Apr 2004 14:12:36 -0700 (PDT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2460943D54 for ; Fri, 9 Apr 2004 14:12:36 -0700 (PDT) (envelope-from lrnobs@firstclasssolutions.net) Received: from NCSXP (adsl-67-67-110-29.dsl.stlsmo.swbell.net [67.67.110.29]) i39LCXj9190052; Fri, 9 Apr 2004 17:12:34 -0400 Message-ID: <006401c41e77$605bd8b0$0a05010a@NCSXP> From: "lrnobs" To: "Atom Powers" , References: <1AE2004B175A3D4A8B6230A10D0B5BE33FE9@mercury0.pyramidbrew.com> Date: Fri, 9 Apr 2004 16:12:33 -0500 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 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Subject: Re: Syntax error in rc.conf - cannot fix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 21:12:36 -0000 It works. Thanks all. XP recognizes my Samba Server now too. Apparently XP did not like my old hostname: "localhost", claimed someone else on the network was already using that name, probably itself. Larry Nobs ----- Original Message ----- From: "Atom Powers" To: "lrnobs" ; Sent: Friday, April 09, 2004 3:59 PM Subject: RE: Syntax error in rc.conf - cannot fix > Yeah, I know this. :) > You are obviously in single user mode so, > > 'mount -a' will mount all your file systems according to fstab > '/usr/bin/vi /etc/rc.conf' to correct your config > save and reboot. > > -- > The meek will inherit the earth; the rest of us will go to the stars. > > Atom Powers > Pyramid Brewery > 206.682.8322 x251 > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of lrnobs > Sent: Friday, April 09, 2004 1:56 PM > To: freebsd-questions@freebsd.org > Subject: Syntax error in rc.conf - cannot fix > > I am setting up a new server so I could just reinstall, but this is a > learning opportunity. > > I was changing the hostname of the computer. In rc.conf I apparently > left the leading " off the name. > > BSD doesn't like this. It stops the boot and allows/forces me to a > shell. So I found that "cat" shows me the error of my ways. vi > apparently doesn't exist or is stored somewhere that I cannot find > because "find" does not work either. > > I did find "ed" and thought I would be learning how to use it, but alas > trying to launch it tells me that I have a readonly file system. > > So, is there any way for me to fix my typo, or is reinstall my only > option. > > Thanks, > > Larry Nobs > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > > >