network interface monitoring?
- From: Yousif Hassan <yousif@xxxxxxxxxxxxxx>
- Date: Wed, 23 Jan 2008 16:50:22 -0500
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. ;)
NetBSD has ifwatchd - which seems perfectly designed for this use case:
http://www.freebsd.org/cgi/man.cgi?query=ifwatchd&apropos=0&sektion=0&manpath=NetBSD+4.0
ifwatchd has not been ported to FreeBSD - does FreeBSD have anything
similar?
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)
--Yousif
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: network interface monitoring?
- From: Bruce M. Simpson
- Re: network interface monitoring?
- From: Brooks Davis
- Re: network interface monitoring?
- 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?
- Index(es):
Relevant Pages
|