Subject: Re: PPP woes; won't dial.
To: Matthew <mtheobalds@mac.com>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 10/12/2001 14:42:40
Try putting an ATE0 in your chat script - looks like the modem
echoed your dial command when you were expecting the CONNECT
string.

On Fri, 12 Oct 2001, Matthew wrote:

> Hi, all.
> 
> I bought the modem and it arrived today, in a nice shiny box which reads 
> "Jetway Xmodem", how exciting.
> 
> However, I tried to start it up with my ppp scripts without luck. So I 
> deleted them all and started from the beginning.
> 
> In /etc/ppp I have:
> 
> 	options
> 	ppp-down
> 	ppp-up
> 
> Each of those files reads:
> 
> # /etc/ppp/options
> 	passive
> 	crtscts
> 	defaultroute
> 	lock
> 	lcp-echo-interval 30
> 	lcp-echo-failure 10
> 	netmask 255.255.255.0
> 	domain pol.co.uk
> 	mtu 1500
> 	name theobalds.fsnet.co.uk
> 	disconnect /etc/ppp/ppp-down
> 
> # /etc/ppp/ppp-up
> 
> 	#!/bin/sh
> 
> 	/usr/sbin/pppd /dev/tty00 57600 connect '/usr/sbin/chat -v "" ATZ 
> OK ATDT08440402001 CONNECT "" ogin: theobalds.fsnet.co.uk word: 
> <censored>' \
> 	crtscts defaultroute noipdefault modem
> 
> # /etc/ppp/ppp-down
> 
> 	#!/bin/sh
> 	
> 	if [ -f /var/run/ppp0.pid ]; then
> 	        echo -n killing pppd...
> 	        kill `cat /var/run/ppp0.pid`
> 		echo done
> 		else
> 		echo ppp already is down 1>&2
> 	fi
> 
> Okay, so I type '/etc/ppp/ppp-up', and I get the following in 
> /var/log/messages:
> 
> 	Oct 12 22:26:22 sonic pppd[23056]: pppd 2.4.0 started by matthew, uid 0
> 	Oct 12 22:26:23 sonic chat[23058]: send (ATZ^M)
> 	Oct 12 22:26:23 sonic chat[23058]: expect (OK)
> 	Oct 12 22:26:24 sonic chat[23058]: ATZ^M^M
> 	Oct 12 22:26:24 sonic chat[23058]: OK
> 	Oct 12 22:26:24 sonic chat[23058]:  -- got it
> 	Oct 12 22:26:24 sonic chat[23058]: send (ATDT08440402001^M)
> 	Oct 12 22:26:24 sonic chat[23058]: expect (CONNECT)
> 	Oct 12 22:26:24 sonic chat[23058]: ^M
> 	Oct 12 22:26:24 sonic chat[23058]: ATDT08440402001^M^M
> 	Oct 12 22:26:24 sonic chat[23058]: ERROR^M
> 	Oct 12 22:27:09 sonic chat[23058]: alarm
> 	Oct 12 22:27:09 sonic chat[23058]: Failed
> 	Oct 12 22:27:09 sonic pppd[23056]: Connect script failed
> 	Oct 12 22:27:11 sonic pppd[23056]: Exit.
> 
> So (and I'm no expert here) it looks like the modem just doesn't like 
> the ATDT command. It doesn't even give a NO CARRIER or NO DIALTONE (or 
> words to that affect) error.
> 
> So... what could be going wrong here? Is this a sympton of a winmodem? I 
> talked to it with 'cu -p modem' so it doesn't look like it is a winmodem.
> 
> I have minicom installed if anyone would be kind enough as to tell me 
> what to type to get a better diagnosis.
> 
> At no point, by the way, does the modem give a dialling tone. I tried it 
> on Mac OS (briefly) and couldn't get it to give one there, either; if 
> that helps a diagnosis, at all.
> 
> Thanks for any help here. :]
> 
> ( A very puzzled ) ~ Matthew
> 
> 

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com   |
|  & World Cruiser | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
----------------------------------------------------------------------