Hi, There was a post on this list some time ago as to how to detect changes in interfaces [or was it connections?]. Well, if you're using RedHat 7.1+, you can do simple thing - put your process's pid as the name of a regular file in /var/run/netreport and your process will recieve a SIGIO whenever any of the interfaces change state administratively, i.e. ifconfig'ed up/down. You could then find what happened to which interface by looking through /var/log/messages. This offers an efficient mechanism if someone wants to detect changes in interfaces, without constantly reading the log files.
Note: I haven't tried this yet. I've gathered this by going through the code for /etc/sysconfig/network-scripts/ifup-post, network-functions. I don't know if this is supported in earlier versions of RedHat or other distrbis. Regards, -Varun -- --------------------------------------- Mindframe Software & Services Pvt. Ltd. http://www.mindsw.com --------------------------------------- ================================================ To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org =================================================