From owner-freebsd-questions Tue Oct 22 13:35:33 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA00305 for questions-outgoing; Tue, 22 Oct 1996 13:35:33 -0700 (PDT) Received: from glacier.wise.edt.ericsson.se (glacier-ext.wise.edt.ericsson.se [193.180.251.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA00298 for ; Tue, 22 Oct 1996 13:35:28 -0700 (PDT) Received: from egg.lmc.ericsson.se (egg.lmc.ericsson.se [142.133.32.1]) by glacier.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-0.9) with SMTP id WAA16415; Tue, 22 Oct 1996 22:34:37 +0200 (MET DST) Received: from chicago.lmc.ericsson.se by egg.lmc.ericsson.se (4.1/LME-2.2) id AA15730; Tue, 22 Oct 96 16:34:37 EDT Received: (from lmcsato@localhost) by chicago.lmc.ericsson.se (8.7/8.7) id QAA14129; Tue, 22 Oct 1996 16:34:33 -0400 (EDT) Date: Tue, 22 Oct 1996 16:34:32 -0400 (EDT) From: Samy Touati X-Sender: lmcsato@chicago To: Christoph Kukulies Cc: Igor Vinokurov , questions@FreeBSD.org Subject: Re: send AT commands to modem In-Reply-To: <199610221805.TAA22853@gilberto.physik.rwth-aachen.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi, 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: testppp TIMEOUT 2 sword: test123 Thanks. Samy On Tue, 22 Oct 1996, Christoph Kukulies wrote: > > re, > > > > How I can send AT commands to modem from shell/scripts? > > chat(8) is your friend. > > > > > -- > > Igor Vinokurov > > > > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de >