Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2006 17:56:18 -0400 (EDT)
From:      Chris Hill <chris@monochrome.org>
To:        FreeBSD Questions List <questions@freebsd.org>
Subject:   Start dhcpd on boot
Message-ID:  <20060715152425.H8662@tripel.monochrome.org>

next in thread | raw e-mail | index | archive | help
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?

Google didn't find anything useful, nor did a search of the -questions 
archive. On a hunch, I renamed /usr/local/etc/rc.d/isc-dhcpd.sh to 
/usr/local/etc/rc.d/dhcpd.sh, but still no love, so I put it back.

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.

# grep dhc /var/log/messages
shows only the usual rash of intrusion attempts from 0wn3d Windows 
machines, e.g.
May 19 22:28:00 mail sshd[22367]: error: PAM: authentication error for 
root from 24-231-195-180.dhcp.bycy.mi.charter.com

Other pertinent info:
# uname -a
FreeBSD mail.monochrome.org 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0:
Sat Jul 15 20:50:20 EDT 2006
chris@mail.monochrome.org:/usr/obj/usr/src/sys/GENERIC i386

# pkg_info | grep isc-dhcp3-server
isc-dhcp3-server-3.0.3 The ISC Dynamic Host Configuration Protocol server
...a little out of date, I know, but that has no bearing on the issue at 
hand.

Thanks in advance.

--
Chris Hill               chris@monochrome.org
**                     [ Busy Expunging <|> ]



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