Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2003 13:30:03 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ler@lerctr.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: devd *NOT* called on wi0 insert?
Message-ID:  <20030905.133003.52134645.imp@bsdimp.com>
In-Reply-To: <18850000.1062771730@lerlaptop.iadfw.net>
References:  <18850000.1062771730@lerlaptop.iadfw.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <18850000.1062771730@lerlaptop.iadfw.net>
            Larry Rosenman <ler@lerctr.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905.133003.52134645.imp>