Subject: [os2genau_digest] No. 1872
From: Digest <deadmail>
To: "OS/2GenAu Digest"<deadmail>
Date: Mon, 19 Oct 2009 00:01:09 EST-10EDT,10,1,0,7200,4,1,0,7200,3600

**************************************************
Sunday 18 October 2009
 Number  1872
**************************************************

Subjects for today
 
1   Networking with Vbox/2 : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
1  Re:  Networking with Vbox/2 : Ed Durrant <edurrant at durrant dot mine dot nu>
2  Re:  Networking with Vbox/2 : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
2  Re:  Networking with Vbox/2 : Ed Durrant <edurrant at durrant dot mine dot nu>
3  Re:  Networking with Vbox/2 : Ed Durrant <edurrant at durrant dot mine dot nu>
3  Re:  Networking with Vbox/2 : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
4  Re:  Networking with Vbox/2 : Ed Durrant <edurrant at durrant dot mine dot nu>
4  Re:  Networking with Vbox/2 : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
5  Re:  Networking with Vbox/2 : Ed Durrant <edurrant at durrant dot mine dot nu>
5  Re:  Networking with Vbox/2 : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
6  Re:  Networking with Vbox/2 : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
6  Re:  Networking with Vbox/2 : Ed Durrant <edurrant at durrant dot mine dot nu>
7  Re:  Networking with Vbox/2 : Ed Durrant <edurrant at durrant dot mine dot nu>

**= Email   1 ==========================**

Date:  Sun, 18 Oct 2009 07:56:14 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:   Networking with Vbox/2

Hi folks,

From my computer (running eCS 1.2RC6a) I can access the folders and printers on my wife's XP computer. 
Can I access them from a Vbox/2 guest on my computer running XP? If so, any tips?
 
Peter R
--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   1 ==========================**

Date:  Sun, 18 Oct 2009 10:20:03 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Networking with Vbox/2

Peter Rehfisch wrote:
> Hi folks,
>
> >From my computer (running eCS 1.2RC6a) I can access the folders and printers on my wife's XP computer. 
> Can I access them from a Vbox/2 guest on my computer running XP? If so, any tips?
>  
> Peter R
>   
The networking from VBOX/2 should be transparent to the client OS. So as 
long as you have it configured to talk to the "outside world" (this is 
the default) not just the local host, the rules of communication between 
the hosts apply. So this is then a Windoze communications question. If 
it doesn't work the most likely thing to be blocking you will be the 
Windows firewall either within VBOX/2 or on your wifes PC - check the MS 
knowledge base for further help on setting these up.

-- 
Cheers/2

Ed

eComStationAustralia podcast RSS feed http://eComStationAustralia.podbean dot com/feed or iTunes
Warpstock Europe at Stralsund, Germany 12-15 November 2009 http://www.warpstock.eu

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   2 ==========================**

Date:  Sun, 18 Oct 2009 12:35:26 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:  Re:  Networking with Vbox/2

Ed Durrant wrote

> So as long as you have it configured to talk to the "outside world" (this is 
>the default) not just the local host, the rules of communication between 
>the hosts apply. 

So should I have the network card in VBox/2 setup attached to NAT?

Peter R

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   2 ==========================**

Date:  Sun, 18 Oct 2009 13:48:21 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Networking with Vbox/2

Peter Rehfisch wrote:
> Ed Durrant wrote
>
>   
>> So as long as you have it configured to talk to the "outside world" (this is 
>> the default) not just the local host, the rules of communication between 
>> the hosts apply. 
>>     
>
> So should I have the network card in VBox/2 setup attached to NAT?
>
> Peter R
>
>
>   
Yes

Another thought if you can't "see" your wifes PC from within VBOX is to 
try to access the share using your wifes PC IP address rather than 
computer name.

Normally Windows will do a broadcast to see what systems are there - but 
the NAT interface may stop this from working. If this works - add the 
name and IP address of your wifes PC to LMHOSTS under Windoze.

-- 
Cheers/2

Ed

eComStationAustralia podcast RSS feed http://eComStationAustralia.podbean dot com/feed or iTunes
Warpstock Europe at Stralsund, Germany 12-15 November 2009 http://www.warpstock.eu

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   3 ==========================**

Date:  Sun, 18 Oct 2009 13:56:17 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Networking with Vbox/2

Peter Rehfisch wrote:
> Ed Durrant wrote
>
>   
>> So as long as you have it configured to talk to the "outside world" (this is 
>> the default) not just the local host, the rules of communication between 
>> the hosts apply. 
>>     
>
> So should I have the network card in VBox/2 setup attached to NAT?
>
> Peter R
>
>
>   
Selecting "Host Interface" should also work in theory without having to 
worry about LMHOSTS - but I haven't tried that.

-- 
Cheers/2

Ed

eComStationAustralia podcast RSS feed http://eComStationAustralia.podbean dot com/feed or iTunes
Warpstock Europe at Stralsund, Germany 12-15 November 2009 http://www.warpstock.eu

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   3 ==========================**

Date:  Sun, 18 Oct 2009 17:24:06 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:  Re:  Networking with Vbox/2

 Ed Durrant wrote

>Another thought if you can't "see" your wifes PC from within VBOX is to 
>try to access the share using your wifes PC IP address rather than 
>computer name.

Wife's IP=192.168.0.4

I can ping this address from an OS/2 window in my computer but not from the XP guest on my computer.

From within the XP guest, IP address=10.0.2.15, subnet mask=255.255.255.0 and Default gateway=01.0.2.2

Is this the problem?

Peter R
--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   4 ==========================**

Date:  Sun, 18 Oct 2009 18:17:59 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Networking with Vbox/2

Peter Rehfisch wrote:
>  Ed Durrant wrote
>
>   
>> Another thought if you can't "see" your wifes PC from within VBOX is to 
>> try to access the share using your wifes PC IP address rather than 
>> computer name.
>>     
>
> Wife's IP=192.168.0.4
>
> I can ping this address from an OS/2 window in my computer but not from the XP guest on my computer.
>
> >From within the XP guest, IP address=10.0.2.15, subnet mask=255.255.255.0 and Default gateway=01.0.2.2
>
> Is this the problem?
>
> Peter R
>   

Was that a typo - default gateway 01.0.2.2 - the default gateway must be 
on the same network subnet as the network connection that you have - so 
I guess default gateway (i.e. VB/2) is 10.0.2.2 which would be OK.

Can you access the internet from the virtualised WXP session - if so 
that says your communication out of VBox is OK.

Can you do a tracert to some address on the Internet please? then we can 
make sure that you are traversing the 192.168.0.X network where your 
wife's PC is located.

-- 
Cheers/2

Ed

eComStationAustralia podcast RSS feed http://eComStationAustralia.podbean dot com/feed or iTunes
Warpstock Europe at Stralsund, Germany 12-15 November 2009 http://www.warpstock.eu

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   4 ==========================**

Date:  Sun, 18 Oct 2009 18:19:45 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:  Re:  Networking with Vbox/2

Ed Durrant wrote
>Was that a typo - default gateway 01.0.2.2 

Yes, should have been 10.0.2.2

>Can you access the internet from the virtualised WXP session - if so 
>that says your communication out of VBox is OK.

Yes it can.

>Can you do a tracert to some address on the Internet please? then we can 
>make sure that you are traversing the 192.168.0.X network where your 
>wife's PC is located.

At DOS prompt in XP guest, I tried 

tracert 74.125.155.99

Tracing route to px-in-f99.google dot com [74.125.155.99]
over a maximum of 30 hops:

  1  <1ms   <1 ms  <1ms  10.0.2.2.

then after that they time out.

But this is while I can surf the net in the same session on the XP guest.

Peter R

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   5 ==========================**

Date:  Sun, 18 Oct 2009 18:48:13 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Networking with Vbox/2

Peter Rehfisch wrote:
> Ed Durrant wrote
>   
>> Was that a typo - default gateway 01.0.2.2 
>>     
>
> Yes, should have been 10.0.2.2
>
>   
>> Can you access the internet from the virtualised WXP session - if so 
>> that says your communication out of VBox is OK.
>>     
>
> Yes it can.
>
>   
>> Can you do a tracert to some address on the Internet please? then we can 
>> make sure that you are traversing the 192.168.0.X network where your 
>> wife's PC is located.
>>     
>
> At DOS prompt in XP guest, I tried 
>
> tracert 74.125.155.99
>
> Tracing route to px-in-f99.google dot com [74.125.155.99]
> over a maximum of 30 hops:
>
>   1  <1ms   <1 ms  <1ms  10.0.2.2.
>
> then after that they time out.
>
> But this is while I can surf the net in the same session on the XP guest.
>
> Peter R
>
> --------------------------------------------------
>  
>  http://www./melbpc/  -  The Melbourne OS/2 SIG
===
>
>   
Hmm, it looks like tracert is blocked then.

Can you turn off the windows firewall and try again please?

-- 
Cheers/2

Ed

eComStationAustralia podcast RSS feed http://eComStationAustralia.podbean dot com/feed or iTunes
Warpstock Europe at Stralsund, Germany 12-15 November 2009 http://www.warpstock.eu

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   5 ==========================**

Date:  Sun, 18 Oct 2009 19:05:46 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:  Re:  Networking with Vbox/2

Ed Durrant wrote

>Hmm, it looks like tracert is blocked then.
>
>Can you turn off the windows firewall and try again please?

Sorry, Ed, but it is off.

Peter R
--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   6 ==========================**

Date:  Sun, 18 Oct 2009 19:08:35 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:  Re:  Networking with Vbox/2

On my OS/2 host, I have protocols

IBM OS/2 NETBIOS OVER TCP/IP and 
IBM TCP/IP

enable for my network card. Is this enough?

Peter R

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   6 ==========================**

Date:  Sun, 18 Oct 2009 21:46:08 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Networking with Vbox/2

Peter Rehfisch wrote:
> On my OS/2 host, I have protocols
>
> IBM OS/2 NETBIOS OVER TCP/IP and 
> IBM TCP/IP
>
> enable for my network card. Is this enough?
>
> Peter R
>
> --------------------------------------------------
>  
>  http://www./melbpc/  -  The Melbourne OS/2 SIG
===
>
>   

As VBox/2 loads it's own "helper":
REM VirtualBox helper driver
DEVICE=F:\PROGRAMS\VirtualBox\VBoxDrv.sys

I think it can access the hardware directly rather than relying upon 
what protocols you have assigned to the NIC under OS/2. This protocol 
drivers would be the "equivalent" to what windows would be looking for 
but I don't think that will actually affect VBox/2.

I take it you are still set at NAT in VB/2 and haven't changed to use 
"Host Interface"? - Don't bother - it fails as it cannot find a TAP$ 
network driver.

I know Networking is one part of the OSE version of VB/2 is not 
complete, so it's possible that what you are trying to do wont work at 
the moment. If you can map a drive to your wife's PC under eCS, it still 
doesn't help as shared folders have not been implemented yet under VB/2.

Using NAT "should" work with TCPBEUI (Netbios over IP) between eCS and 
Windows or Windows and Windows but it may be a problem with the NAT 
engine in VB/2.

I have just set up the same scenario here - VB/2 running WXP and a WXP 
system sharing a folder on the home LAN - I cannot access it - so it 
looks almost as if the networking from VB/2 only goes to the default 
route on the home LAN - namely your router.

This does seem like a problem in NAT, but until development on VB/2 can 
start again - at thats awaiting the new QT (and possibly other) code to 
be supported in the OS/2 compiler, so it could take a while - I think 
you're stuck!

Then again if you can install the TAP$ driver, then you may be able to 
make this work in the "host interface" mode.

Here's the instructions from readme.os2 on how to do this:

============

If you want TAP/HIF networking support, you need to install the
TAP driver.
Copy the files tap.nif and prot.os2 to
\IBMCOM\MACS dir.
Start mpts.exe , select "TAP driver for Vbox/2" and add it as
it was a new nic. Select the TCP/IP protocol, and add it to
the TAP driver.

Exit mpts, and reboot.
===================

I guess in this case (this is VBOX's NIC) - you will probably need to 
add Netbios over IP as well.

-- 
Cheers/2

Ed

eComStationAustralia podcast RSS feed http://eComStationAustralia.podbean dot com/feed or iTunes
Warpstock Europe at Stralsund, Germany 12-15 November 2009 http://www.warpstock.eu

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   7 ==========================**

Date:  Sun, 18 Oct 2009 22:24:10 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Networking with Vbox/2

Ed Durrant wrote:
> Peter Rehfisch wrote:
>> On my OS/2 host, I have protocols
>>
>> IBM OS/2 NETBIOS OVER TCP/IP and IBM TCP/IP
>>
>> enable for my network card. Is this enough?
>>
>> Peter R
>>
>> --------------------------------------------------
>> 
>> http://www./melbpc/ - The Melbourne OS/2 SIG
>===
>>
>
> As VBox/2 loads it's own "helper":
> REM VirtualBox helper driver
> DEVICE=F:\PROGRAMS\VirtualBox\VBoxDrv.sys
>
> I think it can access the hardware directly rather than relying upon 
> what protocols you have assigned to the NIC under OS/2. This protocol 
> drivers would be the "equivalent" to what windows would be looking for 
> but I don't think that will actually affect VBox/2.
>
> I take it you are still set at NAT in VB/2 and haven't changed to use 
> "Host Interface"? - Don't bother - it fails as it cannot find a TAP$ 
> network driver.
>
> I know Networking is one part of the OSE version of VB/2 is not 
> complete, so it's possible that what you are trying to do wont work at 
> the moment. If you can map a drive to your wife's PC under eCS, it 
> still doesn't help as shared folders have not been implemented yet 
> under VB/2.
>
> Using NAT "should" work with TCPBEUI (Netbios over IP) between eCS and 
> Windows or Windows and Windows but it may be a problem with the NAT 
> engine in VB/2.
>
> I have just set up the same scenario here - VB/2 running WXP and a WXP 
> system sharing a folder on the home LAN - I cannot access it - so it 
> looks almost as if the networking from VB/2 only goes to the default 
> route on the home LAN - namely your router.
>
> This does seem like a problem in NAT, but until development on VB/2 
> can start again - at thats awaiting the new QT (and possibly other) 
> code to be supported in the OS/2 compiler, so it could take a while - 
> I think you're stuck!
>
> Then again if you can install the TAP$ driver, then you may be able to 
> make this work in the "host interface" mode.
>
> Here's the instructions from readme.os2 on how to do this:
>
============
>
> If you want TAP/HIF networking support, you need to install the
> TAP driver.
> Copy the files tap.nif and prot.os2 to
> \IBMCOM\MACS dir.
> Start mpts.exe , select "TAP driver for Vbox/2" and add it as
> it was a new nic. Select the TCP/IP protocol, and add it to
> the TAP driver.
>
> Exit mpts, and reboot.
===================
>
> I guess in this case (this is VBOX's NIC) - you will probably need to 
> add Netbios over IP as well.
>
Using the TAP$ driver and "host interface" appears to work - the virtual 
(XP) session gets a DHCP address from the router so it's on the same 
network and I can now see the "real" XP system from the virtual one. I 
can't access a share on it as I have a security lock down on the system, 
but that probably isn't the case on your systems.

So it looks like this is the way to go for what you want to do!

-- 
Cheers/2

Ed

eComStationAustralia podcast RSS feed http://eComStationAustralia.podbean dot com/feed or iTunes
Warpstock Europe at Stralsund, Germany 12-15 November 2009 http://www.warpstock.eu

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===