From owner-freebsd-current@FreeBSD.ORG Fri Sep 5 12:30:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59C3916A4BF for ; Fri, 5 Sep 2003 12:30:09 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 014E343FEA for ; Fri, 5 Sep 2003 12:30:08 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h85JU4TX072457; Fri, 5 Sep 2003 13:30:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 05 Sep 2003 13:30:03 -0600 (MDT) Message-Id: <20030905.133003.52134645.imp@bsdimp.com> To: ler@lerctr.org From: "M. Warner Losh" In-Reply-To: <18850000.1062771730@lerlaptop.iadfw.net> References: <18850000.1062771730@lerlaptop.iadfw.net> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: devd *NOT* called on wi0 insert? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 19:30:09 -0000 In message: <18850000.1062771730@lerlaptop.iadfw.net> Larry Rosenman writes: : I have a (within the week) -CURRENT system. If I boot with my Linksys : WPC11 V.3 card inserted : I get the dhcp actions and all is fine. If I remove the card, we don't : kill off dhclient. : : If I boot without the card, and then insert it later, I do NOT get dhclient : starting. : : I modified /etc/rc.d/devd to start devd with the -D switch, and it appears : to my : untrained eyes that devd is NOT being called on the insert. : : What can I get to help debug this? : : /etc/rc.conf: : : # -- sysinstall generated deltas -- # Thu Apr 3 13:56:26 2003 : # Created: Thu Apr 3 13:56:26 2003 : # Enable network daemons for user convenience. : # Please make all changes to this file, not to /etc/defaults/rc.conf. : # This file now contains just the overrides from /etc/defaults/rc.conf. : kern_securelevel_enable="NO" : linux_enable="YES" : moused_enable="YES" : sendmail_enable="YES" : sshd_enable="YES" : usbd_enable="YES" : hostname="lerlaptop" : devd_enable="YES" : dumpdev="/dev/ad0s1b" : dumpdir="/shared/crash/current" : : apm_enable="YES" # Set to YES to enable APM BIOS functions (or NO). : apmd_enable="YES" # Run apmd to handle APM event from userland. : ifconfig_wi0="DHCP" : lpd_enable="YES" # Run the line printer daemon. : lpd_flags="-l" # Flags to lpd (if enabled). : inetd_enable="YES" # Run the network daemon dispatcher (YES/NO). : clear_tmp_enable="YES" # Clear /tmp at startup. Is devd running? What is the output of devd I know this is working, because I use it every single day many times a day with both ath and wi. I do have pccard_ifconfig=DHCP in my rc.conf. Maybe you have a second dhclient running. Warner