[clug] Configuring a modem to answer
Glen Cunningham
glen20 at tpg.com.au
Sun Nov 7 12:25:25 GMT 2004
At 04:01 PM Sunday 7/11/04, Stephen Rothwell wrote:
>On Sat, 06 Nov 2004 18:26:57 +1100 Michael Still <mikal at stillhq.com> wrote:
> >
> > I have a modem which I have configured on a spare phone line to answer
> > and do the mgetty / ppp thing. When I ring the modem from a test
> > machine, I can hear it answer, but there is this consistent beeping over
> > the top about once a second, for about 20 - 30 seconds, and the
> > handshake fails.
> >
> > I assume that I need to put the modem which is answering (a v.90 modem
> > if that matters) into funky ISP answer mode.
>
> >From memory (and mine is gettin worse :-)) mgetty has an option in the
>config file to tell it to answer the phone.
G'day Michael,
We did this a couple of years ago. My memory is even worse than
Stephen's but here is the relevant entry from my notebook ...
<quote>
/etc/inittab
# Dialin modem
t7:2345:respawn:sbin/agetty -w -I 'ATEQ1&D2&C1S0=1\015' 9600 ttyE7 ansi
</quote>
With agetty the -I 'modem-initstring" does the setup. You may note
the very conservative 9600 speed - this was running over very poor 'phone
lines, but IIRC we eventually got it going reliably at 19.2K - you can
sneak up towards 33.6K depending on the quality of your 'phone lines.
mgetty may (not) be a better option - we used agetty 'cause that is
what we had.
Cheers
Glen
More information about the linux
mailing list