2 <META HTTP-EQUIV="Content-Type" "text/html; charset=utf-8">
3 <TITLE>Modem status monitor for Linux</TITLE>
4 <META NAME="description" CONTENT="Script which sits in the corner of X
5 desktop (even if no one is logged in) and shows if modem is used">
7 <H1>Modem status monitor for Linux</H1>
9 <A HREF="modem_status.tcl">this script</A> creates a small icon on the
10 desktop, which shows which program (if any) currently uses modem.
11 It also provides a button which, if phone is free, sends signal to
12 mgetty to pick up data or fax call, otherwise sends HUP to current
13 program which uses modem.
15 Script is intended to use in xdm environment and should be started from
16 Xsetup_0, in which case it
18 <LI> run as root, so it is able to send signals to mgetty and pppd
19 <LI> appears on the screen even if nobody is logged in, which might be
20 useful for home machines and small offices.
23 Script is linux-specific, becouse it reads /proc filesystem.
24 Script requires tcl 8.0 or higher. Appropriate version of TclX is
25 reccomended, but if none available, script would use external /bin/kill.
26 <h2>Possible future enhancemend</H2>
28 <LI>Add ability to create lock-file by script itself. It would allow
29 to reserve phone line for voice call, even if, say pppd is trying to
31 <LI>Show number of active TCP connections if current modem user is ppp
32 <LI>Accumulate statistics, how long and which program uses the modem.
33 <LI>Show peer FIDOnet/uucp address if current modem user is ifcico or uucp.
34 Also show if FIDO/uucp link is incoming or outgoing (need somebody with
35 incoming fidonet calls or uucp setup to debug)