From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8ef2cc5b8298477e,start X-Google-Attributes: gid111c93,public From: no@spam.plea.se (Krist van Besien) Subject: Chat won't work with cablemodem on XLT300 Date: 1998/03/15 Message-ID: <350c00fa.4172242@news.casema.net>#1/1 X-Deja-AN: 334280948 Organization: N.V. Casema Internet Newsgroups: comp.os.linux.alpha 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 --------------------------------------------------------