From owner-freebsd-questions Mon Sep 1 12:07:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA15588 for questions-outgoing; Mon, 1 Sep 1997 12:07:56 -0700 (PDT) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA15580 for ; Mon, 1 Sep 1997 12:07:52 -0700 (PDT) Received: from mail.cs.virginia.edu by mail.virginia.edu id aa12851; 1 Sep 97 15:07 EDT Received: from archive.cs.Virginia.EDU (root@archive.cs.Virginia.EDU [128.143.136.9]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id PAA15961; Mon, 1 Sep 1997 15:06:42 -0400 (EDT) Received: from stretch.cs.Virginia.edu (atf3r@stretch-fo.cs.Virginia.EDU [128.143.136.14]) by archive.cs.Virginia.EDU (8.7.5/8.7.3) with SMTP id PAA23485; Mon, 1 Sep 1997 15:06:42 -0400 (EDT) Received: by stretch.cs.Virginia.edu (4.1/SMI-2.0) id AA06070; Mon, 1 Sep 97 15:06:40 EDT Date: Mon, 1 Sep 1997 15:06:40 -0400 (EDT) From: "Adrian T. Filipi-Martin" Reply-To: adrian@virginia.edu To: Mike Cc: freebsd-questions@freebsd.org Subject: Re: the signature In-Reply-To: <2.2.32.19970901064026.0068f3bc@elite.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 31 Aug 1997, Mike wrote: > 2. I'm not sre how do go about making a chat script > can u give me an example? Here's what I use to dial-up and connect. I had to su to cat it because it is read protected for the obvious reaons. Replace the stuff in {}'s with your site specific values. > : adrian@lorax; su root -c "cat /etc/ppp/chat" > Password: > ABORT "NO CARRIER" ABORT BUSY > "" ATZ OK ATM3S11=50DT{MY_NUMBER} > CONNECT "" login: {MY_USERID} Password: \q{MY_PASSWORD} > bash$ "exec /usr/sbin/pppd" > : adrian@lorax; This file is used by pppd with the following entry in my options file: > connect "/usr/bin/chat -v -f /etc/ppp/chat" hope this helps, Adrian -- adrian@virginia.edu ---->>>>| If I were stranded on a desert island, and System Administrator --->>>| I could only have one OS for my computer, Neurosurgical Visualzation Lab -->>| it would be FreeBSD. Think about it..... http://www.nvl.virginia.edu/ ->| http://www.freebsd.org/