home *** CD-ROM | disk | FTP | other *** search
- Program : MrModemKick
- Author : Jawkins (Jim Hawkins)
- Purpose : To kick your modem every so often to try and make it receive data
- Version : 0.15
- Build date: 11/07/98
- Documents : MoZes. (12/07/98)
-
- Distribution status: Lemonware.
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- You MUST read this document carefully because it is vital to the "safe"
- running of this software. Failure to do so may result in problems
- identified in the disclaimer.
- You have been warned.
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ***********
- DISCLAIMER:
- `-`-`-`-`-`
-
- Neither Myself (MoZes - author of this document and the "Obey" files),
- OR / AND
- Jawkins (author of MrModemKick)
-
- -=DO NOT=- accept =-ANY-= responsibility for anything that may go wrong
- whilst using this software.
-
- Examples are:
- `````````````
- 1. Line drops (Modem hanging up)
- 2. Data loss (Either storage media, or transmitted data via any network
- type-device - eg Modem, ethernet, Econet etc)
- 3. System crashes
- 4. Nuclear explosions
- 5. Lawn mower catastrophes
-
- So, if any of the above occur - don't come back pointing your finger(s) at
- either of us, because we will tell you to go away.
-
- ()PLEASE NOTE(): Numbers 1 and 2 *ARE* possible if you do not read this
- document carefully, so, READ IT!
-
-
-
- If you don't agree, then delete everything which is contained within this zip
- file.
-
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ********
- PURPOSE:
- `-`-`-`-`
-
- Yes, what's this MrModemKick all about you may be asking?
- Ah well, that's a good question: so I suppose I may as well answer it.
-
- Basically, it's been documented that sometimes people have a problem with
- their modem getting stuck or going to sleep - and no more data is getting
- received by the modem. This is a problem because it meant hanging up.
- In the Freenet archive (or Acornnet package - I forget now), this problem was
- in there somewhere, and the answer was to do a SWI "OS_SerialOp" and put 2
- into r1, and &32 into r2: This should then tell the modem to get off its bum
- and do something, like receive some data (assuming it should be).
-
- Now, this is all hunky dory - so you may ask why has Jawkins written this
- module to do it? Ah well, the answer is that he didn't actually *Want* to
- write this module, but I told him that if he didn't, I wouldn't send him a
- Christmas present this year (last year's was a 10p chomp - no , I'm
- serious!). This was enough to get him coding, and whilst he was waiting for
- his sausages to finish cooking, he knocked up MrModemKick.
- This pleased me, and I put him back on my Christmas present list: the only
- problem now is whether I send him 2 5p sweets, 10 1p sweets, 5 2p sweets, or
- another 10p chomp. It's got me in a quandary - very difficult decision,
- but I've got another 6 months to consider it.
-
- So - if we know how to try and fix the modem's sleeping status, then why do
- we need a module to do it for us? Surely we can see something's not quite
- right and fix it ourselves?
- Yes, true - but I wanted it because I don't always sit at my computer whilst
- it's downloading 5MBs of data, because, it is really quite boring. So, I
- tend to go off, make some cocoa, dance in the garden etc.
- Usually this is okay, but sometimes I've come back and the line's dropped
- because the ISPs seen me doing absolutely nothing - or even worse, the line's
- still up and my downloads have timed out because no data was being fetched.
- This annoys me because I usually have to start all again (unless I can
- remember how to begin again where I left off).
- So, the reason MrModemKick was born was to let me go off and do something
- else and leave me with a little hope that if my modem goes to sleep, then
- MrModemKick will beat it with its OS_SerialOp and get it going again.
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- *************
- INSTALLATION:
- `-`-`-`-`-`-`
-
- The installation is for the ANT Internet Suite only - if you're using
- something else, then you'll have to make one yourself; But make sure you
- read this anyway, because you'll see what you need to do to get it running -
- and besides, you can use the supplied Obey files anyway - they're not ANT
- specific or anything - you just need to be able to run them at the specified
- times.
-
- 1. Open up !InetSuite.Utils
- 2. Copy the ModemKick directory contained within this archive into that
- Utils directory filer icon.
- 3. Load up ANT's Configuration program which can be done by clicking on the
- InetSuite bar icon, and double clicking on "Configuration".
- 4. Go to the "Other options" which will open up a window.
- 5. Click on the "Modem connection" input box.
- 6. Type in <InetSuite$Dir>.Utils.ModemKick.Connection
- [If you already have something in that field, then you should create an
- Obey file which runs both MrModemKick and also the existing obey file]
- 7. Close the window and save the settings.
- 8. Open up !InetSuite.Internet.Files
- 9. If there is NOT an existing "HangUp" file inside that directory, then
- just copy the "HangUp" file from the ModemKick directory into the
- !InetSuite.Internet.Files directory.
-
- If there IS an existing file "HangUp" file in there, then you'll have to
- merge MrModemKick's one with the existing one, or create an Obey file
- which runs both the existing one and MrModemKick's one.
-
- 10. Installation is complete.
-
-
- Note: You MUST NOT exclude the HangUp file - it *NEEDS* to be there! - else
- you WILL have problems !
-
- Next time you dial in, MrModemKick should load and start monitoring the
- serial buffer status, and kick as necessary. When you disconnect,
- then MrModemKick should be killed off by the "HangUp" file..
- and will get loaded again when you next connect.
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ******
- USAGE:
- `-`-`
-
- Basically, once MrModemKick is loaded and has been told to kick the modem,
- then you shouldn't have to do *anything*.
-
-
- If nothing has been inserted into the serial input/output buffer within 10
- seconds, then MrModemKick will send a 1cs break signal to the modem to try
- and wake it up.
-
- Also, MrModemKick has the ability to ping your own Ip address (which is
- sotred in the variable <Inet$SerialIpAddr>) every time it kicks the modem.
- This may help some what..
- In the "Connection" file I've provided, this option is set on. If you don't
- want it to, then uncomment the line as it says to.
-
- For information sakes, you can open a task window , or go to the shellcli and
- type *modemkickinfo which will return information about what it's being
- doing.
-
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- **********
- PROBLEMS?:
- `-`-`-`-`
-
- Hopefully there won't be any which arise from using MrModemKick or anything
- else included with its distribution, but because of the nature of the
- program, there could well be some problems.
-
- 1. While I'm using MrModemKick - it often drops the line when I'm dialling
- in. Why?
-
- Answer: Because you're a stupid tart and haven't listened to a word I've
- said. You aren't competent enough to use this program, delete it.
-
- 2. While online, the line drops sometimes when using MrModemKick. Why?
-
- Answer: Well, it *shouldn't* but I have had it happen to me as well, although
- I think it's a pure coincidence, since I was bashing away on my own version
- which simply does OS_SerialOp,2,&32 - and it's never dropped the line
- before. Also I was using Demon's test number at the time.
- If it persists, and stops when you stop using MrModemKick - then I'm sure
- you know what the answer is (and no, its not complain to us like mad).
-
- 3. When the Modem has stuck and there's no data coming down it,
- MrModemKick makes no difference. Why?
-
- Answer: God knows. Problem with ISP? Problem with computer? I really don't
- know, although I've had it happen before whilst not using MrModemKick - so
- it's nothing to do with MrModemKick. If MrModemKick can't sort it, then
- disconnect and dial in again (preferably rebooting your computer in between).
-
- 4. My Dog keeps waking me up in the early hours of the morning wanting to go
- out. I go to see what she's doing, but she doesn't do anything but walk
- around the garden sniffing. Why?
-
- Answer: I'm afraid I don't know, but I wish I did !
-
- 5. I've got a problem which you haven't asked and answered. What should I
- do?
-
- Answer: If it's sensible, email me at MoZes@ccL4.org and I'll see what I can
- do. But if I find out you haven't followed my well thought out documents,
- then I'll give you a nasty reply, because I did quite bluntly, at the start
- of this document, say, to read it thoroughly.
-
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- *************************
- THE CONCEPT OF LEMONWARE:
- `-`-`-`-`-`-`-`-`-`-`-`-`
-
- This concept is derived from the Lemon Enlightenment group, which can be
- viewed at http://www.argonet.co.uk/users/harry.alban/lemons/
-
- Basically, the Lemonware licence is as follows:
-
- 1. Do what you want with it, apart from:
- 1.1 Selling is prohibited unless you donate all profits to the Lemon
- Enlightenment group. Email jim.hawkins@argonet.co.uk for details.
- Profits will go to us travelling around the country advising about
- lemons, and promoting lemon awareness wherever possible.
- We are available for talks - email jim.hawkins@argonet.co.uk - fees
- are negotiable, but be warned - fees are often beyond the budgets of
- even, Microsoft, for instance.
-
- 1.2 Cook it without using either
- 1.2.1 a) a lemon
- b) a lemon substitute, such as a Jif lemon.
-
-
- And that's it.
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- *****************************
- MrModemKick INTO THE FUTURE?:
- `-`-`-`-`-`-`-`-`-`-`-`-`-`-`
-
- We have no plans to do anything with MrModemKick, because
- a) It means Jawkins has to do some work, which he doesn't want to, especially
- since he didn't even want to write it in the first place.
- b) I'd have to update the documents (probably). I don't even like writing
- documents for my own software, let alone somebody else's.
-
-
- So, if you have any ideas for improvements, then, urm, we don't care ;-)
-
- Having said that, Jawkins has now added functions because he's finished
- school for the summer, and is bored. So you never know. If you've got any
- ideas, then email me instead at MoZes@ccL4.org and I'll consider it.
-
- [end of document]