Discussion:
HHCTU002E Error opening TUN/TAP device: 172.16.0.3: No such file or directory
passingintoinfinity
2006-10-09 22:54:01 UTC
Permalink
I amgetting this error message when I first start the new Hercules V3
and before I IPL it on my Windows/XP laptop:

HHCTU002E Error opening TUN/TAP device: 172.16.0.3: No such file or
directory.

I have a wireless card and a LAN card on my laptop. The wireless is
DHCP so I configured the LAN card as:

Ethernet adapter Local Area Connection 3:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : National Semiconductor
Corp. DP83815/816 10/100 MacPhyter PCI Adapter #2

Physical Address. . . . . . . . . : 00-0B-CD-AA-1A-7F

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 172.16.0.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 172.16.0.1

DNS Servers . . . . . . . . . . . : 207.217.126.81

207.217.77.82
--------------------------------------------------------------------

I changed my system32/drivers/etc hosts file to:

172.16.0.1 your-bes5v9ftq9
172.16.0.3 P390
localhost 127.0.0.1
your-bes5v9ftq9 172.16.0.1
p390 172.16.0.3

--------------------------------------------------------------------
My hercules.cnf file has the following LCS definition:

0E20-0E21 LCS -n 172.16.0.3 -m 00-00-5E-90-00-01 172.16.0.1

I have tried it without the mac address and with an oat file and got
the same result.

--------------------------------------------------------------------

Any ideas why TUN/TAP is having a problem? I am not very TCPIP savvy,
so I am having a real problem here. I did get some good information
when trying to get it to work with my wireless (DHCP) adapter, but I
could not get it working no matter what variation I tried. I guess I
am not clear on what constitutes "my" IP addresses and where I need to
define them in Windows/XP so that Hercules and TUN/TAP will find them
and resolve addressability. Any hep would reay be appreciated.
Mr X
2006-10-10 02:37:17 UTC
Permalink
Can ANYONE help ... PLEASE ...

passingintoinfinity <passingintoinfinity-/***@public.gmane.org> wrote: I amgetting this error message when I first start the new Hercules V3
and before I IPL it on my Windows/XP laptop:

HHCTU002E Error opening TUN/TAP device: 172.16.0.3: No such file or
directory.

I have a wireless card and a LAN card on my laptop. The wireless is
DHCP so I configured the LAN card as:

Ethernet adapter Local Area Connection 3:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : National Semiconductor
Corp. DP83815/816 10/100 MacPhyter PCI Adapter #2

Physical Address. . . . . . . . . : 00-0B-CD-AA-1A-7F

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 172.16.0.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 172.16.0.1

DNS Servers . . . . . . . . . . . : 207.217.126.81

207.217.77.82
----------------------------------------------------------

I changed my system32/drivers/etc hosts file to:

172.16.0.1 your-bes5v9ftq9
172.16.0.3 P390
localhost 127.0.0.1
your-bes5v9ftq9 172.16.0.1
p390 172.16.0.3

----------------------------------------------------------
My hercules.cnf file has the following LCS definition:

0E20-0E21 LCS -n 172.16.0.3 -m 00-00-5E-90-00-01 172.16.0.1

I have tried it without the mac address and with an oat file and got
the same result.

----------------------------------------------------------

Any ideas why TUN/TAP is having a problem? I am not very TCPIP savvy,
so I am having a real problem here. I did get some good information
when trying to get it to work with my wireless (DHCP) adapter, but I
could not get it working no matter what variation I tried. I guess I
am not clear on what constitutes "my" IP addresses and where I need to
define them in Windows/XP so that Hercules and TUN/TAP will find them
and resolve addressability. Any hep would reay be appreciated.






---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

[Non-text portions of this message have been removed]
Fish
2006-10-10 11:35:15 UTC
Permalink
Post by Mr X
Can ANYONE help ... PLEASE ...
Sure. $40/hr payable in advance via PayPal.

But since I'm nice I'll give you a clue: check your device statement
args.

- --
"Fish" (David B. Trout) - fish(at)infidels.org
Fight Spam! Join CAUCE! <http://www.cauce.org/>
(Any HTML email received will be deleted unread)
PGP key fingerprints:
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52
Mr X
2006-10-10 20:37:12 UTC
Permalink
Thank you for your professional and helpful response. I have tried countless variations of configurations for my device statements. The real problem lies in my lack of networking experience. Someone else was always responsible for that area. But I think the problem is in my windows environment because the error occurs while hercules is just starting and z/os hasn't even been started to IPL. That makes it worse for me because I don't even know where to look in windows for some things. I was looking into the possibilitty that WinPCap is the problem. When I installed it, my wireless card was first in the list. I reordered my devices and reinstalled it but I am still getting this error. Since the DHCP server controls all of the addresses in the range 192.168.1.1 - 192.168.1.254, and I cannot seem to make a mask for 192.168.2.1 and 192.168.2.2, I am lookiing back at my LAN card where I have my hub plugged in. If I do get it working (there's still hope), I don't
think I'll have internet access, but that's ok as long as I can run WebSphere client and server programs on my laptop with all the routes properly connected as if it were the internet or an intranet. I guess you must be having a hard time. My sympathies. I myself, have been out of work for about 2 years since most of the mainframe jobs got farmed out to India and most of the agencies are India-operated, undercutting Americans out of jobs. I am desperately tryng to keep afloat. I have no co-workers to assist and in a simulated environment, the problem could be in many places. I have learned more about TCPIP with this exercise, but so many things that should work don't (custom subnet masks, for example). That infers that the problem is elsewhere. With three emulators (WinPCap, TUN/TAP, and Hercules) all pretending to be something else, the potential to get it wrong is higher than it is to get it right. I guess the doc is ok if you are a seasoned network
person, but I am not. I have set up mainframe hardware and software, but the networking always fell in someone else's domain. So the doc is not so aparent to me. Anyway, I am still muddling through the seemingly infinite variations, trying to figure out which (likely) definition is throwing off all the others. Unless someone who has a working LCS can tell me exacly what the windows definition would be so that hercules can find them when it starts up.

Fish <fish-6N/dkqvhA+***@public.gmane.org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Mr X
Can ANYONE help ... PLEASE ...
Sure. $40/hr payable in advance via PayPal.

But since I'm nice I'll give you a clue: check your device statement
args.

- --
"Fish" (David B. Trout) - fish(at)infidels.org
Fight Spam! Join CAUCE! <http://www.cauce.org/>
(Any HTML email received will be deleted unread)
PGP key fingerprints:
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBRSuFbUj11/TE7j4qEQKXUQCgvjYVRXpyV804wNgN8tdqzMnxr1sAnRYD
3gTC+LskprJkv8Ayl146b+71
=hFDn
-----END PGP SIGNATURE-----






---------------------------------
How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.

[Non-text portions of this message have been removed]
Fish
2006-10-17 05:43:47 UTC
Permalink
Post by Mr X
Thank you for your professional and helpful response. I have
tried countless variations of configurations for my device
statements. The real problem lies in my lack of networking
experience. Someone else was always responsible for that area.
[..]
Post by Mr X
domain. So the doc is not so aparent to me. Anyway, I am still
muddling through the seemingly infinite variations, trying to
figure out which (likely) definition is throwing off all the
others. Unless someone who has a working LCS can tell me exacly
what the windows definition would be so that hercules can find
them when it starts up.
I apologize for not always having the time to help you and others
with your problems but apparently my services are in high demand.
Seems everyone wants a piece of me these days. Thus the hint that
money seems to do wonders with adjusting priorities such that your
issue thus gets the attention you feel it needs.

I don't have a lot of time to help you (as I explained) so if the
following doesn't help any hopefully someone else on the list may be
able to help you figure out what's going on.

http://www.cbttape.org/~fish/ctci-w32-readme.html#herccfg

The '-n' parameter is what is used in lieu of an IP address in case
your Windows host uses DHCP to assign IP addresses to its network
adapters. That is to say, the -n parameter tells CTCI-W32 which
WINDOWS HOST network adapter it should use to perform its emulation
on. It is NOT used to define the IP address you wish your GUEST'S
emulated network adapter to have.

Normally, the -n parameter is followed by the MAC address ("Physical
Address") of the WINDOWS HOST ADAPTER you wish CTCI-W32 to use, and
not an IP address (although an IP address does also work).

The -m parameter is not normally needed since CTCI-W32 assigns a
[usually unique] MAC (physical) address to your guest's emulated
adapter automatically. You would only need to use it in the case
where the one it automatically assigns conflicts with one assigned to
some other adapter on your real (or virtual!) network (or the one it
automatically assigns isn't "aesthetically pleasing" to you).

Looking at your original post I see you're using:

0E20-0E21 LCS -n 172.16.0.3 -m 00-00-5E-90-00-01 172.16.0.1

Removing the unneeded -m parameter yields:

0E20-0E21 LCS -n 172.16.0.3 172.16.0.1

This is telling (asking) CTCI-W32 to use the "172.16.0.3" WINDOWS
HOST ADAPTER to perform its emulation on, but based on your supplied
ipconfif -all display, your Windows system doesn't HAVE an adapter
with that IP address! Your WINDOWS HOST ADAPTER is assigned an IP
address of "172.16.0.1", not 172.16.0.3! THAT is why you're getting
the error "No such file or directory!" The WINDOWS HOST ADAPTER
you're asking CTCI-W32 to use DOESN'T EXIST on your system!

PLUS, to further confuse things, you're specifying "172.16.0.1" as
the IP address to assign to your GUEST'S EMULATED ADAPTER (which of
course conflicts with the IP address ALREADY ASSIGNED to your Windows
HOST'S network adapter!).

Needless to say what you're trying to do isn't going to work too
well. :)

Try this:

Either:

0E20-0E21 LCS -n 172.16.0.1 172.16.0.3

Or:

0E20-0E23 LCS -n 172.16.0.1 -o oatfile.txt
with the statement "0E20 IP 00 PRI 172.16.0.3"
in your oat file.

Either technique should get you what you want.

If that doesn't do it for you then someone else is going to have to
help you since I simply don't have the time to I'm afraid. :(

(Either that or, like I said, send me some $$$$)

Hope that helps. <shrug>

- --
"Fish" (David B. Trout) - fish(at)infidels.org
Fight Spam! Join CAUCE! <http://www.cauce.org/>
(Any HTML email received will be deleted unread)
PGP key fingerprints:
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52
Fish
2006-10-17 12:21:16 UTC
Permalink
[..]
Post by Fish
0E20-0E21 LCS -n 172.16.0.1 172.16.0.3
0E20-0E23 LCS -n 172.16.0.1 -o oatfile.txt
^^^^
^^^^
ACK! That should of course be 0E20-0E21. Sorry.

- --
"Fish" (David B. Trout) - fish(at)infidels.org
Fight Spam! Join CAUCE! <http://www.cauce.org/>
(Any HTML email received will be deleted unread)
PGP key fingerprints:
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52

Loading...