Date: Wed, 25 Aug 2021 22:20:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 256767] ifconfig(8) NOAUTO and rc.conf(5): untimely configuration (up) of a network interface when it should be down Message-ID: <bug-256767-227-c7ayqRJtvu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256767-227@https.bugs.freebsd.org/bugzilla/> References: <bug-256767-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256767 --- Comment #8 from Mason Loring Bliss <mason@blisses.org> --- >From /etc/devd.conf: # # Try to start dhclient on Ethernet-like interfaces when the link comes # up. Only devices that are configured to support DHCP will actually # run it. No link down rule exists because dhclient automatically exits # when the link goes down. # notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; media-type "ethernet"; action "service dhclient quietstart $subsystem"; }; # # Like Ethernet devices, but separate because 802.11 require spawning # wlan(4) interface. # attach 0 { device-name "$wifi-driver-regex"; action "/etc/pccard_ether $device-name startchildren"; }; detach 0 { device-name "$wifi-driver-regex"; action "/etc/pccard_ether $device-name stopchildren"; }; notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; media-type "802.11"; action "service dhclient quietstart $subsystem"; }; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256767-227-c7ayqRJtvu>