From owner-freebsd-hackers Thu May 4 11:04:11 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA17993 for hackers-outgoing; Thu, 4 May 1995 11:04:11 -0700 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA17980 for ; Thu, 4 May 1995 11:04:05 -0700 Received: from olympus by devnull.mpd.tandem.com (8.6.8/8.6.6) id NAA06082; Thu, 4 May 1995 13:03:48 -0500 Received: by olympus (4.1/TSS2.1) id AA22603; Thu, 4 May 95 13:03:55 CDT From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9505041803.AA22603@olympus> Subject: Re: slattach!!!!!!! To: nate@trout.sri.MT.net (Nate Williams) Date: Thu, 4 May 1995 13:03:54 -0500 (CDT) Cc: kelly@fsl.noaa.gov, gibbs@estienne.CS.Berkeley.EDU, rgrimes@gndrsh.aac.dev.com, daveh@CSUA.Berkeley.EDU, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199505040458.WAA14083@trout.sri.MT.net> from "Nate Williams" at May 3, 95 10:58:40 pm X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 1228 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > > Aye. You should all just give up and succomb to expect. Actually, > > expect is a really interesting tool, and has a lot more fascinating > > uses than just automating your PPP connections. > > Actually, in the case of PPP/SLIP, I think expect is overkill. Chat > does the job very well and is already part of the system. I have not > yet found a case where expect works any better than a decent CHAT > script, and there are good examples of complex CHAT scripts in the > O'Reilly UUCP books. > > > Nate > Can you use chat to grab variables? I have an internet provider that assigns a different IP address everytime you slip in. (You can get a dedicated line but they cost more.) The address is assigned by which port you call in on and that is determined by a rotary. Worse, you can be attached to any of a number of systems so you need to grab both the IP address assigned to you and the name of the machine you attached to so you can add the route. Can chat do all of this? Boyd -- _______________________________________________________________________ Boyd Faulkner faulkner@isd.tandem.com _______________________________________________________________________