]> www.wagner.pp.ru Git - sites/home_page.git/blob - software/tcl/modem_status.html
Changed all links to 45.free.net to wagner.pp.ru
[sites/home_page.git] / software / tcl / modem_status.html
1 <HTML><HEAD>
2 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
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"> 
6 </HEAD><BODY>
7 <H1>Modem status monitor for Linux</H1>
8
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.
14 <P>
15 Script is intended to use in xdm environment and should be started from
16 Xsetup_0, in which case it 
17 <OL>
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.
21
22 </OL>
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>
27 <OL>
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
30 dial out.
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)
36 </OL>
37
38 </BODY>
39 </HTML>