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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to