Date: Fri, 19 May 2000 08:22:48 +0200 From: Udo Schweigert <ust@cert.siemens.de> To: Kaluza-k <Kaluza-k@swbell.net> Cc: questions@FreeBSD.ORG Subject: Re: Dear God, what have I done..... Message-ID: <20000519082248.A44723@alaska.cert.siemens.de> In-Reply-To: <000801bfc157$79c2fa80$b2d1bed0@swbell.net>; from Kaluza-k@swbell.net on Fri, May 19, 2000 at 01:00:03AM -0500 References: <000801bfc157$79c2fa80$b2d1bed0@swbell.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 19, 2000 at 01:00:03 -0500, Kaluza-k wrote: > Hi, > > I am in dire need of some assistance; keep in mind im a recent newcomer to the wild and wacky world of UNIX. In fact, i bought "the complete Free BSD" book about 2 weeks ago. It was version 3.2. I read most of the book and then installed. Worked my way through installation, mounting and adding users for my home network. Then, tonight, i got to the part about creating and editing my /etc/rc.conf. file. So, im following the book to a "T". Making every little change that he does. Then, like a dummy, i use his default gateway and subnet mask( did not know i did this until after saving and rebooting". then i reboot. takes forever while it scans for every little device in the world, then starts spitting out: > > if 237.108.34.5 not found subnet 255.255.255.0 not found, > > at this point i realize ive screwed up. so i start reading. Well after about 3 min, i realize that its booting my into a single user mode. so, then i remount pico and certain file systems. re-edit the rc.conf. file to reflect my real subnet and my real default gateway( however, i still do not not what to do if my ip address is dynamic. i dont know what to put in that string.) Anyways, i reboot. Same problem, different error. this time is doesnt find those ones. NOTE: i put nothing in the if string, since i thought nothing would mean search automatically. Finally, in alast ditch effort, i opened my default/rc.conf. and saved it as my etc/rc.conf., overwriting what i thought to be bad data. WOW O WOW. was that a bad move. now it no longer has those errore but spits out "Out of fie descriptors" and prompts my for a direct path of enter for single user mode shell. PLEASE O PLEASE.... help me if you can. YOU SHOULD NEVER cp /etc/defaults/rc.conf /etc/rc.conf !!!! The beginning of /etc/defaults/rc.conf says: # A common mistake is to copy the contents of this file into one of the # ${rc_conf_files} files (e.g. /etc/rc.conf). That does not work, because # this file ends up recursing on itself. The ${rc_conf_files} files should # only contain values which override values set in this file. # To solve your Problem: delete all lines you did not change from /etc/rc.conf. Regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 ZT IK 3, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : ust@cert.siemens.de PGP-2/5 fingerprint | D8 A5 DF 34 EC 87 E8 C6 E2 26 C4 D0 EE 80 36 B2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000519082248.A44723>