Discussion:
How to use Netbios ?
(too old to reply)
Lars Erdmann
2010-08-02 19:34:10 UTC
Permalink
Hallo,

I have one computer running eCS 1.2 and another one running Windows7 and eCS 2.0 as guest via VirtualBox.
Both boxes are connected via a router and have IP addresses in the same subnet (I hope).

1.) "real" eCS 1.2: IP 192.168.178.20
2.) eCS 2.0 in VirtualBox: 192.168.178.22

I can ping one machine from the other (in the case of VirtualBox, I can ping 192.168.178.20 from the eCS 2.0 guest OS).
I now would like to use the Peer-to-Peer services. I have set up Netbios over TCP/IP.
However I don't know what else need to be done to make each other machine visible in the Resource browser.
Can anyone give me insight ? Do I need to open some ports in the router ? If yes, which ? Where do I have to configure what ?

I tried to add names to the Netbios parameters but now I get this error message when the requester services tries to start:
NET3082: The machine ID is being used as a message name on another workstation.

However I did not specify the same name on both machines. I am a bit lost and grateful for any help.

Thanks !


Lars
Peter Brown
2010-08-03 12:58:22 UTC
Permalink
Hi Lars
Post by Lars Erdmann
Hallo,
I have one computer running eCS 1.2 and another one running Windows7 and
eCS 2.0 as guest via VirtualBox.
Both boxes are connected via a router and have IP addresses in the same subnet (I hope).
1.) "real" eCS 1.2: IP 192.168.178.20
2.) eCS 2.0 in VirtualBox: 192.168.178.22
I can ping one machine from the other (in the case of VirtualBox, I can
ping 192.168.178.20 from the eCS 2.0 guest OS).
I now would like to use the Peer-to-Peer services. I have set up Netbios over TCP/IP.
However I don't know what else need to be done to make each other
machine visible in the Resource browser.
Can anyone give me insight ? Do I need to open some ports in the router
? If yes, which ? Where do I have to configure what ?
I tried to add names to the Netbios parameters but now I get this error
NET3082: The machine ID is being used as a message name on another workstation.
However I did not specify the same name on both machines. I am a bit
lost and grateful for any help.
Thanks !
Lars
The NET3082 seems to indicate that you have the same name in use for 2
of the systems. You could check the \IBMLAN\IBMLAN.INI files on the eCS
systems to make sure the Computernames are different on those systems;
not sure where Windows7 stores the Computername though.

Are all systems in the same Workgroup? eg LARSNET

Do you have the same Users/Passwords list on all systems? - 3 systems
will require 3 different Users.

Regards

Pete
Michael Lueck
2010-08-05 21:31:45 UTC
Permalink
Post by Peter Brown
The NET3082 seems to indicate that you have the same name in use for 2
of the systems. You could check the \IBMLAN\IBMLAN.INI files on the eCS
systems to make sure the Computernames are different on those systems;
That is what came to mind for me as well.
Post by Peter Brown
Do you have the same Users/Passwords list on all systems? - 3 systems
will require 3 different Users.
Yes, OS/2 takes offense to the same ID being used on multiple systems at one time. It tosses a cosmetic error message.

However, the requestor has fully started by this point, so I suspect two systems have the same system name configured in them.

Windows does not fuss at the same condition.

Sincerely,
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/
Paul Ratcliffe
2010-08-05 23:22:02 UTC
Permalink
On Thu, 05 Aug 2010 17:31:45 -0400, Michael Lueck
Post by Michael Lueck
Post by Peter Brown
Do you have the same Users/Passwords list on all systems? - 3 systems
will require 3 different Users.
Yes, OS/2 takes offense to the same ID being used on multiple systems at one time. It tosses a cosmetic error message.
No it doesn't. It's only the stupid Messenger component that does that.
My systems all have the same userid and it's fine, having disabled the
useless Messenger in IBMLAN.INI.

And this isn't bloody "Netbios", for the umpteenth flamin' time....
Lars Erdmann
2010-08-06 14:21:22 UTC
Permalink
Post by Lars Erdmann
I have one computer running eCS 1.2 and another one running Windows7 and
eCS 2.0 as guest via VirtualBox. Both boxes are connected via a router
Really a router and not just a switch?
What IP address did you give the router?
Post by Lars Erdmann
and have IP addresses in the same subnet (I hope).
1.) "real" eCS 1.2: IP 192.168.178.20
2.) eCS 2.0 in VirtualBox: 192.168.178.22
I can ping one machine from the other (in the case of VirtualBox, I can
ping 192.168.178.20 from the eCS 2.0 guest OS). I now would like to use
the Peer-to-Peer services. I have set up Netbios over TCP/IP. However I
If both machines are connected to the same ethernet segment,
you could use plain Netbios first,
and then set up the configuration for NB over TCPIP.
I don't think that will make a difference. I had it working in the past for two real eCS machines. I just cannot get it working with eCS in VirtualBox.
But see below.
Post by Lars Erdmann
I tried to add names to the Netbios parameters but now I get this error
message when the requester services tries to start: NET3082: The machine
ID is being used as a message name on another workstation.
What contains \IBMCOM\RFCNAMES.LST ?
What is defined in \IBMLAN\IBMLAN.INI for
Computername = ?
Domain = ?
What shows NET VIEW or NET VIEW \\MACHINEID ?
What user names did you specify ?
What users did you logon to the LAN ? LOGON /V:LOCAL
You can check active sessions with LOGOFF /L
Lutz Pescht periplaneta de
1.) yes, it's a router. Its IP address is 192.168.178.1.

2.) I found that I have yet another problem: 192.168.178.22 is not the IP of the eCS 2.0 guest OS but rather the IP address of the Windows 7 machine (oops).
The internet access in VirtualBox uses NAT and the IP address for "Ethernet-Adapter VirtualBox Host-Only Network" in Windows7 is 192.168.178.23.
However from within the VirtualBox I am getting reported: 10.0.2.15. The latter is obviously assigned via DHCP (at least that's what the eCS TCP/IP settings say).
I can ping neither one nor the other IP address from the machine with IP 192.168.178.20.

3.)
a.) "real" eCS 1.2:
RFCNAMES.LST is empty
IBMLAN.INI:
Computername = MAINMACHINE
Domain = WORKGROUP
NET VIEW: \\MAINMACHINE
usernames are ERDMANN and GUEST
I logged on as ERDMANN

b.) eCS 2.0 (guest) in VirtualBox under Windows7 (host)
RFCNAMES.LST is empty
IBMLAN.INI:
Computername = DONNERKISTE
Domain = WORKGROUP
NET VIEW: won't work
usernames are ERDMANN and GUEST
I logged on as ERDMANN

For 3.b.) it asks me to login under domain WORKGROUP, however, for 3.)a.) it asks me to logon locally.

Sorry I am no network expert. If someone can tell me what to enter where I would be very grateful, an example would be helpful.
I am struggling with MPTS and all the protocol related settings for "NETBIOS over TCP/IP" on the one hand (driver parameters, Names list, broadcast list)
and TCP/IP configuration on the other hand.

The other thing I don't understand: for a simple peer-to-peer network (using the file and printer sharing) "LAN Logon (Workgroup)" seems to always suffice.
What is that "LAN Logon (Domain)" thing for ?

Lars
Lutz
2010-08-07 12:23:06 UTC
Permalink
Post by Lars Erdmann
If both machines are connected to the same ethernet segment,
you could use plain Netbios first,
and then set up the configuration for NB over TCPIP.
I don't think that will make a difference. I had it working in the past
for two real eCS machines. I just cannot get it working with eCS in
VirtualBox. But see below.
Perhaps it makes a difference, as it avoids TCPIP. But see below.
Post by Lars Erdmann
1.) yes, it's a router. Its IP address is 192.168.178.1.
2.) I found that I have yet another problem: 192.168.178.22 is not the IP
of the eCS 2.0 guest OS but rather the IP address of the Windows 7
machine (oops). The internet access in VirtualBox uses NAT and the IP
address for "Ethernet-Adapter VirtualBox Host-Only Network" in Windows7
is 192.168.178.23. However from within the VirtualBox I am getting
reported: 10.0.2.15. The latter is obviously assigned via DHCP (at least
that's what the eCS TCP/IP settings say). I can ping neither one nor the
other IP address from the machine with IP 192.168.178.20.
You should avoid DHCP in this case. Anyway you need working TCPIP.
Post by Lars Erdmann
3.)
RFCNAMES.LST is empty
Should contain the "names" - IP pairs you want to see like
"MAINMACHINE" 192.168.178.20

Check the NAMESFILE keyword in the [tcpbeui_nif] section of the
PROTOCOL.INI file to have an integer value matching the number of entries
in RFCNAMES.LST or being somewhat bigger to allow additional entries.

Use MPTS to EDIT the Driver parameters option of NB ov TCPIP to adjust the
value for "Maximum number of ... in names file"
Any change here needs rebooting.

Use MPTS to EDIT the Names list option of NB ov TCPIP, then look into
RFCNAMES.LST If fine you may use \IBMCOM\rfcaddr.exe to avoid rebooting.
Maybe you should read about it in \IBMCOM\MPTSCFG.INF

The files can be edited manually, but be careful.
Post by Lars Erdmann
Computername = MAINMACHINE
Domain = WORKGROUP
NET VIEW: \\MAINMACHINE
What shows NET VIEW \\MAINMACHINE
Post by Lars Erdmann
usernames are ERDMANN and GUEST
I logged on as ERDMANN
User ERDMANN should be administrator to create shares on each machine. Use
the "Sharing and Connecting" object.
Post by Lars Erdmann
b.) eCS 2.0 (guest) in VirtualBox under Windows7 (host)
RFCNAMES.LST is empty
Should contain as above
Post by Lars Erdmann
Computername = DONNERKISTE
Domain = WORKGROUP
NET VIEW: won't work
This needs to bring up at least the local machine name as above, then test
NET VIEW \\DONNERKISTE
then NET VIEW \\MAINMACHINE
Post by Lars Erdmann
usernames are ERDMANN and GUEST
I logged on as ERDMANN
User ERDMANN should be administrator to create shares on each machine. Use
the "Sharing and Connecting" object.
Post by Lars Erdmann
For 3.b.) it asks me to login under domain WORKGROUP, however, for 3.)a.)
it asks me to logon locally.
Use LOGON /V:LOCAL
check active sessions with LOGOFF /L
one of the active sessions must be of type LAN.

The term "Domain = WORKGROUP" is misleading as you don't have a "real"
Domain, which needs a PDC (Primary Domain Controller).
But Domain for a Peer-to-Peer-LAN means the name of the peer group. A
machine can belong to one or more peer groups.
Post by Lars Erdmann
Sorry I am no network expert. If someone can tell me what to enter where
I would be very grateful, an example would be helpful. I am struggling
with MPTS and all the protocol related settings for "NETBIOS over TCP/IP"
on the one hand (driver parameters, Names list, broadcast list) and
TCP/IP configuration on the other hand.
Put into the Names list all machines ("NAME" - IP address) you want to
reach. You can put the IP addresses into the broadcast list, should not
hurt on a small network.
Post by Lars Erdmann
The other thing I don't understand: for a simple peer-to-peer network
(using the file and printer sharing) "LAN Logon (Workgroup)" seems to
always suffice. What is that "LAN Logon (Domain)" thing for ?
You don't have a Domain (dedicated Server like OS/2 Warp Server acting as
PDC) but a Peer-to-Peer-LAN. So you can't logon to a domain (LOGON
/V:DOMAIN /D). So logon is not verified (LOGON /V:NONE) or can be verified
locally (LOGON /V:LOCAL).


Lutz Pescht periplaneta de
----.------ @ -----------.--

Loading...