tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* pppd chat modem dialout setup
@ 2001-04-10 19:52 Trevor Osatchuk
  0 siblings, 0 replies; only message in thread
From: Trevor Osatchuk @ 2001-04-10 19:52 UTC (permalink / raw)
  To: tru64-unix-managers

Hello there.  I have read many archives about this exact process.  I have
tried all of the advice given on those posts but still to no avail.  I have
a 4.0d system with an external modem attached to /dev/tty00.  I enabled ppp
in the kernel and added nppp=2 to sysconfigtab.  I made an entry into
/etc/remote:

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

With this I can 'tip modem1' and connect up to a remote computer using AT
commands.  It works.  So, I know that I have the correct port and all of the
invloved parties are functioning properly.  However, when I try to get a
connection using pppd it doesn't dial out.  This is the command I am using:

/etc/ppp> pppd /dev/tty00 38400 connect 'chat -v -f /etc/ppp/chatscript'
/etc/ppp> ps ax | grep ppp
  1572 ??       S        0:00.01 sh -c chat -v -f /etc/ppp/chatscript
  1573 ??       S        0:00.01 pppd /dev/tty00 38400 connect chat -v -f
/etc/t
  1578 ??       S        0:00.01 chat -v -f /etc/ppp/chatscript
  1575 ttyp0    S  +     0:00.01 grep ppp

/etc/ppp> cat chatscript
 atdt4290000
CONNECT
login: mylogin
CODE: "\qmypassword"
"$ " "\qpppd"

/etc/ppp> cat chat-script
ABORT BUSY \
ABORT 'NO CARRIER' \
"" ATZ OK
ATDT4290000 CONNECT \
name: mylogin \
CODE: mypassword

I have tried both of these chat scripts.  I think the second one
'chat-script' is correct, but the other one is an example given in the
release notes for 4.0d.  The problem is this, the modem TR light goes on and
when I grep for ppp processes as above I see them working away, but there is
no dialing going on.  Is it the chat script?  Is there some other file I
need to edit?  After I get this to dial then I have to add route.  This
particular computer is on a network and needs to be in communication with
the network at all times.  If I add default route to the /etc/ppp/options
file will this give me a route there?  With no arguments specifying an IP,
will get one assigned?

Thanks,

Trevor Osatchuk
Process Solutions Canada Ltd.
Support and Integration Analyst
(780) 452-2227 Ext. 286
trevor.osatchuk@pscl.com

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-10 19:52 pppd chat modem dialout setup Trevor Osatchuk

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