Skip site navigation (1)Skip section navigation (2)
Date:      24 Nov 1999 08:37:02 -0500
From:      Lowell Gilbert <lowell@world.std.com>
To:        freebsd-questions@FreeBSD.ORG, hawk@hawkins.cba.uni.edu
Subject:   Re: my own init scritps not running (dhcp setup)
Message-ID:  <rd6u2mct3i9.fsf@world.std.com>
In-Reply-To: "Richard E. Hawkins"'s message of Tue, 23 Nov 1999 21:03:36 -0600
References:  <m11qSiX-000QjWC@hawkins.cba.uni.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"Richard E. Hawkins" <hawk@hawkins.cba.uni.edu> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rd6u2mct3i9.fsf>