* Chat won't work with cablemodem on XLT300
@ 1998-03-15 5:00 Krist van Besien
0 siblings, 0 replies; only message in thread
From: Krist van Besien @ 1998-03-15 5:00 UTC (permalink / raw)
Hello,
I'm trying to get my XLT300 box on the internet, using a cable modem
and ppp.
the cablemodem expetcts you to send ATZ, on which it responds with OK,
then you are supposed to send ATDT4 on which it responds with CONNECT
and immediately starts sending PPP frames... (authentification is
using PAP)
I've tried everything with minicom, and it seems to work fine,
everything starting with AT yields an OK, except for ATDT$ which gives
on a connect plus losts of unreadable data... Everything els gives an
ERROR.
Now to automate I try the following script:
#!/bin/sh
#this script is /etc/ppp/ppp-on-casema
exec chat -v \
TIMEOUT 3 \
'' '\rATZ' \
'OK-+++\c-OK' 'ATH0' \
TIMEOUT 30 \
'OK' 'AT&F' \
'OK' 'ATD4' \
'CONNECT' ''
This script I found on the homepage of one of the employees of my
internet provider, and is supposed to work, on an intel machine.
To build my connection I try to use the following script:
#!/bin/sh
#
DIALER_SCRIPT=/etc/ppp/ppp-on-casema
/bin/setserial /dev/modem spd_vhi
/usr/sbin/pppd /dev/modem 115200 user Pkvbesien defaultroute \
connect $DIALER_SCRIPT
And it just wont work.
When I start my script, I see the lights receive lights on my modem
flicker, so there are some bytes getting across, but all the
/var/log/messages file has to say is the following:
Mar 15 17:34:14 kvbesien chat[602]: timeout set to 3 seconds
Mar 15 17:34:14 kvbesien chat[602]: SEND (^MATZ^M)
Mar 15 17:34:14 kvbesien chat[602]: expect (OK)
Mar 15 17:34:17 kvbesien chat[602]: alarm
Mar 15 17:34:17 kvbesien chat[602]: send(+++)
Mar 15 17:34:17 kvbesien chat[602]: expect (OK)
Mar 15 17:34:20 kvbesien chat[602]: alarm
Mar 15 17:34:20 kvbesien chat[602]: failed
I keep on getting the impression that chat somehow doesn't see my
modem at all.
Anybody knows something that might help?
Krist (who wants to get rid of his WIN95 machine...) van Besien
--------------------------------------------------------
Krist van Besien besien(at)casema.net
Delft, the Netherlands
--------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-03-15 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-15 5:00 Chat won't work with cablemodem on XLT300 Krist van Besien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox