Fw: For internal network use

Mike Bilow mikebw at colossus.bilow.com
Thu Nov 9 08:35:04 EST 2000


Use the "play" command, which is part of the "sox" package of audio tools,
to send any sound file out the audio port.  From the command line, You can
make the computer beep or play Tchaikovsky's 1812 Overture -- it's all
just binary data at that point.

In order to detect network traffic, you could set up the "ipchains"
facility and have it log events which should trigger action.  Then just
have a process watch the log file.

-- Mike


On 2000-10-31 at 08:06 +0800, zoqix wrote:

> I've a gateway doing IP Masq and it's connected to a few clients using
> hub. I need a program to constantly check the clients. If they try to
> access other clients on the internal network, I need to run a script
> to make a beep sound. If they try to access external world (internet),
> I need to run another script to make another type of sound. Anyone can
> help by telling me where to get this program? or how to write this
> program? (I'm new to linux, so please help)


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list