HelpFiles Newsgroups TechNotes Home Network AccountManager Search

t0064: Trumpet Winsock for Windows 3.x

 

00387: Trumpet Winsock Configuration
Revision Date: 07/29/97

Click Here if you are using MindSpring Version 1.1 Access Panel with version 2.0b of Trumpet Winsock.
This will take you to the correct page for that version of Trumpet.

In order for Trumpet Winsock to be used as your dialer, you must first configure it with information specific to your MindSpring account.

  1. Select Setup under the File menu.
	IP address: 		0.0.0.0

	Netmask: 		0.0.0.0

	Default gateway: 	0.0.0.0

	Name server: 		207.69.188.185 
 				207.69.188.186 

	Time server: 		Leave blank.

	Packet vector: 		00

	MTU: 			576	This should be TCP MSS plus 40. 

	TCP RWN: 		2144	This should be TCP MSS times 4.

	TCP MSS: 		536	Demand Load Timeout (secs): 5

	TCP RTO MAX: 		60

	Internal PPP: 		Check this.

	SLIP Port: 		Your Com Port, e.g. Com2

	Baud Rate: 		Type 19200 for a 14.4 modem, or 38400 for 28.8.

	Hardware handshake: 	Check this.

	Van Jacobsen 		Leave unchecked
	CSLIP Compression:

	Online Status 		None
	Detection:

 

  1. Set the PPP OPTIONS under the File menu to use Password Authentication Options.(PAP)

    Username: Type your User ID, eg. ms######

    Password: Type your mailbox password

  2. Select Options from the Dial menu, and then select:

  3. Automatic login & logout on demand.

  4. Use standard SLIP settings for parity & word size.

  5. Select Edit Scripts from the Dial menu.

  6. Edit LOGIN.CMD by deleting everything after the line "wait 30 dcd"

 

Your LOGIN.CMD file should look like this:

#
# Trumpet Winsock 2.1 Login.cmd
#
# Copyright (C) 1994,1995 Peter R. Tattam &
# Trumpet Software International Pty Ltd (TSI)
# All rights reserved.
#
# Unless TSI has given prior written consent to such use,
# no permission is granted to distribute or otherwise make available
# to the public modified versions of this script for commercial purposes.
# Any permitted distribution of modified versions of the script must
# retain the copyright notice at the start of this file and must clearly
# identify those parts of the file which have been modified.
#
#trace on
#
# set up some strings for dialing up^?
#
if ![load $number]
if [query $number "Enter your dial up phone number"]
save $number
end
end
if ![load $username]
if [username "Enter your login username"]
save $username
end
end
if ![load $password]
if [password "Enter your login password"]
save $password
end
end
$modemsetup = "&c1&d2"
$prompt = ">"
$userprompt = "sername:"
$passprompt = "assword:"
$slipcmd = "slip"
$addrtarg = "our address is"
$pppcmd = "ppp"
$pppready = "PPP."
%attempts = 10

###############################################
# timeouts for various sections of the script #
###############################################
#
# timeout for busy tone... adjust this until the BUSY string is detected.
#
%busytimeout = 10
#
# time between successive busy attempts.
#
%busywait = 30
#
# time to wait for a CONNECT string to be received
#
%connecttimeout = 60
#^?
# time to wait until DCD is detected
#
%onlinetimeout = 60
#
# time to wait for username & password prompts
#
%logintimeout = 60
#
# time to wait for server prompt to appear
#
%prompttimeout = 30
#
# time to wait for a SLIP address to be parsed
#
%addresstimeout = 30
#
#
#
#
#----------------------------------------------------------
#
# initialize modem
#
status "Initializing modem..."
output "atz"\13
if ! [input 5 OK\n]
message "Modem is not responding"
abort
end
#
# setup our modem commands
#
output "at"$modemsetup\13
if ! [input 10 OK\n]
message "Modem is not responding"
abort
end
#^?
# send phone number
#
%n = 0
repeat
%n = %n + 1
if %n > %attempts
message "Too many dial attempts"
abort
end
status Dialling $number...(attempt %n)
output "atdt"$number\13
%busy = [input %busytimeout BUSY]
if %busy
status "The line is busy...pausing for a while"
sleep %busywait
%ok = 0
else
%ok = [input %connecttimeout CONNECT]
end
until %ok
input 10 \n
#
# wait till it's safe to send because some modem's hang up
# if you transmit during the connection phase
#
wait 30 dcd
#
# now we are finished.
#

All questions regarding the use and setup of the Public Domain utility Trumpet Winsock can be directed to

trumpet-info@trumpet.com.au or trumpet-support@trumpet.com.au

You can download the latest version of Trumpet Winsock at: http://www.trumpet.com

You can also ftp Trumpet Winsock from: ftp://ftp.trumpet.com/winsock/twsk30c.exe

 

Copyright © 1997 MindSpring Enterprises, Inc.