From owner-freebsd-hackers Thu May 4 11:16:25 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA18444 for hackers-outgoing; Thu, 4 May 1995 11:16:25 -0700 Received: from trout.sri.MT.net (trout.sri.MT.net [204.182.243.12]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA18424 for ; Thu, 4 May 1995 11:16:21 -0700 Received: (from nate@localhost) by trout.sri.MT.net (8.6.11/8.6.11) id MAA16185; Thu, 4 May 1995 12:20:31 -0600 Date: Thu, 4 May 1995 12:20:31 -0600 From: Nate Williams Message-Id: <199505041820.MAA16185@trout.sri.MT.net> In-Reply-To: faulkner@mpd.tandem.com (Boyd Faulkner) "Re: slattach!!!!!!!" (May 4, 1:03pm) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: faulkner@mpd.tandem.com (Boyd Faulkner) Subject: Re: slattach!!!!!!! Cc: freebsd-hackers@freefall.cdrom.com Sender: hackers-owner@FreeBSD.org Precedence: bulk > > 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. > > > Can you use chat to grab variables? Chat's job is to dial into a machine and login. No more, no less. If you need extended functionality then expect may be the tool for you, but for most folks it works pretty well. > 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. This sounds like a job for ..... 'PPP'. SLIP isn't designed for this sort of thing, and you have to add all sorts of additional scripts and funky stuff to make it work, where it's all builtin with PPP. Does your ISP support PPP? Nate