*BSD News Article 60525


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!gatech!newsfeed.internetmci.com!btnet!zetnet.co.uk!demon!arg-home.net-tel.co.uk
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pppd fails to dial modem
Date: Thu, 25 Jan 1996 02:45:53 GMT
Lines: 26
Message-ID: <822537953.5209@arg-home.net-tel.co.uk>
References: <4e3lkg$2mh@access4.digex.net>
NNTP-Posting-Host: arg-home.net-tel.co.uk
X-NNTP-Posting-Host: arg-home.net-tel.co.uk
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
MIME-Version: 1.0
To: dcmyers@access4.digex.net
X-URL: news:4e3lkg$2mh@access4.digex.net
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

dcmyers@access4.digex.net (David Myers) wrote:
>Can anybody help me understand why pppd (or, more precisely, the chat
>script I invoke on the pppd command line) fails to dial?  Basically what
>happens is that the modem (a 28.8) seizes the line, so that I can hear dial
>tone, but then is quickly cut off.  It never gets a chance to dial.  The
>On-Hook and Carrier-Detect lights just go out.  Is this a cabling problem?
>I know on Macintosh systems that I've configured (including Macs running
>MacBSD), you need a special high-speed serial cable to handle DTR/CTS.  Do
>PCs also need special cables?  Right now, I'm using a straight-through
>DB25-to-DB25 cable.

Straight-through 25-25 cables are what you want (with at least pins 2, 3, 4, 5,
7, 8, 20 wired)

>All my chat script does is:
>
>"" AT
>OK atdt2539500

You need to wait for "CONNECT" after this.  Modems take *any* character typed
after the dial command to mean 'abort this dial attempt', so in your case the
chat script is exiting and pppd is starting to talk PPP, the first character of
which trips the modem - all of which happens before it has managed to dial the
first digit.