Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 1996 14:39:40 +0200 (MET DST)
From:      grog@lemis.de (Greg Lehey)
To:        tcg@ime.net
Cc:        questions@FreeBSD.org (FreeBSD Questions)
Subject:   Re: FreeBSD 2.1 Help
Message-ID:  <199607071239.OAA16401@allegro.lemis.de>
In-Reply-To: <31DFAC3F.14F4@ime.net> from "Gary Chrysler" at Jul 7, 96 08:23:27 am

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Chrysler writes:
>
> Greg Lehey wrote:
>>
>> Gary Chrysler writes:
>>>
>>> Sridhar Krishnan wrote:
>>>>
>>>> Thanks taking the time to respond.
>>>>
>>>> 1. cu -l cuaa0
>>>> says "connected". Then when I type "ATDTE1Q0", I am expecting "OK".
>>>> Nothing happens. When I quit out with ~. it takes a minute to disconnect.
>>>> Yet another person aksed me disable PnP (plug and Play) option. I do not
>>>> know how-to. I'll give it a try. It is an internal modem and it is hard
>>>> to diagnose without any lights. I also tried cu -x9 -l cuaa0. Did not
>>>> help since there is no response from the modem. It is an MWave 28.8
>>>> Internal modem.
>>>>
>>>
>>> Combining commands and settings in the same string makes many brain
>>> dead modems choke and puke!
>>
>> I haven't seen this one, but as somebody else pointed out, he's trying
>> to dial.
>>
>>> For testing, Set you modem speaker on (most are default on)
>>> ATM1L3 <enter> (should get OK)
>>> ATDT <enter> (should get dialtone)
>>
>> The very first thing I do with a new modem is even simpler:
>>
>> AT
>>
>> Every modem should come back right away with OK.  *Then* you can start
>> testing the modem.
>>
>> Greg
>
> Yes, Greg that will work just fine as long as your modem is in
> echo mode (ATE1), Else it will not work! Yes, From the factory
> most modems have ATE1 set versus ATE0.
> Not something I like to bank on.. (I don't trust manufactures)
>
> I find ATDT is much easier to rely on. It can be heard, Even
> if your modem speaker is set to ATM0 you will get a `click` from
> the modem.

Those are some good arguments.  I suppose this is a classical case of
YMMV: I just tried it out (on a BSD/OS box, thus the different device
name.  On FreeBSD I just have ISDN connections).

$ cu -s 38400 -l /dev/tty01
Connected.
at
OK
atm3
OK
atl3
OK
atdt
NO CARRIER
ate0
OK

OK

OK
at
OK

And yes, I got a click from the speaker.  But I didn't get a dial
tone, for some reason, just a disconnect tone after a while.  The
trouble with this method is that it requires you to have a dial tone.
On the other hand, I'm prepared to accept that not all modems will
still generate an OK when ate0 is set, so you'll probably have to try
a number of these methods.  But you can be pretty sure that nothing is
getting to the modem in the first place if you have -clocal set.

Greg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607071239.OAA16401>