Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 08:29:11 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Chris Hill <chris@monochrome.org>
Cc:        FreeBSD Questions List <questions@freebsd.org>
Subject:   Re: Start dhcpd on boot
Message-ID:  <44BB2E37.9020801@locolomo.org>
In-Reply-To: <20060715152425.H8662@tripel.monochrome.org>
References:  <20060715152425.H8662@tripel.monochrome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Hill wrote:
> I installed net/isc-dhcp3-server from ports, butI can't seem to persuade 
> it to start when the machine boots. After boot I can do a
> # /usr/local/etc/rc.d/isc-dhcpd.sh start
> ...and the daemon runs and works, but I would like for it to start
> automatically on boot, with no manual intervention. Any thoughts on how 
> to do this?
> 
> In /etc/rc.conf I have
> dhcpd_enable="YES"      # Run the DHCP daemon...
> dhcpd_ifaces="rl1"      # ...on this interface...
> dhcpd_flags="-q"        # ...in quiet mode.

Remove -q, this has only effect on startup that it won't display any 
messages - and that may just be why you don't see the error message you 
need to solve the problem.

Also, no need to specify interfaces, dhcpd will bind to the interfaces 
that match the network declarations in the config file.

Cheers, Erik

-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9



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