From owner-freebsd-questions Thu Oct 24 20:22:15 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA16543 for questions-outgoing; Thu, 24 Oct 1996 20:22:15 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA16538 for ; Thu, 24 Oct 1996 20:22:12 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id UAA15118; Thu, 24 Oct 1996 20:22:00 -0700 (PDT) Date: Thu, 24 Oct 1996 20:22:00 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Samy Touati cc: FreeBSD Questions Subject: Re: send AT commands to modem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 22 Oct 1996, Samy Touati wrote: > I tried to use the example in the handbook to let chat do the login > process, but without success. > After 30 seconds or so I get: > Oct 22 16:33:35 snoopy pppd[431]: could not set up connection > > I'm calling pppd without argument, and here's my options file: > > > /dev/cuaa1 > 115200 > proxyarp > crtscts > -ac > modem > connect "/usr/bin/chat -f /etc/ppp/login.chat.script" > 142.133.16.120:142.133.16.200 > passive > > Here's my login.chat.script : > > > atd5551111 'CONNECT 115200' "" TIMEOUT 2 ogin:-\\rr-ogin: ****** TIMEOUT > 2 sword: ****** Hm, I hope those aren't real. I blipped them out in case the whole world didn't see those before. Notes: . Does the modem even dial?? . Have you tried lower baudrates, ie 57600? iijppp barfs on my machine if I set it to 115200. . Your problem is perhaps that your chat script is wrong. If for some reason the chat script hangs then pppd will eventually fail (iijppp will do the same thing). Double check your chat script and try again. . You might try removing that TIMEOUT 2 directive and give yourself more time. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major