From owner-freebsd-questions Wed Nov 24 5:38:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from europe.std.com (europe.std.com [199.172.62.20]) by hub.freebsd.org (Postfix) with ESMTP id 280B514CB0 for ; Wed, 24 Nov 1999 05:37:46 -0800 (PST) (envelope-from lowell@world.std.com) Received: from world.std.com (lowell@world-f.std.com [199.172.62.5]) by europe.std.com (8.9.3/8.9.3) with ESMTP id IAA00620; Wed, 24 Nov 1999 08:37:03 -0500 (EST) Received: (from lowell@localhost) by world.std.com (8.9.3/8.9.3) id IAA03569; Wed, 24 Nov 1999 08:37:02 -0500 (EST) To: freebsd-questions@FreeBSD.ORG, hawk@hawkins.cba.uni.edu Subject: Re: my own init scritps not running (dhcp setup) References: From: Lowell Gilbert Date: 24 Nov 1999 08:37:02 -0500 In-Reply-To: "Richard E. Hawkins"'s message of Tue, 23 Nov 1999 21:03:36 -0600 Message-ID: Lines: 31 X-Mailer: Gnus v5.5/Emacs 20.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Richard E. Hawkins" writes: > However, if I add /etc/start_if.edu fill suggested in the guide I > found, the system hangs on boot, in a loop about arpresolve not being > able to resolve. I've tried moving the file to /usr/local/etc, but > nothing happens on boot; the result is no different than when the file > is not there. It's a message suggesting that gethostbyname failed, and > inviting me to try to configure manually. It doesn't seem to appear in > /var/log/messages (neither does the arpresolve message). Normally, ifconfig_ed0="DHCP" in your rc.conf is pretty much what you need to start the DHCP client at startup. You could start it with start_if.ed0, but there's no reason to do so. I don't think this is related to your problem, though. I *think* your problem is that the loopback isn't configured yet when you try to start DHCP on ed0. The easiest way to fix that is to change the interfaces variable in your rc.conf so it lists lo0 before ed0. If you want to run startup scripts from /usr/local, put them in /usr/local/etc/rc.d, but this is *not* the way to configure your network interfaces. > I had the same problem with xdm, and finally gave up--but at the time, There's an entry in the FAQ on this. You didn't describe specific approaches or problems problems with any particular method, so we can't help you. Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message