Modem Negotiated Speed

"Robert W. Canary" (rwcanary@ohiocounty.net)
Thu, 16 Jul 1998 09:54:19 +0200


Gert Doering wrote:
> 
> Hi,
> 
> Robert W. Canary wrote:
> > I need to get the negotiated modem speed of the each dialin line when
> > a dialin contection is made, how I do get it *everytime*?
> 
> Make sure your modem sends it in the CONNECT string (or in form of the
> "CARRIER" string before CONNECT).  Then mgetty will log it, at least in
> the mgetty log file and to syslog:
> 

How do I "-make sure-",  is this something that is normally configured
with AT commands?
If not where does that leave me?  Obviously, replacing 9 modems is not
an option. :-)

> Jul 16 05:42:17 greenie mgetty.test[16056]: data dev=tty5d, pid=16056, caller='89557943', conn='115200/X.75 64000/LAPB', name='', cmd='/usr/lib/uucp/uucico', user='Ueisa'
> 
> This format is the ZyXEL response:
> 
>   CONNECT <dte speed>/<protocol> <line speed>/<error control>
> 
> here:
>   CONNECT  115200   / X.75        64000     / LAPB
> 
> Other modems will report something like "CONNECT 28800/REL", in which case
> the log file will contain "conn='28800/REL'".
>