From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 21:55:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32D5C1065673 for ; Wed, 23 Jul 2008 21:55:54 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id 29D9F8FC08 for ; Wed, 23 Jul 2008 21:55:53 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K4H00BP0BKX7L00@asmtp016.mac.com> for freebsd-questions@freebsd.org; Wed, 23 Jul 2008 14:55:46 -0700 (PDT) Sender: cswiger@mac.com Message-id: From: Chuck Swiger To: Dave Abouav In-reply-to: <4887A1D4.2070404@transducertech.com> Date: Wed, 23 Jul 2008 14:55:45 -0700 References: <4887A1D4.2070404@transducertech.com> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-questions@freebsd.org Subject: Re: system hangs on boot up if no internet available X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2008 21:55:54 -0000 On Jul 23, 2008, at 2:25 PM, Dave Abouav wrote: > I setup a FreeBSD server (v 6.1) for my company as a simple Samba > server. It works fine. Except once in awhile our access to the > outside internet goes out (due to our ISP), and when it does the > FreeBSD server gets hung up, even after rebooted. This happened this > morning, so I put a console on it, and rebooted it. I saw that it > gets hung trying to start sshd. No error messages are given. If I > hit Control-C, to skip loading sshd, then the rest of the boot-up > goes normally and people can again access the server. Any ideas how > I can avoid this problem? I'd rather not skip the loading of sshd. I > don't have any special programs on the server that contact the > outside world. It's probably doing something which needs a DNS lookup. Do you have a subnet-local nameserver available, or does simply waiting for 2 minutes or so for a timeout do the trick? -- -Chuck