Re: PPP with multiple numbers and getting modem status
On Sun, 10 Aug 1997, Adrian Johnson wrote:
> I have a couple of questions regarding the PPP configuration.
>
> How should I configure PPP to dial each number in a
> list until it connects.
I'll let someone else handle this one. It may involve writing a perl
script.
> How can I send the modem an AT command and log the result
> after ppp disconnects. I wish to send my modem an ATI6 command
> so I can log the length of the call, connect speed, and
> reason for the disconnect.
This can be done with an entry in /etc/mgetty/mgetty.config. Note that my
modem wants an at&v1 to do the same job.
Here is an extract from mine:-
# LightSpeed 33k
#
port ttyS0
debug 2
modem-type data
speed 57600
rings 2
init-chat "" atz OK at&d2L2 OK
toggle-dtr y
login-time 60
# added as per mail from Adam Shand 13 Jun 97
statistics-chat "" at OK at&v1 OK
statistics-file /var/log/mgetty/mgetty-call-stats
Lindsay
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen <allen@cleo.murdoch.edu.au> Perth, Western Australia
voice +61 8 9316 2486 modem +61 8 9364-9832 32S, 116E
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: