network interface monitoring?

Brooks Davis brooks at freebsd.org
Wed Jan 23 14:20:57 PST 2008


On Wed, Jan 23, 2008 at 04:50:22PM -0500, Yousif Hassan wrote:
> Net-gurus:
> 
> I hope this is the right list to write to regarding this question (feel
> free to redirect me to ports@ if that sounds more appropriate).
> 
> I'm looking for a facility to automatically detect network interface
> carrier state changes (a network cable gets plugged/unplugged; a
> laptop's wireless button gets turned on/off; etc.) and then to run a
> user script on it.  The use case, fairly obvious I guess, is to execute
> ifconfig and/or DHCP commands upon carrier detection; this will make my
> laptop that much more useful. ;)

devd already does a lot of this and is used to control dhclient
execution.  ifstated from openbsd is also in ports.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20080123/b9b6001d/attachment.pgp


More information about the freebsd-net mailing list