/* Provider Configuration Follows:
Name		FIN_PersonalEunet	; Name for this configuration
DialUp          1
Interface	ppp		; ppp|slip
NeedSerial      1
IPDynamic	1 		; 1 = YES, 0 = NO
IPAddr				; IP-address if static
NSDynamic	1		; 1 = YES, 0 = NO
UseBootP	0		; 1 = YES, 0 = NO
MTU		576		; Provider specific
Phone		03039111	; Provider phone number (without spaces)
HdrCompress	AUTO		; YES|NO|AUTO
PAPHostId			; PPP PAP hostid
PAPPassword			; PPP PAP password, asked if empty
CHAPHisHostId			; PPP CHAP remote hostid
CHAPPassword			; PPP CHAP password, asked if empty
CHAPHostId			; PPP CHAP HostId
*/

/*
 *	$Id$
 *
 * 	AmiTCP/IP Dial Script for Personal Eunet Finland
 *
 *	Copyright © 1996 AmiTCP/IP Group,
 *	                 Network Solutions Development Inc.
 *	                 All rights reserved.
 * 
 */

options results
signal on error

Set WaitForTimeout 30
Set InterCharDelay 100

/* 
 * You can type your login information here: 
 */
YourLogin="YOUR LOGIN"
YourPassword="YOUR PASSWORD"

ShowConsole

call CommandState

call Dial

pause 5

Say "Dialed successfully, please log on."

if ( YourLogin = "YOUR LOGIN" ) then do
  ManualConsole
end
else do
  SendLn "" 
  SendLn ""
  WaitFor "login:"
  SendLn YourLogin
  WaitFor "password:"
  SendLn YourPassword
end

Set NAMESERVER1 192.26.119.7
Set NAMESERVER1 192.26.119.4

Pause 2
exit 0; /* succesfull exit */

error:
Say "PersonalEunet: Command on line" SIGL "returned" RC ":" SerScript.LASTERROR
Exit 10
