[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::mswindows

Title:Microsoft Windows
Moderator:EEMELI::BACKSTROM
Created:Thu Apr 24 1986
Last Modified:Thu May 29 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4731
Total number of notes:24015

4719.0. "Trumpet, PPP, IP hangs" by COMICS::CORNEJ (What's an Architect?) Fri Feb 21 1997 19:44

    This may be the wrong conference - all pointers gratefuly accepted!
    
    I was using Trumpet V2.0B for some time.  Our ACB system moved last
    year and since then I've never got it to work.
    
    The symptoms are that I can ping another node for about 18 times before
    ping gives up.  I can telnet in as far as a username/password andtelnet
    hangs.  I can see the IP packets going in and out for a while,  then
    only outbound packets.         Others are using the same PPP server
    with no problems.
    
    I know that none of the settings have changed in my .ini file (I have
    the origional on anotther disk).  I'm now at a loss to explain how it
    starts to work and then stops.
    
    The modem appears fine (I'm using it now through a simple terminal
    emulator).
    
    Jc
    
T.RTitleUserPersonal
Name
DateLines
4719.1CFSCTC::SMITHTom Smith MRO1-3/D12 dtn 297-4751Sat Feb 22 1997 15:1221
    Two things that come to mind:
    
    	1) Trumpet Winsock is currently at V3.something. You might try
    	   upgrading to at least V2.1f.
    
    	2) You mentioned that your server changed. You didn't mention whether
    	   your modem has changed, whether the server's modem has changed, or
    	   the initialization commands you're sending to your modem or to
    	   your server in your login.cmd. For example, your new server might
    	   be giving you higher speed connections that your old port speed and
    	   flow control settings are not handling properly. Or your new server
    	   may be using XON/XOFF flow control but your server initialization
    	   commands are not guarding XON/XOFF characters in the data stream.
    	   There are any number of possibilities involving speed and flow
    	   control that you would be less likely to see in an interactive
    	   terminal emulation activity than in a data-stream-oriented PPP
    	   session, and if they are different servers, you have essentially
    	   no data on whether your modem and port are properly configured for
    	   the PPP server.
    
    -Tom
4719.2GRUFFY::ZAHORARob ZahoraMon Feb 24 1997 12:4311
    I too am having similar problems - could make somewhat tempermental 
    Trumpet/PPP connections in the past but now can get nothing into PKO.
    This is with both with a registered version of 3.0d and an earlier
    2.0b? version.  At present I can dial in, give the password and then
    things die with a "PPP[C021] state = stopped" note in the log after
    about ten "PPP[C021] SND CONFREQ ..." messages.
    
    Any thoughts as to how to track the problem down would be most
    appreciated.  Since it appears to be important to have the settings
    correct to interact with the server, I was wondering if there is any
    way to query a particular server to see what it's expecting.  
4719.3CFSCTC::SMITHTom Smith MRO1-3/D12 dtn 297-4751Mon Feb 24 1997 16:5336
    re: .-1
    
    There's no way I know of to query the modem on the other end, which
    sounds like your most likely problem. For that, you just have to
    carefully examine your own modem and port settings. Despite the phrase
    "Hayes compatible", modem command sets vary quite a bit. Of the 2
    modems I've had the pleasure to work with using PPP, the appropriate
    initialization strings (@port-speed) have been:
    
    	DEC DF296@19200: AT&FM0X5%F2%M1&C1&D2&S1$D5$K1$M2S23=60S7=60
    	USR Sportster 33600 FAX modem@115200: AT&F1M0&S1S7=60
    
    always using RTS/CTS (hardware) flow control.
    
    If the server is a recent version of a DECserver 700 with dynamic
    address assignments, I use the following, which may be overkill, but
    works:
    
    Local> set port ppp lcp passive enable
    Local> set port ppp lcp acfc enable
    Local> set port ppp lcp mtu 256             <- a better choice might be
    Local> set port ppp lcp mru 256                296 with matching Trumpet
    Local> set port ppp lcp pfc enable             settings and MSS=MTU-40
    Local> set port ppp lcp map 0           	<- this server uses RTS/CTS.
    Local> set port ppp lcp enable                 for XON/XOFF, use "A0000"
    Local> set port ppp ipcp compression enable    [these are NOT for your port]
    Local> set port ppp ipcp address enable     <- dynamic addresses
    Local> set port ppp ipcp enable
    Local> set port ppp ipxcp enable
    Local> set port ppp atcp enable
    Local> c ppp
    
    "Local> help set port ppp" will let you see the options.
    I think "show port ppp" will show you the default settings.
    
    -Tom
4719.4taCOMICS::CORNEJWhat&#039;s an Architect?Tue Feb 25 1997 08:3711
    Thanks for the ideas - it isn't the modem settings because with the
    SAME modem settings I can access other things OK (even the dumb tty
    port that Trumpet gives me works Ok for anything that I can do that
    doesn't require a VT100 or better).
    
    Newer versions of Trumpet have EXACTLY the same symptoms (I tried at
    the weekend).  I don't have access to the PPP server I connect to - I
    believe it is an Ultrix system.
    
    Jc
    
4719.5CFSCTC::SMITHTom Smith MRO1-3/D12 dtn 297-4751Wed Feb 26 1997 02:1233
    re: .4
    
>    Thanks for the ideas - it isn't the modem settings because with the
>    SAME modem settings I can access other things OK (even the dumb tty
>    port that Trumpet gives me works Ok for anything that I can do that
>    doesn't require a VT100 or better).
 
    Be careful with that assumption. If you have speed, flow control, or
    buffering problems because of inappropriate modem or port settings, it
    might work perfectly well with something as undemanding as slow human
    keystrokes and short text responses containing only printable
    characters, but choke when you try to push a big hunk of (binary) data
    through it. Can you, for example, do anything like a high-speed ZMODEM
    or KERMIT from the _same_ server? If you could post some actual
    information about your modem, port settings, modem initialization
    string, Trumpet setup parameters, and the commands you're sending in
    your Trumpet login.cmd, that might help.
       
>    Newer versions of Trumpet have EXACTLY the same symptoms (I tried at
>    the weekend).  I don't have access to the PPP server I connect to - I
>    believe it is an Ultrix system.
 
    Then that eliminates the Trumpet software as the problem. I would then
    look more closely at your modem and port configuration and at your
    Trumpet configuration. It could still be something having to do with
    the server initialization (either in your login.cmd or at the other
    end), but without knowing anything about what the server is or what
    you're saying to it, I don't have any specific suggestions there. Does
    the server display an identification banner when you connect to it? A
    copy of the contents of your Trumpet login window showing the
    connection dialog might help.
                                 
    -Tom
4719.6CFSCTC::SMITHTom Smith MRO1-3/D12 dtn 297-4751Wed Feb 26 1997 02:3253
    Here's my Trumpet transcript, for example:
    
Trumpet Winsock Version 3.0 Revision C
Copyright � 1996 distributed by
Trumpet Software International Pty Ltd.
A.C.N. 070 065 860
Under Licence from the Copyright owners.
All Rights Reserved.
This copy of the Trumpet Winsock is registered to
"Me".
PPP ENABLED
PPP driver COM2 Baud rate = 115200 Hardware handshaking Compression enabled
IP buffers = 32 Packet buffers = 16
Auto-login initiated
Executing script e:\utility\winsock\trumpet\login.cmd.
PPP DISABLED
atz
OK
at&F1M0&S1S7=60
OK
atdT<number>
CONNECT 26400/ARQ/V34/LAPM/V42BIS

Username> myname
Password> 
Local -450- Attempting to authenticate user: [email protected]
Local -451- Authentication successful[H[J
Network Access SW V1.4 for DS700-08 (FT91A.09-33)
28800 bps PPP/Slip dialin server

(c) Copyright 1994, Digital Equipment Corporation - All Rights Reserved

Please type HELP if you need assistance

Local> set port ppp lcp passive enable
Local> set port ppp lcp acfc enable
Local> set port ppp lcp mtu 256
Local> set port ppp lcp mru 256
Local> set port ppp lcp pfc enable
Local> set port ppp lcp map 0
Local> set port ppp lcp enable
Local> set port ppp ipcp compression enable
Local> set port ppp ipcp address enable
Local> set port ppp ipcp enable
Local> set port ppp ipxcp enable
Local> set port ppp atcp enable
Local> c ppp
Local -561- Starting SLIP or PPP datalink session
Script completed
PPP ENABLED
My IP address = 16.x.y.z


4719.7still having problemsGRUFFY::ZAHORARob ZahoraWed Feb 26 1997 13:26187
    Tom, thanks for the suggestions.

    I'm still not having any luck on getting a Trumpet PPP connection to
    work here at PKO.  This particular setup is to a Hayes Optimus 28.8
    modem connected to a DECserver 700.  I've tried making connections with
    my home  WFWG 3.11 (with Win32S extensions) system using an Intel 14.4
    faxmodem and  through a laptop with a Megahertz 28.8 card.   In both
    cases I have my own IP address and do a manual dialin with only a PAP
    password dialog.  No scripts are used for login.  Apparently there is a
    direct connection to the  server since no "Local>" prompts are
    available to do any "set ports" or whatever.

    Not many users are connecting here via Trumpet - I guess many problems
    in the  past have encouraged most people to go to a RAS connection. 
    But I'd prefer not to have to "upgrade" to W95 or NT at this point to
    get the RAS  capability.  So Trumpet seems to be my only option.

    I suspect that the problems I'm having have to do with the proper setup
    of the DECserver and it's modem.  Unfortunately, on-site support for
    the Trumpet connection does not have a high priority here. Does anyone
    have a working setup who might be able to supply us with settings and
    whatever that will work?  Also, is there anyway I can try my laptop on
    someone elses site to verify at least that my Trumpet software works? 

    Following is a session log from the laptop with everything but the
    comm messages logged.  I've added some comments as to what's going on
    in brackets.  Any suggestions would be welcome.



Trumpet Winsock Version 3.0 Revision D
Copyright � 1996 distributed by
Trumpet Software International Pty Ltd.
A.C.N. 070 065 860
Under Licence from the Copyright owners.
All Rights Reserved.
This copy of the Trumpet Winsock is registered to
"Rob Zahora".
PPP[C021] state = starting
PPP[C023] state = starting
PPP[8021] state = starting
PPP[C223] state = starting
PPP ENABLED
PPP[C021] SND CONFREQ ID=01 LEN=24 MRU(0100) ACCM(00000000) MAGIC(0003CE8D) PFC ACFC
PPP[C021] state = reqsent
PPP driver COM4 Baud rate = 38400 Hardware handshaking
PPP[C021] RCV CONFREQ ID=01 LEN=24 MRU(0100) ACCM(00000000) MAGIC(0003CE8D) PFC ACFC
PPP[C021] SND CONFACK ID=01 LEN=24 MRU(0100) ACCM(00000000) MAGIC(0003CE8D) PFC ACFC
PPP[C021] state = acksent
IP buffers = 32 Packet buffers = 16
My IP = 16.122.80.23 netmask = 255.255.255.0 gateway = 16.122.80.254
PPP[C021] RCV CONFACK ID=01 LEN=24 MRU(0100) ACCM(00000000) MAGIC(0003CE8D) PFC ACFC
PPP[C021] state = opened
PPP[C023] SND AUTHREQ ID=01 LEN=12 data 00 06 50 50 50 4C 54 44
PPP[C023] state = reqsent
PPP[C023] RCV AUTHREQ ID=01 LEN=12 data 00 06 50 50 50 4C 54 44
PPP[C023] SND AUTHACK ID=01 LEN=4
PPP[C023] state = acksent
PPP[C023] RCV AUTHACK ID=01 LEN=4
PAP Login Accepted:
PPP[C023] state = opened
PPP[8021] SND CONFREQ ID=01 LEN=10 IPADDR(107A5017)
PPP[8021] state = reqsent
PPP[8021] RCV CONFREQ ID=01 LEN=10 IPADDR(107A5017)
PPP[8021] SND CONFACK ID=01 LEN=10 IPADDR(107A5017)
PPP[8021] state = acksent
PPP[8021] RCV CONFACK ID=01 LEN=10 IPADDR(107A5017)
PPP[8021] state = opened

[hit "Manual login" under the "Dialler" pull-down menu]

Manually dialing.
AFTER LOGGING IN, TYPE THE <ESC> KEY 
TO RETURN TO NORMAL SLIP/PPP PROCESSING.
PPP[8021] state = starting
PPP[C223] Internal error: down state = starting
PPP[C023] state = starting
PPP[C021] state = starting
PPP[8021] state = initial
PPP[8021] state = starting
PPP[C223] state = initial
PPP[C223] state = starting
PPP[C023] state = initial
PPP[C023] state = starting
PPP[C021] state = initial
PPP[C021] state = starting
PPP DISABLED

[give at&v to show modem settings]

at&v
ACTIVE PROFILE:  
B1 E1 L2 M1 Q0 V1 W1 X4  &B1 &C1 &D2 &G0 &L0 &P0 &Q0 &R0 &S1 &X0 &Y0 )C0
%A013 %C1 %G1  \A3 \C0 \G0 \J0 \K5 \N3 \Q3 \T000 \V1 \X0  -J1 "H3 "O032
S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:008 S07:060 S08:002
S09:006 S10:014 S11:095 S12:050 S18:000 S25:005 S26:001 S37:017 S72:000

STORED PROFILE 0:
B1 E1 L2 M1 Q0 V1 W1 X4  &B1 &C1 &D2 &G0 &L0 &P0 &Q0 &R0 &S1 &X0 )C0
%A013 %C1 %G1  \A3 \C0 \G0 \J0 \K5 \N3 \Q3 \T000 \V1 \X0  -J1 "H3 "O032
S00:000 S02:043 S03:013 S04:010 S05:008 S06:008 S07:060 S08:002
S09:006 S10:014 S11:095 S12:050 S18:000 S25:005 S26:001 S37:017 S72:000

TELEPHONE NUMBERS:
&Z0= 
&Z1= 
&Z2= 
&Z3= 

OK

[give modem dial string and have modem connect]

atdt36832
CARRIER Transmit: 28800 Receive: 28800 V.34

PROTOCOL: LAP-M

COMPRESSION: V.42bis

CONNECT 38400

[hit esc and get "Trumpet Winsock PPP login" window.  Type password and hit
 "Ok"]

PPP ENABLED
PPP[C021] SND CONFREQ ID=02 LEN=24 MRU(0100) ACCM(00000000) MAGIC(00050336) PFC ACFC
PPP[C021] state = reqsent
PPP[C021] SND CONFREQ ID=03 LEN=24 MRU(0100) ACCM(00000000) MAGIC(00051110) PFC ACFC
PPP[C021] SND CONFREQ ID=04 LEN=24 MRU(0100) ACCM(00000000) MAGIC(00051E5C) PFC ACFC
PPP[C021] SND CONFREQ ID=05 LEN=24 MRU(0100) ACCM(00000000) MAGIC(00052C11) PFC ACFC

[hit Netscape icon to start Netscape - there is some disk activity but no
 Netscape window comes up]

WSAStartup(0101,190F:8022)
PPP[C021] SND CONFREQ ID=06 LEN=24 MRU(0100) ACCM(00000000) MAGIC(000543B1) PFC ACFC
PPP[C021] SND CONFREQ ID=07 LEN=24 MRU(0100) ACCM(00000000) MAGIC(00055033) PFC ACFC
PPP[C021] SND CONFREQ ID=08 LEN=24 MRU(0100) ACCM(00000000) MAGIC(00055C95) PFC ACFC
PPP[C021] SND CONFREQ ID=09 LEN=24 MRU(0100) ACCM(00000000) MAGIC(000569E0) PFC ACFC
PPP[C021] SND CONFREQ ID=0A LEN=24 MRU(0100) ACCM(00000000) MAGIC(00057729) PFC ACFC
PPP[C021] SND CONFREQ ID=0B LEN=24 MRU(0100) ACCM(00000000) MAGIC(00058473) PFC ACFC
PPP[C021] state = stopped

[things sit here until the "Dialler" "Bye" pulldown is hit]

Executing script c:\util\trumpet\bye.cmd.
PPP[8021] Internal error: down state = starting
PPP[C223] Internal error: down state = starting
PPP[C023] Internal error: down state = starting
PPP[C021] state = starting
PPP[8021] state = initial
PPP[8021] state = starting
PPP[C223] state = initial
PPP[C223] state = starting
PPP[C023] state = initial
PPP[C023] state = starting
PPP[C021] state = initial
PPP[C021] state = starting
PPP DISABLED

OK
ath
OK

Script completed
PPP ENABLED
PPP[C021] SND CONFREQ ID=0C LEN=24 MRU(0100) ACCM(00000000) MAGIC(00060A65) PFC ACFC
PPP[C021] state = reqsent
PPP[C021] RCV CONFREQ ID=0C LEN=24 MRU(0100) ACCM(00000000) MAGIC(00060A65) PFC ACFC
PPP[C021] SND CONFACK ID=0C LEN=24 MRU(0100) ACCM(00000000) MAGIC(00060A65) PFC ACFC
PPP[C021] state = acksent
PPP[C021] RCV CONFACK ID=0C LEN=24 MRU(0100) ACCM(00000000) MAGIC(00060A65) PFC ACFC
PPP[C021] state = opened
PPP[C023] SND AUTHREQ ID=02 LEN=12 data 00 06 50 50 50 4C 54 44
PPP[C023] state = reqsent
PPP[C023] RCV AUTHREQ ID=02 LEN=12 data 00 06 50 50 50 4C 54 44
PPP[C023] SND AUTHACK ID=02 LEN=4
PPP[C023] state = acksent
PPP[C023] RCV AUTHACK ID=02 LEN=4
PAP Login Accepted:
PPP[C023] state = opened

[Netscape window now appears, sometime later I hit "Stop" on the
 Netscape tool bar and then close Netscape.  I have not reproduced
 the log past this point]

4719.8CFSCTC::SMITHTom Smith MRO1-3/D12 dtn 297-4751Wed Feb 26 1997 14:1921
    re: .7
    
    You're sure this isn't a RAS-only server, right?
    
    I can't tell what all the modem settings mean, but one thing I do see
    is that you have a fixed port speed of 38400 but you have a connect
    speed of 28800 with compression enabled. That means that data will be
    incoming to you through a pipe that is up to 4 X 28800 = 115200 wide
    and trying to fit through at 38400 straw. Change your port speed to
    115200 and make sure that you have RTS/CTS flow control enabled on both
    your port and your modem. That's probably not the only thing, or even the
    main thing, but it will eventually cause problems.
    
    I'm a little confused by the order of events (that's nothing new), but
    the trouble may start with that "internal error" immediately after
    you hit "Manual login". After you connect and hit <ESC>, Trumpet seems
    to be repeatedly requesting an LCP PFC and ACFC configuration and
    getting no response, finally giving up. Instead of hitting <ESC> after
    the "CONNECT 38400", have you ever tried hitting <CR> once or twice?
    
    -Tom