#
# sample2.dip	Dialup IP connection support program.
#		This script  does only a minimum of work  to establish
#		the link, but contains all the neccessary commands.
#
#		Note 1:	This script uses the "wait 0 xxx"-command.
#			This means, dip will wait forever, if the
#			desired	string does not arrive!
#
#		Note 2: Remeber, the literal '\s' means exactly one
#			space (ASCII 32).
#
#
# Version:	@(#)samples/sample1.dip	1.01	23.April.1995
#
#
# Author:	? 
#
#
#		This program is free software; you can redistribute it
#		and/or  modify it under  the terms of  the GNU General
#		Public  License as  published  by  the  Free  Software
#		Foundation;  either  version 2 of the License, or  (at
#		your option) any later version.
#
#		This program is  distributed in the  hope that it will
#		be useful, but WITHOUT ANY WARRANTY;  without even the
#		implied warranty of MERCHANTABILITY  or  FITNESS FOR A
#		PARTICULAR  PURPOSE.    See  the  GNU  General  Public
#		License for more details.
#
#		You  should have received  a copy  of the  GNU General
#		Public License along with this program;  if not, write
#		to the
#			Free Software Foundation, Inc.
#			675 Mass Ave
#			Cambridge, MA 02139, USA
#

default
get $rmtip 128.83.204.246
get $mtu 200
port tty01
speed 57600
reset
dial T475-9996
wait Username:\s
send MYACCOUNT\r
wait Password:\s
send MYPASSWORD\r
wait 0 >
send terminal\sdownload\r
wait 0 >
send slip\sdefault\r
wait 0 Your\sIP\saddress\sis\s
get $locip remote
mode CSLIP
