Discussion:
[hercules-390] TCP/IP not available under my environemnt
fjavieran@yahoo.es [hercules-390]
2016-11-16 10:48:14 UTC
Permalink
Hello,


I have next environemt:
- Windows 10 32 bits
- Hercules 3.12
- Fishlib 2.12.0
- z/Os 1.10


At start Hercules I receive this messages:


TunTap32.dll version ** UNPAID TRIAL COPY ** 3.3.3.3285 initiated HHCTU002E Error opening TUN/TAP device: E0-CB-4E-32-EC-D2: Permission denied
HHCLC073I 0E20: TAP device opened
HHCLC074W TT32SDEVBUFF failed for device : Bad file descriptor.
HHCLC075W TT32SIOBUFF failed for device : Bad file descriptor.
HHCCP002I CPU0000 thread started: tid=000014DC, pid=6108, priority=15
HHCTT002I Timer thread started: tid=00001048, pid=6108, priority=0
HHCCP003I CPU0000 architecture mode z/Arch
HHCCP002I CPU0001 thread started: tid=00000C54, pid=6108, priority=15
HHCCP003I CPU0001 architecture mode z/Arch
HHCPN001I Control panel thread started: tid=000016D4, pid=6108
HHCAO001I Hercules Automatic Operator thread started;

tid=000003A8, pri=0, pid=6108


The PC have only one user that is administrator.


I can start up the z/os but I can't use FTP services.


May anybody help me ?


Thanks in advance
fjavieran@yahoo.es [hercules-390]
2016-11-16 11:25:05 UTC
Permalink
Hello,

I solve part of the problem. I had executed "hercules.exe" like administrator and the messages changed to that:


TunTap32.dll version ** UNPAID TRIAL COPY ** 3.3.3.3285 initiated
HHCLC073I 2000: TAP device tap0 opened


But I couldn't do a ping from z/Os to the PC and the PC to the z/os.


I Attach configuration files.


Could anybody helpe me ?


Thanks in advance.


--------------------------------------------------- HERCULES.CNF -------------------------------------------


2000.2 LCS -n 10.29.113.212 10.29.113.254



----------------------------------------------------- TCPIP PROFILE -----------------------------------------


;
; TCPIP.PROFILE.TCPIP
; ===================
;
; COPYRIGHT = NONE.
;
; NOTES:
;
; The device configuration statements MUST be changed to match your
; hardware and software configuration.
;
; The BEGINVTAM section must be changed to match your VTAM
; configuration.
;
;
; For more information about this file, see "Configuring the TCPIP
; Address Space" and "Configuring the Telnet Server" in the
; IP Configuration manual.
;


ARPAGE 5


IPCONFIG
NODATAGRAMFWD
IGNOREREDIRECT


TCPCONFIG
RESTRICTLOWPORTS


UDPCONFIG
RESTRICTLOWPORTS


; Inform the following users of serious errors.
;


; INFORM
; OPERATOR TCPMAINT
; ENDINFORM


; -----------------------------------------------------------------------
; SYSLOCATION is the physical location of this node. Used for MVS
; agent MIB variable "sysLocation".
;
;
; SYSLOCATION
; FIRST FLOOR COMPUTER ROOM
; ENDSYSLOCATION


;
; -----------------------------------------------------------------------
;
; You can specify DATASETPREFIX in the PROFILE.TCPIP and
; TCPIP.DATA data sets. If this statement is used in a profile or
; configuration data set that is allocated to a client or a server, then
; that client or server dynamically allocates additional required data
; sets using the value specified for DATASETPREFIX as the data set name
; prefix. The DATASETPREFIX parameter can be up to 26 characters long,
; and the parameter must NOT end with a period.
;
; For more information please see "Understanding TCP/IP Data Set
; Names" in the Customization and Administration Guide.
;


DATASETPREFIX TCPIP


; ----------------------------------------------------------------------
;
; AUTOLOG the following servers.
;


AUTOLOG 5
FTPD JOBNAME FTPD1 ; FTP Server
; LPSERVE ; LPD Server
; NAMESRV ; Domain Name Server
; NCPROUT ; NCPROUTE Server
PORTMAP ; Portmap Server
; OROUTED ; RouteD Server
; RXSERVE ; Remote Execution Server
; SMTP ; SMTP Server
; OSNMPD ; SNMP Agent Server
; SNMPQE ; SNMP Client
; TCPIPX25 ; X25 Server
ENDAUTOLOG


;
; ----------------------------------------------------------------------
;
; Reserve ports for the following servers.
;
; NOTES:
;
; A port that is not reserved in this list can be used by any user.
; If you have TCP/IP hosts in your network that reserve ports
; in the range 1-1023 for privileged applications, you should
; reserve them here to prevent users from using them.
;
; The port values below are from RFC 1060, "Assigned Numbers."
;


PORT
7 UDP MISCSERV ; Miscellaneous Server
7 TCP MISCSERV
9 UDP MISCSERV
9 TCP MISCSERV
19 UDP MISCSERV
19 TCP MISCSERV
20 TCP OMVS NOAUTOLOG ; FTP Server
21 TCP OMVS ; FTP Server
23 TCP TN3270 ; Telnet Server
25 TCP SMTP ; SMTP Server
53 TCP NAMESRV ; Domain Name Server
53 UDP NAMESRV ; Domain Name Server
69 UDP OMVS ; OE TFTP SERVER
80 TCP OMVS ; OE WEB SERVER
111 TCP PORTMAP ; Portmap Server
111 UDP PORTMAP ; Portmap Server
135 UDP LLBD ; NCS Location Broker
161 UDP OSNMPD ; SNMP Agent
162 UDP SNMPQE ; SNMP Query Engine
433 TCP OMVS ; OE WEB Server
443 TCP OMVS ; Secure Server
512 TCP RXSERVE ; Remote Execution Server
513 UDP OMVS ; OE RLOGIN SERVER
514 UDP OMVS ; OE syslog server
514 TCP RXSERVE ; Remote Execution Server
515 TCP LPSERVE ; LPD Server
520 UDP OROUTED ; RouteD Server
580 UDP NCPROUT ; NCPROUTE Server
750 TCP MVSKERB ; Kerberos
750 UDP MVSKERB ; Kerberos
751 TCP ***@SRV ; Kerberos Admin Server
751 UDP ***@SRV ; Kerberos Admin Server
; 1021 TCP OMVS ; OE FTP SERVER
1023 TCP OMVS ; OE TELNET SERVER
1023 UDP OMVS ; OE TELNET SERVER
1024 TCP OMVS ; OE SERVICES
1415 TCP CSQ1CHIN ; CSQ1 MQ TCP Listener
3000 TCP CICSTCP ; CICS Socket


; WAS Base Node entries
3000 TCP CICSTS32 ; CICS Socket
8880 TCP BBOS001 ; SOAP JMX Connector port
;2809 TCP BBOS001 ; ORB port (COMMENT THIS ONE OUT)
9080 TCP BBOS001 ; HTTP port
9443 TCP BBOS001 ; HTTPS port
5655 TCP BBODMNB ; Daemon port
5656 TCP BBODMNB ; Daemon SSL port
; WAS ND Node entries
8879 TCP BBODMGR ; SOAP JMX Connector port
7277 TCP BBODMGR ; Cell Discovery port
9809 TCP BBODMGR ; ORB port
9090 TCP BBODMGR ; HTTP port
9043 TCP BBODMGR ; HTTPS port
5755 TCP BBODMNC ; Daemon port
5756 TCP BBODMNC ; Daemon SSL port
; WAS Federation entries
8878 TCP BBON001 ; SOAP JMX Connector port
7272 TCP BBON001 ; Node Discovery port
2809 TCP BBON001 ; Node Agent's ORB port
9810 TCP BBOS001 ; Base Server's ORB port


;
; -----------------------------------------------------------------------
;
; Hardware definitions:
;
; NOTE: To use these device and link statements, update the statements
; to reflect your installation configuration and remove the semicolon
;


;
; LCS1 is a 3172 Model 1 with a Token-Ring and Ethernet adapter.
;


;
; DEVICE CTCA1 CTC E22
; LINK CTC1 CTC 1 CTCA1




; To use these device and link statements, update the statements to
; reflect your installation configuration and remove the semicolon


; DEVICE LCS1 LCS E20
; LINK TR1 IBMTR 1 LCS1
; LINK ETH1 ETHERNET 0 LCS1


; DEVICE ADM1ETP MPCIPA NONROUTER
; LINK OSDL IPAQENET ADM1ETP


; Definiciones para CTC uso del TCPIP del zos 1.10


; DEVICE CTCA1 CTC 2000
; LINK CTC1 CTC 1 CTCA1


DEVICE LCS1 LCS 2000
LINK ETH1 ETHERNET 0 LCS1


; DEVICE LCS2 LCS 992
; LINK TR2 IBMTR 1 LCS2
; LINK ETH2 ETHERNET 1 LCS2


;
; LCS2 is a 3172 Model 2 with a FDDI adapter.
;


; DEVICE LCS2 LCS BE0
; LINK FDDI1 FDDI 0 LCS2


;
; SNALU0 is an SNA Link.
;


; DEVICE SNALU0 SNAIUCV SNALINK LU000000 SNALINK
; LINK SNA1 IUCV 1 SNALU0


;
; -----------------------------------------------------------------------
;
; HOME Internet (IP) addresses of each link in the host.
;
; NOTE: To use this home statement, update the ipaddress and linknames
; to reflect your installation configuration and remove the semicolon
;


HOME


; 192.168.252.167 OSDL
10.29.113.254 ETH1
;
; 9.67.43.110 FDDI1
; 193.7.2.1 SNA1


;
; ---------------------------------------------------------------------
;
; The PRIMARYINTERFACE statement is used to specify which interface
; is the primary interface.
;
; If PRIMARYINTERFACE is not specified, then the first link in the HOME
; statement is the primary interface, as usual.
;
; NOTE: To use this primary statement, update the and linkname
; to reflect your installation configuration and remove the semicolon
;


; PRIMARYINTERFACE TR1


;
; -----------------------------------------------------------------------
;
; IP routing information for the host. All static IP routes should
; be added here.
;
; NOTE: To use this GATEWAY statement, update the addresses and links
; to reflect your installation configuration and remove the semicolon
;


GATEWAY
;
; Direct Routes - Routes that are directly connected to my interfaces.
;
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value


; 192.168.252 = OSDL 1500 0


10.29.113 = LCS1 1492 0


; 130.50 = TR1 2000 0.0.255.0 0.0.10.0
; 193.5.2 = ETH1 1500 0
; 9 = FDDI1 4000 0.255.255.0 0.67.43.0
; 193.7.2.2 = SNA1 2000 HOST


;
; Indirect Routes - Routes that are reachable through routers on my
; network.
;
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value




; defaultnet 192.168.252.2 OSDL 576 0


defaultnet 10.29.113.254 LCS1 576 0


;
; Default Route - All packets to an unknown destination are routed
; through this route.
;
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value
;
; -----------------------------------------------------------------------
;
; orouted Routing Information
;
; if you are using orouted, comment out the GATEWAY statement and
; update the BSDROUTINGPARMS statement to reflect your installation
; configuration and remove the semicolon
;
; Link Maxmtu Metric Subnet Mask Dest Addr


; BSDROUTINGPARMS false
; TR1 2000 0 255.255.255.0 0
; ETH1 1500 0 255.255.255.0 0
; FDDI1 DEFAULTSIZE 0 255.255.255.0 0
; ENDBSDROUTINGPARMS


;
; -----------------------------------------------------------------------
;
; Use TRANSLATE to specify the hardware address of a specific IP
; address. See the Customization and Administration Guide for more
; information.
;


; TRANSLATE
; A null translate statement issues the warning message EZZ0323I


;
; -----------------------------------------------------------------------
;
; Turn off all tracing. If tracing is to be used, change the following
; line. To trace the configuration component, for example, change
; the line to ITRACE ON CONFIG 1
;


ITRACE OFF


;
; -----------------------------------------------------------------------
; The ASSORTEDPARMS NOFWD will prevent the forwarding of IP packets
; between different networks. If NOFWD is not specified, IP packets
; will be forwarded between networks when this host is a gateway.
;
; Even though RESTRICTLOWPORTS was specified on TCPCONFIG and UDPCONFIG,
; ASSORTEDPARMS default would have been to reset RESTRICTLOWPORTS to off
; So it is respecified here.
; If the TCPCONFIG and UDPCONFIG followed ASSORTEDPARMS, RESTRICTLOWPORT
; would not have to be done twice.
;


; ASSORTEDPARMS
; NOFWD
; RESTRICTLOWPORTS
; ENDASSORTEDPARMS
; NOFWD issues the informational message EZZ0334I
; RESTRICTLOWPORTS issues the informational message EZZ0338I


;
; ----------------------------------------------------------------------
;
; Define the VTAM parameters required for the Telnet server.
;


BEGINVTAM
; Define logon mode tables to be the defaults shipped with the
; latest level of VTAM
; Define the LUs to be used for general users.
DEFAULTLUS
; TCP00001..TCP02000..FFFFNNNN
SC0TCP01 SC0TCP02 SC0TCP03 SC0TCP04 SC0TCP05
SC0TCP06 SC0TCP07 SC0TCP08 SC0TCP09 SC0TCP10
SC0TCP11 SC0TCP12 SC0TCP13 SC0TCP14 SC0TCP15
SC0TCP16 SC0TCP17 SC0TCP18 SC0TCP19 SC0TCP20
SC0TCP21 SC0TCP22 SC0TCP23 SC0TCP24 SC0TCP25
SC0TCP26 SC0TCP27 SC0TCP28 SC0TCP29 SC0TCP30
ENDDEFAULTLUS
; DEFAULTAPPL TSO ; Set the default application for all Telnet
USSTCP USSN ; USS Table name
; sessions to allow CLSDST Pass
LINEMODEAPPL TSO ; Send all line-mode terminals directly to TSO.
ALLOWAPPL SAMON QSESSION ; SAMON appl does CLSDST Pass to next appl
ALLOWAPPL TSO* DISCONNECTABLE ; Allow all users access to TSO
; applications.
; TSO is multiple applications all beginning with TSO,
; so use the * to get them all. If a session is closed,
; disconnect the user rather than log off the user.
RESTRICTAPPL IMS ; Only 3 users can use IMS.
USER USER1 ; Allow user1 access.
LU TCPIMS01 ; Assign USER1 LU TCPIMS01.
USER USER2 ; Allow user2 access from the default LU pool.
USER USER3 ; Allow user3 access from 3 Telnet sessions,
; each with a different reserved LU.
LU TCPIMS31 LU TCPIMS32 LU TCPIMS33
ALLOWAPPL * ; Allow all applications that have not been
; previously specified to be accessed.


; Map Telnet sessions from this node to display USSAPC screen.
; USSTAB USSAPC 130.50.10.1
;
; Map Telnet sessions from this link to display USSCBA screen.
; USSTAB USSCBA SNA1


ENDVTAM


;
; -----------------------------------------------------------------------
;
; Start all the defined devices.
;
; NOTE: To use these START statements, update the device name
; to reflect your installation configuration and remove the semicolon
;


; START ADM1ETP


; START CTCA1


START LCS1


; START OFF1
; START SNALU0



---------------------------------------------------------- IOCP ----------------------------------------------------


IODEVICE ADDRESS=(2000,2),UNIT=CTC,OFFLINE=NO,DYNAMIC=YES, *
LOCANY=NO,CUNUMBR=2000


------------------------------------------------- DISPLAY UNITS --------------------------------------------


D U,,,2000,2
IEE457I 14.17.33 UNIT STATUS 836
UNIT TYPE STATUS VOLSER VOLSTATE
2000 CTC A-BSY
2001 CTC A
'\'Fish\' (David B. Trout)' david.b.trout@gmail.com [hercules-390]
2016-11-17 14:34:26 UTC
Permalink
Someone who did not tell us their name said:

[...]
Post by ***@yahoo.es [hercules-390]
I solve part of the problem. I had executed "hercules.exe"
TunTap32.dll version ** UNPAID TRIAL COPY ** 3.3.3.3285 initiated
HHCLC073I 2000: TAP device tap0 opened
But I couldn't do a ping from z/Os to the PC and the PC to the z/os.
I Attach configuration files.
Could anybody helpe me ?
Thanks in advance.
PLEASE READ THE HELP FILE THAT COMES WITH THE PRODUCT.

Specifically, the "Configuring Your Guest" and "Default Gateway" chapters.

I did not write it just for fun. I wrote it because I expect people to actually READ it. It's there to HELP you.


[...]
Post by ***@yahoo.es [hercules-390]
2000.2 LCS -n 10.29.113.212 10.29.113.254
Okay (if you're sure 2000 is correct).


[...]
Post by ***@yahoo.es [hercules-390]
DEVICE LCS1 LCS 2000
LINK ETH1 ETHERNET 0 LCS1
Okay.


[...]
Post by ***@yahoo.es [hercules-390]
HOME
; 192.168.252.167 OSDL
10.29.113.254 ETH1
Okay.


[...]
Post by ***@yahoo.es [hercules-390]
GATEWAY
;
; Direct Routes - Routes that are directly connected to my interfaces.
;
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value
; 192.168.252 = OSDL 1500 0
10.29.113 = LCS1 1492 0
Wrong.

1. "LCS1" is your device name. You need to specify your LINK name instead ("ETH1").



[...]
Post by ***@yahoo.es [hercules-390]
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value
; defaultnet 192.168.252.2 OSDL 576 0
defaultnet 10.29.113.254 LCS1 576 0
Wrong.

1. Your default gateway (defaultnet) should be the same default gateway that your Windows adapter is using (usually the IP address of your router).

2. "LCS1" is your device name. You need to specify your LINK name instead ("ETH1").

3. Your packet size (576) is too small. Performance will suffer. You should use the same size that you specified for your gateway: 1492.
--
"Fish" (David B. Trout)
Software Development Laboratories
http://www.softdevlabs.com
mail: ***@softdevlabs.com
fjavieran@yahoo.es [hercules-390]
2016-11-22 08:47:42 UTC
Permalink
Hello,

Thank you very much for your info about the PROFILE for TCPIP.


I follow your indications but the problem continue. May you tell me where I do the mistake and how to solve ?


Thanks in advance.


I send all info that I consider relevant.


Kind Regards


------------------------------------------------------------- IOCP CONFIG --------------------------------------------------------------


CNTLUNIT CUNUMBR=0E20,PATH=(FC),UNITADD=((10,001)),UNIT=CTC
CNTLUNIT CUNUMBR=0E21,PATH=(FC),UNITADD=((11,001)),UNIT=CTC


----------------------------------------------------------- DISPLAY E20,2---------------------------------------------------------------


IEE457I 11.32.10 UNIT STATUS 985
UNIT TYPE STATUS VOLSER VOLSTATE
0E20 CTC A-BSY
0E21 CTC A


------------------------------------------------MESSAGES STARTUP HERCULES---------------------------------------------


TunTap32.dll version ** UNPAID TRIAL COPY ** 3.3.3.3285 initiated
HHCLC073I 0E20: TAP device tap0 opened


-------------------------------------MESSAGES STARTUP TCPIP----------------------------------------------------------------


IEF695I START TCPIP WITH JOBNAME TCPIP IS ASSIGNED TO USER TCPIP , GROUP
$HASP373 TCPIP STARTED
IEF403I TCPIP - STARTED - TIME=10.58.42
IEE252I MEMBER CTIEZB00 FOUND IN ADCD.Z110.PARMLIB
IEE252I MEMBER CTIIDS00 FOUND IN SYS1.PARMLIB
IEE252I MEMBER CTINTA00 FOUND IN SYS1.PARMLIB
EZZ7450I FFST SUBSYSTEM IS NOT INSTALLED
EZZ0162I HOST NAME FOR TCPIP IS ADCD
EZZ0300I OPENED PROFILE FILE DD:PROFILE
EZZ0309I PROFILE PROCESSING BEGINNING FOR DD:PROFILE
EZZ0318I 0 WAS FOUND ON LINE 268 AND HOST WAS EXPECTED
EZZ0323I GATEWAY STATEMENT ON LINE 259 HAD NO ENTRIES
EZZ0316I PROFILE PROCESSING COMPLETE FOR FILE DD:PROFILE
EZZ0303I INITIAL PROFILE FILE CONTAINS ERRORS
EZZ0334I IP FORWARDING IS DISABLED
EZZ0335I ICMP WILL IGNORE REDIRECTS
EZZ0338I TCP PORTS 1 THRU 1023 ARE RESERVED
EZZ0338I UDP PORTS 1 THRU 1023 ARE RESERVED
EZZ0209I TELNET SERVER CONFIGURATION STATEMENTS IGNORED IN TCPIP
EZZ4202I Z/OS UNIX - TCP/IP CONNECTION ESTABLISHED FOR TCPIP
EZB6473I TCP/IP STACK FUNCTIONS INITIALIZATION COMPLETE.
EZAIN11I ALL TCPIP SERVICES FOR PROC TCPIP ARE AVAILABLE.
EZZ4314I INITIALIZATION COMPLETE FOR DEVICE LCS1, LINK ETH1
EZD1176I TCPIP HAS SUCCESSFULLY JOINED THE TCP/IP SYSPLEX GROUP EZBTCPCS


---------------------------------------CONFIGURATION PROFILE TCPIP----------------------------------------------------.


DEVICE LCS1 LCS 0E20
LINK ETH1 ETHERNET 0 LCS1

HOME

10.29.113.254 ETH1

GATEWAY
10.29.113 = LCS1 1492 0


defaultnet 10.29.113.254 LCS1 1492 0



--------------------------------------------PING HOST ADCD----------------------------------------------------------------


PING 10.29.113.254 <==== tcpip host



CS V1R10: Pinging host 10.29.113.254
Ping Ñ1 response took 0.003 seconds.


ping 10.29.113.212 <--------- ip pc



CS V1R10: Pinging host 10.29.113.212
sendto(): EDC8130I Host cannot be reached. (errno2=0x74420291)





------------------------------------------PING PC--------------------------------------------------------------------------------


C:\Users>ping 10.29.113.254


Haciendo ping a 10.29.113.254 con 32 bytes de datos:
Tiempo de espera agotado para esta solicitud.
Tiempo de espera agotado para esta solicitud.
Tiempo de espera agotado para esta solicitud.
Tiempo de espera agotado para esta solicitud.


Estadísticas de ping para 10.29.113.254:
Paquetes: enviados = 4, recibidos = 0, perdidos = 4
(100% perdidos),


Sorry by the poor knowledge of communications protocols.


Thanks in advance
'\'Fish\' (David B. Trout)' david.b.trout@gmail.com [hercules-390]
2016-11-22 21:11:35 UTC
Permalink
Someone who refuses to sign their posts with their name but whose email address is ***@yahoo.es and whose first name I'm guessing is Javier (based on some quick Google searches) said:

[...]
Post by ***@yahoo.es [hercules-390]
Thank you very much for your info about the PROFILE for TCPIP.
I follow your indications but the problem continue. May you tell me
where I do the mistake and how to solve ?
Yes: you did NOT follow my instructions. You may think you did but you did not.

Let's try again:


[...]
Post by ***@yahoo.es [hercules-390]
GATEWAY
10.29.113 = LCS1 1492 0
Change "LCS1" to "ETH1".
Post by ***@yahoo.es [hercules-390]
defaultnet 10.29.113.254 LCS1 1492 0
1. Change "LCS1" to "ETH1".

2. Change "10.29.113.254" to the same default gateway that your Windows system is using. This is usually your router (which, based on the IP addresses you're using, I'm going to guess is probably 10.0.0.1).

If you open a Command Prompt window and enter the command "ipconfig", you will see information displayed for all of your network adapters. Find the information for whichever adapter you told Hercules to use (10.29.113.212) and use the same Default Gateway value for your guest.


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 10.29.113.212
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 10.0.0.1 <==== THIS ONE!


(NOTE: as mentioned earlier I'm GUESSING your default gateway is 10.0.0.1, but you should use whichever value Windows displays for you)

Please try again.
--
"Fish" (David B. Trout)
Software Development Laboratories
http://www.softdevlabs.com
mail: ***@softdevlabs.com
Loading...