Date: Fri, 9 Apr 2004 16:12:33 -0500 From: "lrnobs" <lrnobs@firstclasssolutions.net> To: "Atom Powers" <APowers@PyramidBrew.com>, <freebsd-questions@freebsd.org> Subject: Re: Syntax error in rc.conf - cannot fix Message-ID: <006401c41e77$605bd8b0$0a05010a@NCSXP> References: <1AE2004B175A3D4A8B6230A10D0B5BE33FE9@mercury0.pyramidbrew.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <APowers@PyramidBrew.com> To: "lrnobs" <lrnobs@firstclasssolutions.net>; <freebsd-questions@freebsd.org> 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" > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006401c41e77$605bd8b0$0a05010a>