From owner-freebsd-questions Thu May 18 23:22:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 561DD37BCFE for ; Thu, 18 May 2000 23:22:52 -0700 (PDT) (envelope-from ust@cert.siemens.de) X-Envelope-Sender-Is: ust@cert.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.10.1/8.10.1) with ESMTP id e4J6Mnb09158; Fri, 19 May 2000 08:22:50 +0200 (MET DST) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail1.siemens.de (8.10.1/8.10.1) with ESMTP id e4J6MnT19646; Fri, 19 May 2000 08:22:49 +0200 (MET DST) Received: from alaska.cert.siemens.de (reims.mchp.siemens.de [139.23.202.134]) by mars.cert.siemens.de (8.10.1/8.10.1/Siemens CERT [ $Revision: 1.8 ]) with ESMTP id e4J6Mnt28229; Fri, 19 May 2000 08:22:49 +0200 (CEST) Received: (from ust@localhost) by alaska.cert.siemens.de (8.10.1/8.10.1/alaska [ $Revision: 1.5 ]) id e4J6Mm544826; Fri, 19 May 2000 06:22:48 GMT Date: Fri, 19 May 2000 08:22:48 +0200 From: Udo Schweigert To: Kaluza-k Cc: questions@FreeBSD.ORG Subject: Re: Dear God, what have I done..... Message-ID: <20000519082248.A44723@alaska.cert.siemens.de> References: <000801bfc157$79c2fa80$b2d1bed0@swbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <000801bfc157$79c2fa80$b2d1bed0@swbell.net>; from Kaluza-k@swbell.net on Fri, May 19, 2000 at 01:00:03AM -0500 X-Operating-System: FreeBSD 4.0-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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