Re: devd *NOT* called on wi0 insert?

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Fri, 05 Sep 2003 13:30:03 -0600 (MDT)
In message: <18850000.1062771730_at_lerlaptop.iadfw.net>
            Larry Rosenman <ler_at_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
Received on Fri Sep 05 2003 - 10:30:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC