Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 05:23:54 -0800 (PST)
From:      Bill Tillman <btillman99@yahoo.com>
To:        Zantgo <zantgo@gmail.com>, Robert Simmons <rsimmons0@gmail.com>
Cc:        "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org>
Subject:   Re: Urgent!. Problem with / etc / rc.conf
Message-ID:  <1320585834.66067.YahooMailNeo@web36502.mail.mud.yahoo.com>
In-Reply-To: <8D04DED6-9175-42C7-B553-BAC1EA129E68@gmail.com>
References:  <288821E5-0392-49CA-BC85-0E550769C732@gmail.com> <CA%2BQLa9By435sthvHgCfu4YKPOe5-4BkdgcZQM%2BwQZRk_hf4vUA@mail.gmail.com> <8D04DED6-9175-42C7-B553-BAC1EA129E68@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A=0A=0A________________________________=0A=0AFrom: Zantgo <zantgo@gmai=
l.com>=0ATo: Robert Simmons <rsimmons0@gmail.com>=0ACc: "freebsd-questions@=
FreeBSD.org" <freebsd-questions@freebsd.org>=0ASent: Sunday, November 6, 20=
11 12:52 AM=0ASubject: Re: Urgent!. Problem with / etc / rc.conf=0A=0A=0A=
=0A=0AEl 06-11-2011, a las 1:29, Robert Simmons <rsimmons0@gmail.com> escri=
bi=F3:=0A=0A> On Sun, Nov 6, 2011 at 12:10 AM, Zantgo <zantgo@gmail.com> wr=
ote:=0A>> Without wanting to erase all contents of / etc / rc.conf, by runn=
ing "echo" slim_enable =3D "YES" "> / etc / rc.conf". Please help!.=0A> =0A=
> Well, the absolute basics would be:=0A> hostname=3D"<YourHostNameHere>"=
=0A> ifconfig_<NameOfNicCardDeviceHere>"=3D"inet <IPADDRESS> netmask <NETMA=
SK>"=0A> defaultrouter=3D"<IPOfGateway/Router>"=0A> =0A> You may also have =
had:=0A> sshd_enable=3D"YES"=0A> =0A> You can also look at dmesg -a and get=
 a grasp over what other services=0A> you had started.=0A> =0A> Two other t=
hings, use >> rather than > to append to the file (better=0A> yet, learn vi=
, it's much safer), and always backup any changes from=0A> default you make=
 to config files.=A0 I keep them all on pastebin.com for=0A> convenience, b=
ut you can keep them anywhere, even scribbled on a=0A> postit note stuck to=
 the front of the server in question (what I used=0A> to do).=0A> =0A> Rob=
=0AI gave up, and now reinstall everything again :(=0A_____________________=
__________________________=0Afreebsd-questions@freebsd.org mailing list=0Ah=
ttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe=
, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0AWow,=
 to reinstall everything is like throwing the baby out with the bath water.=
 Rather drastic. There are some simple steps you could have taken to get th=
ings back to normal but without knowing what you had in your original rc.co=
nf file that's probably oversimplifying things. =0A=0AI keep a little scrip=
t in my /root/bin folder to backup my config files periodically to another =
server. This is something you should look into. We all make mistakes and wh=
en we do, a backup copy can make the difference between "oh wow" and "oh f*=
**".=0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1320585834.66067.YahooMailNeo>