X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-bw0-f207.google.com (mail-bw0-f207.google.com [209.85.218.207]) by lists.alpinelinux.org (Postfix) with ESMTP id 35576618EB4 for ; Tue, 18 Aug 2009 08:40:54 +0000 (UTC) Received: by bwz3 with SMTP id 3so2662245bwz.26 for ; Tue, 18 Aug 2009 01:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=1DwR7NtZN70LksxCfT5hwspXqJ/Tkni3sJ17ZlTiFD4=; b=C9QdKcOsl0pzurkFUTc3/EuDmy/1tpMw90pbXlVxfYH974DPrj6chiP7sIEoced76S g3bcnka7RVW6ZYL8qfMlHa68VIQLdaP8k5nCpWIlZSEqwv0UNcVRJhuzfZ4kp0GF6NEp NUbl+KM2lWgGvDkyagFn08syFDSvONSRhrenM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=s1AKtost1bsyNz3Vc0fUJfqPLe6Z3FU8T0qRSv3ArPPos3fWLcWP20N9e5kCIveYV7 n1eWhPzoq5tGbbwVIQum31g+5lsPGjUdET/50yLTJIusuFxg3a9JgV4CuXUSAjo6v+/E GBFc1Bhc0LRJG7rZWdv0M0fBhlURc/aCsY1NI= Received: by 10.103.126.12 with SMTP id d12mr1727296mun.40.1250584852205; Tue, 18 Aug 2009 01:40:52 -0700 (PDT) Received: from ?10.65.65.1? ([90.149.199.29]) by mx.google.com with ESMTPS id i5sm22581571mue.25.2009.08.18.01.40.50 (version=SSLv3 cipher=RC4-MD5); Tue, 18 Aug 2009 01:40:51 -0700 (PDT) Subject: Re: [alpine-devel] dhcpd won't start automatically From: Natanael Copa To: jeremy@thomersonfamily.com Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <6602aeca0908172324s16b0e14bydfd41b2e0be606@mail.gmail.com> References: <6602aeca0908172324s16b0e14bydfd41b2e0be606@mail.gmail.com> Content-Type: text/plain Date: Tue, 18 Aug 2009 10:39:52 +0200 Message-Id: <1250584792.12341.5.camel@localhost.localdomain> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit On Tue, 2009-08-18 at 01:24 -0500, Jeremy Thomerson wrote: > My new router is almost completely setup (shorewall, openvpn server, > dns, etc). I have one problem, though. I've added dhcpd to the > default runlevel, and it tries to start on a reboot, but it doesn't > start automatically. If I sign in to the box and start the service > manually, it starts fine. > > I think the problem has to do with ipv6 not being loaded BEFORE dhcpd > tries to start. I've pasted the relevant part of /var/log/messages > below. I've tried adding ipv6 to /etc/modules. After the box > finishes booting, '/proc/net/if_inet6' exists, so I think that it may > be just an order of operations problem. > > I also tried disabling ipv6 support in dhcpd by specifying "-4" in the > config. However, I think the following bug may be causing this to > fail: > http://bugs.archlinux.org/task/12792 > > Any suggestions? I applied the patch found in the archlinux bug report. http://git.alpinelinux.org/cgit/aports/commit/?id=db5d9d6dcaa35ca33f48383464e0be66903f1bfa So you can try install dhcp-4.1.0_p1-r2 Other option, if you want make sure that modules initscript is run before dhcpd, you can add a forced depednency in /etc/conf.d/dhcpd: rc_need="modules" However, I'd believe that networking should come after modules anyway so please let me know if the above lines solves your problem. Then I'll need to fix the init.d dependencies some place. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---