Is the new dhclient code supposed to down and delete an interface when it has been disconnected from the media? For instance: I boot up, use my wireless for a while (which dhclient handles), then disable my wireless card, and plug in the cable to my ethernet jack (bge0). I see bge0 come up, and get an IP. Everything looks good. Now, I unplug the cable from bge0, and enable my wireless again. Wireless gets an IP, but bge0 is still 'up' and has an IP configured, along with the routes that go with it. I have to manually do an 'ifconfig bge0 down ; ifconfig bge0 delete', then restart dhclient on ath0 (wireless) or disable/enable ath0 to force it to try again.. Is this the expected behaviour? Do I need to tweak some settings? Here's what my rc.conf looks like (relevant parts): ifconfig_bge0="DHCP" ifconfig_ath0="DHCP ssid MYSSIDHERE wep wepkey 0xWEPKEYHERE weptxkey 1" devd_enable="YES" Running -current from about a week ago. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------Received on Wed Jun 22 2005 - 13:03:55 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC