Re: Script to check whether modem telephone line in use --- how?

1999-04-03 Thread Hamish Moffatt
On Thu, Apr 01, 1999 at 06:42:40PM +0930, Mark Phillips wrote: Oh, and I tested out my idea for a script by using minicom. First I did atm2 OK but I couldn't hear anything. Then I did That just turns the speaker always-on while you are online. If you're not online, it does

Re: Script to check whether modem telephone line in use --- how?

1999-04-03 Thread John Hasler
Hamish writes: Perhaps your modem is not reporting NO DIALTONE -- make sure you have set ATX4 or so (assuming Rockwell-based modem). Or perhaps it is reporting NO DIAL TONE, in which case you need to put ABORT NO DIAL TONE in your /etc/chatscripts/provider file. -- John Hasler [EMAIL

Re: Script to check whether modem telephone line in use --- how?

1999-04-02 Thread G. Crimp
On Thu, Apr 01, 1999 at 06:42:40PM +0930, Mark Phillips wrote: [major snip] a while. But from what Bud Rogers has said, it would seem the abort should happen straight away.) Yes, it should. I don't have problems with interfering with other modems here, but there are other people

Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Mark Phillips
This morning I typed pon to dial up a ppp connection, only to hear noise on my modem to idicate that the line was already in use. I quickly typed poff, but it was too late --- I had already killed my father's connection to the internet. He was not pleased as I had killed his connection near the

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Brian Servis
for modem use. In the States these can be found at most electronic/phone stores for about US$5-$15. Just a thought, Brian *- On 1 Apr, Mark Phillips wrote about Script to check whether modem telephone line in use --- how? This morning I typed pon to dial up a ppp connection, only to hear noise

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Mark Phillips wrote: This morning I typed pon to dial up a ppp connection, only to hear noise on my modem to idicate that the line was already in use. I quickly typed poff, but it was too late --- I had already killed my father's connection to the internet. He was not pleased as I had

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Mark Phillips writes: Anyway, I don't want this to happen again, so I would like, if possible, to write a script which does nothing except listen to the modem line for a few seconds so that I can hear whether someone else is using it. I think I may have misunderstood you earlier. Your father

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Robert V. MacQuarrie writes: Put this is /usr/local/bin and call it ispon It isnt anything fancy but it should work for you until ppp's maintainer, Philip Hands, has time to maybe add a check into ppp itself. when run it'll simply tell you if pppd is or isn't running. pppd already locks the

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Mark Phillips
Put this is /usr/local/bin and call it ispon It isnt anything fancy but it should work for you until ppp's maintainer, Philip Hands, has time to maybe add a check into ppp itself. when run it'll simply tell you if pppd is or isn't running. Woopse, I didn't explain myself clearly

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Mark Phillips
I think I may have misunderstood you earlier. Your father is using a different computer with a different modem? Yes. Different computer, different modem, different operating system, phone socket in a different room. I don't really see why your modem going off-hook should have killed his

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Bud Rogers
Mark Phillips [EMAIL PROTECTED] writes: I hope this explains now why I was trying to write a script that would actually allow me to hear what was on the phoneline, enabling me to determine if my father was actually using it. (At the moment the only way is to physically go upstairs and check

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Bud Rogers
Mark Phillips [EMAIL PROTECTED] writes: It is already there. Here is the start of my chatscript: ABORT BUSY ABORT NO CARRIER ABORT VOICE ABORT NO DIALTONE ABORT NO ANSWER ATZ OK ATDT8222 CONNECT '' etc etc So why doesn't it work?? Hmm. Hmm. Good question. With those

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Hamish Moffatt
On Wed, Mar 31, 1999 at 11:41:47PM -0600, Bud Rogers wrote: Mark Phillips [EMAIL PROTECTED] writes: I hope this explains now why I was trying to write a script that would actually allow me to hear what was on the phoneline, enabling me to determine if my father was actually using it. (At

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Mark Phillips
Mark Phillips [EMAIL PROTECTED] writes: It is already there. Here is the start of my chatscript: ABORT BUSY ABORT NO CARRIER ABORT VOICE ABORT NO DIALTONE ABORT NO ANSWER ATZ OK ATDT8222 CONNECT '' etc etc So why doesn't it work?? Hmm. Hmm. Good

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Mark Phillips
On Wed, Mar 31, 1999 at 11:41:47PM -0600, Bud Rogers wrote: Mark Phillips [EMAIL PROTECTED] writes: I hope this explains now why I was trying to write a script that would actually allow me to hear what was on the phoneline, enabling me to determine if my father was actually using

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Carl Johnson
John Hasler [EMAIL PROTECTED] writes: Mark Phillips wrote: This morning I typed pon to dial up a ppp connection, only to hear noise on my modem to idicate that the line was already in use. I quickly typed poff, but it was too late --- I had already killed my father's connection to the

Re: Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread David Wright
Quoting Mark Phillips ([EMAIL PROTECTED]): On Wed, Mar 31, 1999 at 11:41:47PM -0600, Bud Rogers wrote: Mark Phillips [EMAIL PROTECTED] writes: I hope this explains now why I was trying to write a script that would actually allow me to hear what was on the phoneline, enabling me to

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Leget
Simple solution, we have another phone downstairs ( i camp with the pc and modem upstairs). I bought myself a privacy adapter which is basically a phone splitter wich disables textension A if B is in use ( and vice versa), thus i do not get disconnected when they pick the phone up downstairs

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Ken Scott
Some sort of line in use indicator would be better. I presume you mean a hardware led indicator or something like that? I could do that, though I'd prefer a software solution if there is one. At your local Radio Shack, along with the LED line-in-use indicator, they also have a device that

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Hamish Moffatt writes: In my experience, the noise of the line being picked and up dropped by the other modem will interfere with the session -- it will almost certainly cause the modems to retrain, and may cause them to hang up. This depends very much on the particular modem. The one I have

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Bud Rogers writes: The most your father should hear is maybe a click when it picks up and another when it hangs up. Curious. Does it actually try to dial out while he's on the phone? His father is using a modem, not talking. It is possible that the modem is so badly designed that it

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Mark Phillips writes: Why does pon kill his connection? Pon is just simple script: #!/bin/sh /usr/sbin/pppd call ${1:-provider} Well because pon merrily walses in, spewing out phone numbers and other noise onto the line. Your modem should drop the connection when it fails to get dialtone.

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Kent West
Mark Phillips wrote: This morning I typed pon to dial up a ppp connection, only to hear noise on my modem to idicate that the line was already in use. I quickly typed poff, but it was too late --- I had already killed my father's connection to the internet. He was not pleased as I had

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread jfoltz
Isn't this what the line: ABORT NO CARRIER should do in the chat script? On Thu, Apr 01, 1999 at 10:43:45AM +0930, Mark Phillips wrote: This morning I typed pon to dial up a ppp connection, only to hear noise on my modem to idicate that the line was already in use. I quickly typed poff,

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread Kent West
John Hasler wrote: Robert V. MacQuarrie writes: Put this is /usr/local/bin and call it ispon It isnt anything fancy but it should work for you until ppp's maintainer, Philip Hands, has time to maybe add a check into ppp itself. when run it'll simply tell you if pppd is or isn't running.

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Carl Johnson writes: You might want to look into the 'connect' program from 'http://www.caesium.fr/freeware/connect/'. Interesting, but it doesn't address Mark's problem. It also requires that pppd be configured in an idiosyncratic fashion. It tracks multiple connect attempts so none trample

Re: Script to check whether modem telephone line in use --- how?

1999-04-01 Thread John Hasler
Kent West writes: But isn't this the case only if the provider (or whatever) file directly references the serial port rather than a symlink like /dev/modem? Which is why such a symlink should never exist. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI