CTCI-W32 Problem Reporting

"Helping Us to Help You"




Introduction



So.... You need help with CTCI-W32, do you?



Well.... before we can help you,   you need to first help us!



What do we mean by that?

Simple.

We mean that you need to provide to us the information we need in order to determine what you're doing wrong.

It hardly does any good to post a question to the group asking:

    Subject:   HELP!!
    Message:   I can't get CTCI-W32 working!!
               What am I doing wrong??

Silly, right? Certainly no one would ask such a stupid question, right?

Wrong.   :(

Unfortunately the types of questions we sometimes get are just about as bad as the example above.

Oh we don't get such silly questions all the time, but it happens often enough that we decided to create this web page to explain just what type of information we need in order to be able to better help you figure out what is causing your problem.

That is to say, before we can give you the information you need to fix your problem, you need to give us the information we need to figure out what your problem is!

If you don't give us any information to work with (or not enough information) then it becomes next to impossible to figure out what your problem is!

Okay.   Enough of that.   You get the general idea.


The Information We Need


Here's the information we suggest you provide in order to have the best chance of getting the help you need:


  1. If you are using v3.1 or greater of CTCI-W32, then attach a copy of your 'TT32Test' test output and proceed to step 7.

    Otherwise if you're using v2.1 or older, proceed to step 2.



  2. The version of WinPCap you're using:   2.3,   3.0,   3.1   etc.

  3. ipconfig -all

    C:\>ipconfig -all
    
    Windows 2000 IP Configuration
    
            Host Name . . . . . . . . . . . . : fish
            Primary DNS Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Broadcast
            IP Routing Enabled. . . . . . . . : Yes
            WINS Proxy Enabled. . . . . . . . : No
    
    Ethernet adapter Local Area Connection:
    
            Connection-specific DNS Suffix  . :
            Description . . . . . . . . . . . : Intel(R) PRO/100 S Desktop Adapter
            Physical Address. . . . . . . . . : 00-B3-02-DF-8B-60
            DHCP Enabled. . . . . . . . . . . : No
            IP Address. . . . . . . . . . . . : 192.168.0.1
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . :
            DNS Servers . . . . . . . . . . . :
    
    C:\>
    


  4. route print

    C:\>route print
    ===========================================================================
    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x2 ...00 b3 02 df 8b 60 ...... Intel(R) PRO Adapter
    0x6000004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
    ===========================================================================
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0   67.250.156.127  67.250.156.127       1
        67.250.128.51  255.255.255.255   67.250.156.127  67.250.156.127       1
       67.250.156.127  255.255.255.255        127.0.0.1       127.0.0.1       1
       67.255.255.255  255.255.255.255   67.250.156.127  67.250.156.127       1
            127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
          192.168.0.0    255.255.255.0      192.168.0.1     192.168.0.1       1
          192.168.0.1  255.255.255.255        127.0.0.1       127.0.0.1       1
        192.168.0.255  255.255.255.255      192.168.0.1     192.168.0.1       1
            224.0.0.0        224.0.0.0   67.250.156.127  67.250.156.127       1
            224.0.0.0        224.0.0.0      192.168.0.1     192.168.0.1       1
      255.255.255.255  255.255.255.255      192.168.0.1     192.168.0.1       1
    Default Gateway:    67.250.156.127
    ===========================================================================
    Persistent Routes:
      None
    
    C:\>
    


  5. The  tt32info.txt  file output from a  tt32info  run:

    Begin TT32Info, version 1.0.2.132 ...
    Copyright 2002, Software Development Laboratories (aka 'Fish' (David B. Trout)).
    See source code for license information.
    
    Running on Windows 2000, version 5.0.2195 Service Pack 3
    
    Using TunTap32.dll, version: 1.0.3.372 ...
    Copyright 2002, Software Development Laboratories (aka 'Fish' (David B. Trout)).
    See source code for license information.
    
    Using FishPack.dll, version: 1.0.3.291 ...
    Copyright 2002, Software Development Laboratories (aka 'Fish' (David B. Trout)).
    See source code for license information.
    
    
    Detected adapters:
    
    szAdapterName       = Packet_{01A24CB9-4CF0-4931-8C6F-38F1A263B6D6}
    szDescription       = Intel(R) PRO Adapter
    bPhysAddr           = 00-B3-02-DF-8B-60
    dwLinkType          = 0
    dwLinkSpeed         = 1000000
    dwIPAddr            = 192.168.0.1
    dwIPAddrMask        = 255.255.255.0
    dwGatewayIPAddr     = 0.0.0.0
    dwGatewayIPAddrMask = 0.0.0.0
    
    szAdapterName       = Packet_{210CF12D-4D88-4410-947F-2275927C59C5}
    szDescription       = WAN (PPP/SLIP) Interface
    bPhysAddr           = 00-00-00-00-00-00
    dwLinkType          = 0
    dwLinkSpeed         = 0
    dwIPAddr            = 0.0.0.0
    dwIPAddrMask        = 0.0.0.0
    dwGatewayIPAddr     = 0.0.0.0
    dwGatewayIPAddrMask = 0.0.0.0
    
    ** tt32info: FishPackOpenAdapter("Packet_{210CF12D-4D88-4410-947F-2275927C59C5}") failed; rc=2: The
    system cannot find the file specified.
    
    The following DosDevices are defined:
    $VDMLPT1
    A:
    ACPI#FixedButton#2&daba3ff&0#{4afa3d53-74a7-11d0-be5e-00a0c9062857}
    ACPI#PNP0303#3&61aaa01&0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}
    ACPI#PNP0401#3&61aaa01&0#{97f76ef0-f883-11d0-af1f-0000f800845c}
    
       ...
    
    PACKET_{01A24CB9-4CF0-4931-8C6F-38F1A263B6D6}
    PACKET_{210CF12D-4D88-4410-947F-2275927C59C5}
    
       ...
    
    Volume{87946146-b785-11d6-920e-806d6172696f}
    WanArp
    WMIDataDevice
    WMIServiceDevice
    Z:
    {01A24CB9-4CF0-4931-8C6F-38F1A263B6D6}
    {66EA5C63-F4EC-4343-B980-0CFC9728F27F}
    {96CC3871-6A07-4308-B6C3-D08AFD65D248}
    {A24B52D3-BB04-4B8B-9508-FAC359C06D4E}
    {B6ACD5A5-F60D-45E8-92F3-7583AEDD9B84}
    {D408859E-6E0C-461F-941F-A87BAFDAC84F}
    
    End TT32Info.
    


  6. The  debugout.txt  file output from a  tt32test  run:

    ** MonitorThread: TunTap32.DLL version 1.0.3.372  (1.0.3.372)
    Copyright 2002, Software Development Laboratories (aka 'Fish' (David B. Trout)).
    See source code for license information.
    
    ** CTunTap::OpenTunTap: m_bVirtualIPAddr = 192.168.0.4
    ** CTunTap::OpenTunTap: m_bVirtualMACAddr = 00-00-5E-00-01-04
    ** CTunTap::OpenTunTap: m_bGatewayIPAddr = 192.168.0.1
    ** CTunTap::OpenTunTap: m_bGatewayMACAddr = 00-B3-02-DF-8B-60
    ** HandleIPPacket: Someone is PINGing Herc!
    ** Sending following PING reply from 192.168.0.4 to 192.168.0.1:
     0000  4500003C AE200000 80010B4B C0A80004  *E..<. .....K....*
     0010  C0A80001 0000525C 02000100 61626364  *......R\....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767761 62636465 66676869           *uvwabcdefghi    *
    
    ** HandleIPPacket: Someone is PINGing Herc!
    ** Sending following PING reply from 192.168.0.4 to 192.168.0.1:
     0000  4500003C AE210000 80010B4A C0A80004  *E..<.!.....J....*
     0010  C0A80001 0000515C 02000200 61626364  *......Q\....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767761 62636465 66676869           *uvwabcdefghi    *
    
    ** HandleIPPacket: Someone is PINGing Herc!
    ** Sending following PING reply from 192.168.0.4 to 192.168.0.1:
     0000  4500003C AE220000 80010B49 C0A80004  *E..<.".....I....*
     0010  C0A80001 0000505C 02000300 61626364  *......P\....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767761 62636465 66676869           *uvwabcdefghi    *
    
    ** HandleIPPacket: Someone is PINGing Herc!
    ** Sending following PING reply from 192.168.0.4 to 192.168.0.1:
     0000  4500003C AE230000 80010B48 C0A80004  *E..<.#.....H....*
     0010  C0A80001 00004F5C 02000400 61626364  *......O\....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767761 62636465 66676869           *uvwabcdefghi    *
    
    ** Ping: Sending Ping from 192.168.0.4 to 198.182.196.56...
     0000  45000036 00000000 40012F2C C0A80004  *E..6....@./,....*
     0010  C6B6C438 08006962 00010001 61626364  *...8..ib....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767778 797A                        *uvwxyz          *
    
    ** Ping: Sending Ping from 192.168.0.4 to 198.182.196.56...
     0000  45000036 00000000 40012F2C C0A80004  *E..6....@./,....*
     0010  C6B6C438 08006961 00010002 61626364  *...8..ia....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767778 797A                        *uvwxyz          *
    
    ** Ping: Sending Ping from 192.168.0.4 to 198.182.196.56...
     0000  45000036 00000000 40012F2C C0A80004  *E..6....@./,....*
     0010  C6B6C438 08006960 00010003 61626364  *...8..i`....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767778 797A                        *uvwxyz          *
    
    ** HandleIPPacket: Herc got a reply to one of its PINGs!
    ** PING reply from 198.182.196.56 to 192.168.0.4:
     0000  45000036 2BB60000 EE015575 C6B6C438  *E..6+.....Uu...8*
     0010  C0A80004 00007162 00010001 61626364  *......qb....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767778 797A                        *uvwxyz          *
    
    ** HandleIPPacket: Herc got a reply to one of its PINGs!
    ** PING reply from 198.182.196.56 to 192.168.0.4:
     0000  45000036 2BB80000 EE015573 C6B6C438  *E..6+.....Us...8*
     0010  C0A80004 00007160 00010003 61626364  *......q`....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767778 797A                        *uvwxyz          *
    
    ** HandleIPPacket: Herc got a reply to one of its PINGs!
    ** PING reply from 198.182.196.56 to 192.168.0.4:
     0000  45000036 2BB70000 EE015574 C6B6C438  *E..6+.....Ut...8*
     0010  C0A80004 00007161 00010002 61626364  *......qa....abcd*
     0020  65666768 696A6B6C 6D6E6F70 71727374  *efghijklmnopqrst*
     0030  75767778 797A                        *uvwxyz          *
    
    
    ** TunTap32.dll Stats:
    
       131072  Size of Kernel Capture Buffer
        65536  Size of DLL I/O Buffer
         1900  Maximum DLL I/O Bytes Received
    
            7  Write Calls
            8  Write I/Os
          319  Read Calls
          259  Read I/Os
          282  Packets Read
            8  Packets Written
        38172  Bytes Read
          542  Bytes Written
            1  Internal Packets
            2  Ignored Packets
    


  7. The CTC device statement(s) from your Hercules configuration file:

          0E20.2   CTCI   192.168.0.4   192.168.0.1
    


  8. The Hercules console log output:

     Hercules started; process-id=00000400
     Hercules Version 2.16a.2
     (c)Copyright 1999-2002 by Roger Bowler, Jan Jaeger, and others
     Built on Sep  6 2002 at 12:13:58
     Build information:
       Modes: S/370 ESA/390 ESAME
       Win32 (Windows) build
       Windows CTCI-W32 support
       Using fthreads instead of pthreads
       HTTP Server support
       No sqrtl support
       No SIGABEND handler
       National Language Support
     Running on CYGWIN_NT-5.0 i686 1.3.12(0.54/3/2) 2002-07-06 02:16
     TunTap32.dll v1.0.0.358;
     Copyright 2002, Software Development Laboratories (aka 'Fish' (David B. Trout)).
     See source code for license information.
     HHC416I Device 000C bound to socket localhost:3505
     HHC600I Console connection thread started: tid=00000310, pid=1024
     HHC602I Waiting for console connection on port 3270
     ckddasd: E:/Hercules/Fish Test/Disk Files/VMREL6.3330-1 cyls=404 heads=19 tracks=7676 trklen=13312
     ckddasd: E:/Hercules/Fish Test/Disk Files/CPR6L0.3330-1 cyls=404 heads=19 tracks=7676 trklen=13312
     ckddasd: E:/Hercules/Fish Test/Disk Files/work01.3330-1 cyls=404 heads=19 tracks=7676 trklen=13312
     Hercules Version 2.16a.2
     (c)Copyright 1999-2002 by Roger Bowler, Jan Jaeger, and others
     Built on Sep  6 2002 at 12:13:58
     Build information:
       Modes: S/370 ESA/390 ESAME
       Win32 (Windows) build
       Windows CTCI-W32 support
       Using fthreads instead of pthreads
       HTTP Server support
       No sqrtl support
       No SIGABEND handler
       National Language Support
     Running on CYGWIN_NT-5.0 i686 1.3.12(0.54/3/2) 2002-07-06 02:16
     HHS019I HTTP listener thread started: tid=0000059C, pid=1024
     HHS014I Waiting for HTTP requests on port 8888
     HHC650I Control panel thread started: tid=000005C4, pid=1024
     HHC630I CPU0000 Architecture Mode S/370
     HHC610I Timer thread started: tid=000005A4, pid=1024
     devlist
     000C 3505 localhost:3505 sockdev ascii trunc eof
          (no one currently connected)
     000D 3525 E:/Hercules/Fish Test/Punch Files/pch00d.txt ascii crlf
     000E 1403 E:/Hercules/Fish Test/Printer Files/prt00e.txt crlf
     0009 3270
     0040 3270
     0131 3330 E:/Hercules/Fish Test/Disk Files/VMREL6.3330-1 [404 cyls] open
     0132 3330 E:/Hercules/Fish Test/Disk Files/CPR6L0.3330-1 [404 cyls] open
     0133 3330 E:/Hercules/Fish Test/Disk Files/work01.3330-1 [404 cyls] open
     0580 3420 E:/Hercules/Fish Test/Tape Files/VM370R6.dmkddr.aws.het [1:00000000]
     0581 3420 E:/Hercules/Fish Test/Tape Files/VM370R6.vmrel6.ddr.aws.het [1:0000000
     0582 3420 E:/Hercules/Fish Test/Tape Files/VM370R6.cpr6l0.ddr.aws.het [1:0000000
     0E20 3088 192.168.0.4 on 192.168.0.1 open
     0E21 3088 192.168.0.4 on 192.168.0.1 open
     tt32stats e20
     TunTap32.dll Statistics:
     Size of Kernel Hold Buffer:       1024K
     Size of DLL I/O Buffer:             64K
     Maximum DLL I/O Bytes Received:      0K
                0 Write Calls
                0 Write I/Os
                0 Read Calls
                0 Read I/Os
                0 Packets Read
                0 Packets Written
                0 Bytes Read
                0 Bytes Written
                0 Internal Packets
                0 Ignored Packets
    ...
    


  9. The TCP/IP configuration statements for whatever operating system you're running under Hercules:

        DEVICE     CTC1         CTC           E20
        LINK       CTC1L        CTC           0          CTC1
    
        ...
    
        HOME
        192.168.0.4   CTC1L
    
        ...
    
        GATEWAY
        192.168.0.2    =       CTC1L     1492     HOST
    
        ...
    
        DEFAULTNET 192.168.0.2 = CTC1L 1492 0
    
        ...
    
        START CTC1
    



In closing, it goes without saying (but I'll say it anyway), that while we may not always need all of the above information (depending on the problem), it almost never hurts to provide more information than is needed to resolve the problem, but almost always hurts to provide less!


>;-)



  "Fish"  (David B. Trout)
    fishsoftdevlabs.com

"Programming today is a race between
software engineers striving to build bigger
and better idiot-proof programs, and the
Universe trying to produce bigger and better
idiots. So far, the Universe is winning."

- Rich Cook