Problem setting up PPP dial-our connection...

From: Guy Dallaire <gdallaire_at_gustave.revenu.gouv.qc.ca>
Date: Tue, 04 Nov 1997 14:10:38 -0500 (EST)

Hi,

I'm trying to set up a PPP dial-out connection under Digital Unix 4.x. I
once successfully set up a PPP dial IN connection with DU 3.x and the
public domain ppp 2.2 software and a dial out connection with ppp 2.2 under
linux. The modem is an hayes compatible 'Presticom14.4 fax/data modem'. I'm
pretty sure it is set up OK. It is working well under windoze.

For some reason, it does not work.

Here is what I did:

1) Defined a simple modem in /etc/remote just to test basic connectivity
with the modem like this:

modem1:dv=/dev/tty00:br#38400:pa=none

I can 'tip modem1' without any problems and send commands to configure the
modem. I noticed on the console that I sometimes get an acerint: ace0:
input silo overflow: 63

The command file /dev/tty00 gives me:

/dev/tty00: character special (35/0) ACE_SLU #0 terminal #0 errors =
28/0 mo
dem_control off

(BTW, what is this error=28/0 stuff ?)

When I try to use pppd and chat to dial-out, I issue the following command:

pppd /dev/tty00 38400 connect `chat -v -f chat-script`

My script hangs ! Here is the script as well as what gets logged by syslogd
(I used the local2.debug syslog.conf option, and DEC does not tell you that
the ppp they ship is compiled with debug) nothing shows with daemon.debug
so I had to use local2.debug...

Content of chat-script:

ABORT BUSY \
ABORT 'NO CARRIER' \
"" ATZ OK
ATDT96438386 CONNECT \
name: MyUsername \
CODE: MyPassword

As you can see, at this point, I just want to connect to the host, other
configurations issues will be solved later.

Here is syslogd output:

Nov 4 13:12:09 QDIS01 chat[4432]: abort on (BUSY)
Nov 4 13:12:09 QDIS01 chat[4432]: abort on (NO CARRIER)
Nov 4 13:12:09 QDIS01 chat[4432]: send (ATZ^M)
Nov 4 13:12:09 QDIS01 chat[4432]: expect (OK)
Nov 4 13:12:54 QDIS01 chat[4432]: alarm
Nov 4 13:12:54 QDIS01 chat[4432]: Failed
Nov 4 13:12:54 QDIS01 pppd[4417]: pppd started by root, uid 0
Nov 4 13:12:55 QDIS01 pppd[4417]: Connect script failed
Nov 4 13:12:55 QDIS01 pppd[4417]: Exit.

The modem does not reply OK to the ATZ string that I send and it times out.
 What is wrong ? If I use tip, I can type the ATZ command and I receive the
OK string. Do I have to put a \r after the ATZ I send ?

Ohter question: Is there a way to use environment variables in the chat
scripts ? We are using a SecureID server and the password is never the same
for each connection, I would like to put it in an environment variable
before calling the script.

Thanks !

P.S.: If you can send me some chat scripts examples, I would be happy.
Received on Tue Nov 04 1997 - 20:43:50 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT