Version: 3.0d | Cost: $25 USD | www.trumpet.com.au |
The classic 3.1x dialup IP, PPP stack. It is configured to dial either my laughing. As a precursor just log in manually with Trumpet and note the commands and responses required to log into your ISP, and then transfer it to your login script. When you have gotten to the PPP command and want trumpet winsock to leave the manual command mode to start PPP, just type <ESC>
When configuring multiple ISP scripts, one trick to be aware of is that you can only have one login.cmd for every trumpwsk.exe. Even if you point trumpwsk.exe to a new .ini file with a new windows item and the command line, it will still use the same login.cmd file. But this is not a problem, just import the required strings from the 2 trumpwsk.ini files.
So here is my configuration 2 Windows Program Items.
Work Dialin c:\apps\trumpet\tcpman.exe -inipath=c:\apps\trumpet\jtec\jtec.ini Ozemail c:\apps\trumpet\tcpman.exe
add the following lines (names changed to protect the innocent :-) to one of the ini files : c:\apps\trumpet\jtec\jtec.ini
dns=203.12.119.4 domain=jtec.com.au ... [default vars] $username=username $number=12345678 $isp="jtec"
and the corresponding lines from c:\apps\trumpet\trumpwsk.ini which is the default ini file location when you load tcpman.exe from that directory.
dns=203.2.193.124 domain=ozemail.com.au ... [default vars] $username=pascoedj $number=1234567 $isp="ozemail"
Now you just need the play with the login.cmd file: Here is some extracts. One trick to note is that you need to "load" the variables that you want to use. Trumpet will then look for those variables in the .ini file that it found (either by default in trumpwsk.ini or the one you provide on the command line).
load $isp load $number load $username if $isp = "ozemail" display Dialing OzEmail.\n output "atdt"$number\r input 60 CONNECT wait 60 dcd display Connected. Logging in...\n input 60 Welcome output PPP\r input 30 sername: output $username\r input 30 assword: output XXXXX\r input 10 witching display PPP access enabled.\n else display Dialing Jtec.\n output "atdt"$number\r input 60 CONNECT wait 60 dcd display Connected. Logging in...\n input 30 ogin: output $username\r input 30 assword: output XXXXX\r end
![]() |
![]() |