network interface monitoring?
- From: Yousif Hassan <yousif@xxxxxxxxxxxxxx>
- Date: Wed, 23 Jan 2008 16:50:22 -0500
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. ;)
NetBSD has ifwatchd - which seems perfectly designed for this use case:
ifwatchd has not been ported to FreeBSD - does FreeBSD have anything
I can't imagine I'm the first to ask this question; it seems almost
everyone with a laptop would want this.
Thanks for your time/attention...!
(please CC me as I am not subscribed here)
freebsd-net@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Prev by Date: Re: routing table lookup algorithm
- Next by Date: Re: network interface monitoring?
- Previous by thread: Re: cvs commit: src/sys/netinet tcp_syncache.c
- Next by thread: Re: network interface monitoring?