NetBSD Problem Report #37352

From martin@duskware.de  Fri Nov  9 19:45:35 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1A91663B8D7
	for <gnats-bugs@gnats.netbsd.org>; Fri,  9 Nov 2007 19:45:35 +0000 (UTC)
Message-Id: <20071109194432.204C463B8D7@narn.NetBSD.org>
Date: Fri,  9 Nov 2007 19:44:32 +0000 (UTC)
From: daviddu@cctexas.com
Reply-To: daviddu@cctexas.com
To: netbsd-bugs-owner@NetBSD.org
Subject: hostapd rc file does not include requring it to start before dhcpd 
X-Send-Pr-Version: www-1.0

>Number:         37352
>Category:       misc
>Synopsis:       hostapd rc file does not include requring it to start before dhcpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 09 19:50:00 +0000 2007
>Last-Modified:  Sat Nov 10 09:05:02 +0000 2007
>Originator:     David Dudley
>Release:        -current
>Organization:
City of Corpus Christi
>Environment:
NetBSD hostAP 4.99.34 NetBSD 4.99.34 (GENERIC) #1: Fri Oct 26 08:53:08 CDT 2007  daviddu@DELL-2550-1.crp.local:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
When defining a wireless access point, hostapd is being used to provide security services.  Dhcpd is being used to provide for IP address assignment to the remote clients, however there is no indication in the hostapd RC file (/etc/rc.d/hostapd) that it must be started prior to dhcpd starting.  This causes dhcpd to start before hostapd, which prevents the wireless device from behing configured for correct operation (apparently, when I reversed the order, things started working correctly).
>How-To-Repeat:
Omission from the /etc/rc.d/hostapd
>Fix:
Add the following line into the beginning of the hostapd file.

# BEFORE: dhcpd

>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: re: misc/37352: hostapd rc file does not include requring it to start before dhcpd 
Date: Sat, 10 Nov 2007 20:03:09 +1100

    >Fix:
    Add the following line into the beginning of the hostapd file.

    # BEFORE: dhcpd

 hmm, does this work in the case that your dhcpd runs elsewhere
 and you do not run it locally?


 .mrg.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.