devd or dhclient or ifconfig behavior seems broken

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Thu, 4 Jul 2013 00:15:21 -0700
For years after connecting wlan0 via dhcp to a spotted
router, I would occasionially need to do

ifconfig wlan0 down
ifconfig wlan0 up

This would toggle

% ifconfig wlan0 | grep media
        media: IEEE 802.11 Wireless Ethernet OFDM/6Mbps mode 11g

to

% ifconfig wlan0 | grep media
        media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g

After rebuilding, installing, and rebooting a new world, I find
the following in /var/log/messages

Jul  4 00:05:03 laptop-kargl kernel: wlan0: link state changed to DOWN
Jul  4 00:05:04 laptop-kargl kernel: wlan0: link state changed to UP
Jul  4 00:05:04 laptop-kargl devd: Executing '/etc/rc.d/dhclient quietstart
   wlan0

So, devd is firing off a new dhclient.  This has never occurred before.
But, to make matters worse.  The new dhclient appears to be nuking
/etc/resolv.conf.

Has anyone seen such behavior?  How do I stop devd and/or dhclient
from nuking resolv.conf?

-- 
Steve
Received on Thu Jul 04 2013 - 05:15:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC