From: arumble@extro.ucc.su.OZ.AU (Anthony Rumble) Subject: Re: Modem dial-in procedures needed Date: Sun, 16 Aug 1992 02:42:24 GMT
lfoard@Turing.ORG (Lawrence C. Foard) writes:
>In article <1992Aug13.052324.8490@athena.mit.edu> chchen@stat.fsu.edu writes:
>>I've seen several discussions about modem dial-in for Linux system. I
>>got two unsolved questions here:
>>
>>I will be greatly appreciated if someone can post his whole procedures
>>to allow modem dial-in.
>The best approach if you are dedicating your modem to this is to
>set the parameters and save them in the modems non volatile
>memory. If I remember right I have the following set-
>echo off
>hangup on dtr being dropped
>no result codes
>answer on one ring
>I saved these and then turned on the switch that makes it ignore
>at commands. This prevents the computer sending garbage to the modem
>and making it do weird things.
This isn't the best way of doing things, as soon as I clean up my
Modem Server, ill post it.. The only problem I am having with it at the moment
is that for some reason, the MNP init characters being sent by the calling
modem seems to make the TTY go wierd, and hang up the modem?!?!?
Haven't worked that one out yet, when I do, ill post it..
>One possible problem you may run into is that getty doesn't hold
>DTR down for long enough, if your modem doesn't always hang up you
>can make a shell script-
>getty1
>#!/bin/sh
>sleep 10
>exec /bin/agetty $*
>this will hold dtr down for 10 seconds.
Also.. Another funny thing ive found, is that if people Drop CArrier..
It usually kills the program that their in.. But NOT the SHELL!!!
Ie.. Say there in ELM, and their line dropps out.. ELM quits fine
But the Shell is still there!.. Echoing to the modem forever, or
until I kill the process..
Is there anything that can be done about this anyone??
-- Anthony Rumble aka SmilieZ "Anything is possible.. If there is enuf money in it"