Subject: Re: pppd/chat problems with NetBSD1.4 on Quadra800
To: =?ISO-8859-1?Q?Lasse_Hiller=F8e_Petersen?= <lassehp@imv.au.dk>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 07/26/1999 14:06:24
On Mon, 26 Jul 1999, Lasse Hiller=F8e Petersen wrote:

> The modem is a Hayes Optima288 on tty00. My chat script starts with ATZ a=
nd
> expects an OK, but it seems that chats output never reaches the modem
> device.
>=20
> Thinking this could be some problem with the device, I tried
> cu -ltty00
>=20
> using cu I can talk fine with the modem, so the problem must be somewhere=
 else.
> chat is r-xr-x-r-x and pppd is r-sr-xr-x, those permissions should be ok.

Perhaps the first character is being eaten. Try setting the timeout
lower, and then sending AT again if it fails. Like so:

TIMEOUT 10
''      AT
OK-AT-OK        'AT&FE0&C1&D0 L1W2'
TIMEOUT 100

=20
> chat script:
> ECHO ON
> ABORT BUSY
> ABORT 'NO DIAL'
> TIMEOUT 90 "" ATZ
> SAY "Sending modem init string\n"
> "" AT&FE0W1L1S7=3D75S0=3D0
> "" ATDT99999999
> TIMEOUT 90
> CONNECT '\r\r\r'
> serid:-\r-serid:-\r-serid: *****
> sword? *******
> LanRover>    ppp
>=20
> Enlightenment will be received with gratitude!
>=20
> -Lasse
>=20
>=20
>=20