Re: network interface monitoring?



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

Attachment: pgpzNUqXWjYnn.pgp
Description: PGP signature



Relevant Pages

  • Re: Shared object "libintl.so.4" not found
    ... > tempt to install from ports or execute certain commands/programs. ... > at upgrading my version of gettext would fix the issue, ... but this bit me and the solution was to re-build gmake. ...
    (freebsd-current)
  • iptables not opening ports after reinstall of lenny
    ... I have reinstalled lenny and used the same iptables used from the previous install from backups. ... After days of trying to get my webserver port 8080 to respond from outside the network and getting connection refused or timed out, I think I've narrowed it down to the ports. ... pkts bytes target prot opt in out source destination ...
    (Debian-User)
  • /libexec/ld-elf.so.1 errors with multiple libs
    ... I was doing alot of manual upgrading of ports to get it ... I noticed my things weren't able to execute, ... for gaim and mplayer ...
    (freebsd-questions)
  • Zombied telnet ports on D3/Linux
    ... Patrick Latimer's program works well for cleaning them up after the ... Luke Bucklin suggested we try disabling xon/xoff for the telnet ports. ... EXECUTE "XONOFF (F" ...
    (comp.databases.pick)
  • Re: newly installed apps not in path?
    ... Whan I install a new application I have to execute it ... It would be good if the post-everything part of ports would do that when needed. ... The rehash has to be executed within the context of your current shell and the only place you have that is the command line. ...
    (freebsd-questions)