Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

dhcpd refuses to start

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
WarMachine
Apprentice
Apprentice
Posts: 181
Joined: Mon Jul 15, 2002 7:57 pm

dhcpd refuses to start

  • Quote

Post by WarMachine » Thu Jan 27, 2005 4:22 am

Code: Select all

thedock frank # /etc/init.d/dhcp start                                           * Setting ownership on dhcpd.leases...                                   [ ok ]
 * Starting dhcpd...
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.
socket: Protocol not available - make sure
CONFIG_PACKET (Packet socket) and CONFIG_FILTER
(Socket Filtering) are enabled in your kernel
configuration!

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

BUT:

Code: Select all

CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_NETLINK_DEV=m
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
CONFIG_FILTER=y
???


In case it helps here's dhcpd.conf

Code: Select all

# dhcpd.conf

option domain-name "thedock.no-ip.org";
option domain-name-servers 192.168.1.1;
option routers 192.168.1.1;
ddns-update-style ad-hoc;
default-lease-time 2952000;

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.2 192.168.1.253;
}
/etc/conf.d/dhcp is listening on the correct interface (eth0)
Top
joeswift
Tux's lil' helper
Tux's lil' helper
Posts: 94
Joined: Thu Jan 20, 2005 7:16 am
Location: South Africa

  • Quote

Post by joeswift » Thu Jan 27, 2005 8:02 am

you may be turning on CONFIG_NETFILTER in menuconfig instead of CONFIG_FILTER. Try selecting Socket Filters in menuconfig to turn on CONFIG_FILTER.
Top
WarMachine
Apprentice
Apprentice
Posts: 181
Joined: Mon Jul 15, 2002 7:57 pm

  • Quote

Post by WarMachine » Thu Jan 27, 2005 1:12 pm

I've definitely got it enabled:

Code: Select all

  x x                 <*> Packet socket                                                         x x
  x x                 [ ]   Packet socket: mmapped IO                                           x x
  x x                 <M> Netlink device emulation                                              x x
  x x                 [*] Network packet filtering (replaces ipchains)                          x x
  x x                 [*]   Network packet filtering debugging                                  x x
  x x                 [*] Socket Filtering                                                      x x
  x x                 <*> Unix domain sockets                                                   x x
  x x                 [*] TCP/IP networking                                                     x x
  x x                 [*]   IP: multicasting                                                    x x
  x x                 [*]   IP: advanced router                                                 x x
  x x                 [*]     IP: policy routing                                                x x
  x x                 [*]       IP: use netfilter MARK value as routing key                     x x
  x x                 [*]       IP: fast network address translation                            x x
  x x                 [*]     IP: equal cost multipath                                          x x
  x x                 [*]     IP: use TOS value as routing key                                  x x
  x x                 [*]     IP: verbose route monitoring                                      x x
  x x                 [ ]   IP: kernel level autoconfiguration                                  x x
  x x                 <M>   IP: tunneling                                                       x x
  x x                 <M>   IP: GRE tunnels over IP                                             x x
  x x                 [ ]     IP: broadcast GRE over IP                                         x x
  x x                 [*]   IP: multicast routing                             
Top
WarMachine
Apprentice
Apprentice
Posts: 181
Joined: Mon Jul 15, 2002 7:57 pm

  • Quote

Post by WarMachine » Sat Jan 29, 2005 3:25 am

this is still driving me crazy

I tried emerging dhcp again, no changes.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic