From owner-freebsd-questions Wed May 29 03:48:05 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA25242 for questions-outgoing; Wed, 29 May 1996 03:48:05 -0700 (PDT) Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA25237 for ; Wed, 29 May 1996 03:48:03 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by mail.barrnet.net (8.7.5/MAIL-RELAY-LEN) with SMTP id DAA12057 for ; Wed, 29 May 1996 03:48:01 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0uOikH-000QY9C; Wed, 29 May 96 12:44 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id MAA20174; Wed, 29 May 1996 12:39:18 +0200 Message-Id: <199605291039.MAA20174@allegro.lemis.de> Subject: Re: booting takes forever To: chris@enteract.com (dcastle) Date: Wed, 29 May 1996 12:39:18 +0200 (MET DST) Cc: questions@freebsd.org In-Reply-To: from "dcastle" at May 28, 96 01:11:00 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk dcastle writes: > > > I just installed FreeBSD 2.1 on a 486 box, and I'm having trouble with > it hanging during bootup. > It gets to this point: > > add net default: gateway 204.119.47.50 > > (204.119.47.50 is the default gateway used by the entire office.) It > hangs on the above line for probably 5-10 minutes. Eventually it will > boot up, and the default gateway DOES work. Are you sure that it's that long? This is typically a name server lookup timeout, which takes about a minute, though it seems like an hour. > I've also noticed that if I ^C at the point where it hangs, it > continues booting again until it tries to start sendmail. It then hangs > at sendmail until I ^C again. Then I finally get the login prompt. Yup, those are the symptoms. > Thanx in advance for any help you might be able to throw my way. The first case suggests that you probably have something like route_loopback="${hostname} localhost" in your /etc/sysconfig. If you're using a name server (either directly or indirectly), it will try to resolve this name by first asking for a top-level domain called 'localhost.'. When this fails, it will then look for a name 'localhost..' This will usually be OK, so it will succeed and continue. The answer to this one, which is especially important if you're on a dialup link, is to add the fully qualified name. For example, I have: route_loopback="${hostname} localhost.lemis.de." The period at the end isn't a mistake, it's to show that this is an absolute domain name. That might be overkill here, but it's less ambiguous. The fact that you hang in these two places suggests to me that your name server configuration isn't working correctly. Could that be the case? By default, sendmail also does some name server lookups, and that's what it's hanging on. Greg