tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Problem setting up PPP dial-our connection...
@ 1997-11-04 19:10 Guy Dallaire
  0 siblings, 0 replies; only message in thread
From: Guy Dallaire @ 1997-11-04 19:10 UTC (permalink / raw)
  To: tru64-unix-managers

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-04 19:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-04 19:10 Problem setting up PPP dial-our connection Guy Dallaire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox