NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dhcpd 3.1.2 on NetBSD/i386 5.0.1
Chuck:
I don't suppose there's a chance that your kernel and userland
libraries are out of sync about network data structures? (Going
from the "Can't get interface flags for..." message.)
I don't think so. In an effort to find the problem I'd done a fresh
install of NetBSD and dhcpd was the only thing I'd installed.
Have you checked/tried pkgsrc?
I hadn't but have now. I did another fresh install of NetBSD/i386
and used pkgsrc-2009Q2 to install the net/isc-dhcpd package. That
package has no dependencies and requires only one file:
dhcp-3.1.2p1.tar.gz. After the install (installing just this package
creates two entries in the packages database):
dhp# pkg_info -a
digest-20080510 Message digest wrapper utility
isc-dhcp-base-3.1.2p1 ISC Dynamic Host Configuration Protocol (DHCP) Base
isc-dhcp-server-3.1.2p1 ISC Dynamic Host Configuration Protocol (DHCP) Server
dhp#
I copied /usr/pkg/share/examples/rc.d/isc_dhcpd to /etc/rc.d, put my
configuration file in /usr/pkg/etc/dhcp and added this line to
/etc/rc.conf:
isc_dhcpd=YES isc_dhcpd_flags="tlp0"
(This latest install was on a different PC so the interface's name
isn't rtk0 anymore.)
Running /etc/rc.d/isc_dhcpd start produces these lines in /var/log/messages:
Aug 26 19:18:16 dhp dhcpd: Internet Systems Consortium DHCP Server V3.1.2p1
Aug 26 19:18:16 dhp dhcpd: Copyright 2004-2009 Internet Systems Consortium.
Aug 26 19:18:16 dhp dhcpd: All rights reserved.
Aug 26 19:18:16 dhp dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 26 19:18:16 dhp dhcpd: Wrote 0 leases to leases file.
Aug 26 19:18:16 dhp dhcpd: Can't get interface flags for
L@(c^QLDV%K<*kMhF=@Hd^Q
L^F: Device not configured
Aug 26 19:18:16 dhp dhcpd:
Aug 26 19:18:16 dhp dhcpd: If you did not get this software from
ftp.isc.org, pl
ease
Aug 26 19:18:16 dhp dhcpd: get the latest from ftp.isc.org and
install that befo
re
Aug 26 19:18:16 dhp dhcpd: requesting help.
Aug 26 19:18:16 dhp dhcpd:
Aug 26 19:18:16 dhp dhcpd: If you did get this software from
ftp.isc.org and hav
e not
Aug 26 19:18:16 dhp dhcpd: yet read the README, please read it before
requesting
help.
Aug 26 19:18:16 dhp dhcpd: If you intend to request help from the
dhcp-server@is
c.org
Aug 26 19:18:16 dhp dhcpd: mailing list, please read the section on
the README a
bout
Aug 26 19:18:16 dhp dhcpd: submitting bug reports and requests for help.
Aug 26 19:18:16 dhp dhcpd:
Aug 26 19:18:16 dhp dhcpd: Please do not under any circumstances send
requests f
or
Aug 26 19:18:16 dhp dhcpd: help directly to the authors of this
software - pleas
e
Aug 26 19:18:16 dhp dhcpd: send them to the appropriate mailing list
as describe
d in
Aug 26 19:18:16 dhp dhcpd: the README file.
Aug 26 19:18:16 dhp dhcpd:
Aug 26 19:18:16 dhp dhcpd: exiting.
So, either I'm doing something wrong or net/isc-dhcpd is broken,
probably the former of course.
The dhcpd that comes as part of NetBSD, /usr/sbin/dhcpd, does work
but it's only version 3.0.3.
Ray
Home |
Main Index |
Thread Index |
Old Index