KO Myung-Hun
2013-03-24 11:58:24 UTC
Hi/2.
Maybe you know the way to connect to Win7 host from OS/2 guest in
VirtualBox. Then it's ok to skip this article. ^^
At first, you should read a very useful article by Gene Alexander before
reading this.
http://www.eracc.com/content/ecs-samba-client-windows-7-professional
That article describes the way about a real machine. Now, do it for a
virtual machine. ^^
When you install VirtualBox, VirtualBox Host-Only Network is installed.
You can do the share using this software loopback adapter.
First, check the IP address of the VirtualBox Host-Only Network adapter.
There are many ways to do this. It's ok to do whatever you know of these
ways. In this article, check in VirtualBox.
1. Open VirtualBox
2. File - Preferences... - Network
3. Select 'VirtualBox Host-Only Ethernet Adapter'
4. Click 'Edit' icon on the right of list box.
5. Now you can check the IP address and IPv4 Network Mask.
6. Click DHCP Server tab
7. Then check 'Enable Server'
8. Fill in the entry fields as you want
The following is my case.
IPv4 Address : 192.168.56.1
IPv4 Network Mask : 255.255.255.0
Server Address : 192.168.56.100
Server Mask : 255.255.255.0
Lower Address Bound : 192.168.56.101
Upper Address Bound : 192.168.56.254
Then, select your virtual machine. And open your Network settings of
your virtual machine.
Now you should choose a network type of virtual machine. In this case,
choose NAT. Of course, you should check 'Cable connected'. ^^
Then, open your virtual machine. Your OS/2 virtual machine should be
configured by DHCP client. If you don't know this, please refer to other
document or article. Maybe google is your friend. ^^
Now we came to the very important stage.
Check your samba client version. You should use 3.5.x build. In my case,
3.3.x build cannot to connect to Win7 host.
Of course, if you have no problem you don't have to upgrade to 3.5.x build.
If all are ready, configure samba client. If you read the article by
Gene Alexander carefully, when you mount a samba resource, it's ok just
to fill in Server field with the IP address of you VirtualBox Host-Only
Adapter. In this case, it was 192.168.56.1.
That's all. Now you can connect to Win7 host from OS/2 guest in VirtualBox.
The good point of this method is that there is no need to worry about
which external adapter is connected to the internet. It's enough that
only one adapter of those is connected.
But the bad point is that bottle-neck phenomenon occurs when accessing a
shared resource from time to time, and fails to open a file due to the
same reason.
I don't know the reason exactly, I guess this is a problem of VirtualBox
Host-Only Network adapter which is a software loopback not a samba client.
If possible, you can avoid this problem using Bridged Adapter. You can
choose this in your network settings of your virtual machine. All you to
do is choose 'Bridged Adapter' instead of 'NAT' at 'Attached to'. And
you should choose a real adapter to be bridged.
In this case, you should configure your virtual machine in according to
your real network configuration. If your network uses DHCP, it should be
configured automatically by DHCP, otherwise manually as guided by your
network administrator. Because bridged adapter is treated a another real
network adapter in the external. Of course, you should fill in Server
field with IP address of your bridged adapter.
This method has no bottle-neck problem as NAT. But the bridged-adapter
is not connected to internet in spite of other adapter's begin
connected, your virtual machine cannot be connected to the internet.
And you should be assigned an additional IP address from your network
administator.
Now all you have to do is to enjoy the convenient from the sharing
between Win7 and OS/2.
Good luck. ^^
Maybe you know the way to connect to Win7 host from OS/2 guest in
VirtualBox. Then it's ok to skip this article. ^^
At first, you should read a very useful article by Gene Alexander before
reading this.
http://www.eracc.com/content/ecs-samba-client-windows-7-professional
That article describes the way about a real machine. Now, do it for a
virtual machine. ^^
When you install VirtualBox, VirtualBox Host-Only Network is installed.
You can do the share using this software loopback adapter.
First, check the IP address of the VirtualBox Host-Only Network adapter.
There are many ways to do this. It's ok to do whatever you know of these
ways. In this article, check in VirtualBox.
1. Open VirtualBox
2. File - Preferences... - Network
3. Select 'VirtualBox Host-Only Ethernet Adapter'
4. Click 'Edit' icon on the right of list box.
5. Now you can check the IP address and IPv4 Network Mask.
6. Click DHCP Server tab
7. Then check 'Enable Server'
8. Fill in the entry fields as you want
The following is my case.
IPv4 Address : 192.168.56.1
IPv4 Network Mask : 255.255.255.0
Server Address : 192.168.56.100
Server Mask : 255.255.255.0
Lower Address Bound : 192.168.56.101
Upper Address Bound : 192.168.56.254
Then, select your virtual machine. And open your Network settings of
your virtual machine.
Now you should choose a network type of virtual machine. In this case,
choose NAT. Of course, you should check 'Cable connected'. ^^
Then, open your virtual machine. Your OS/2 virtual machine should be
configured by DHCP client. If you don't know this, please refer to other
document or article. Maybe google is your friend. ^^
Now we came to the very important stage.
Check your samba client version. You should use 3.5.x build. In my case,
3.3.x build cannot to connect to Win7 host.
Of course, if you have no problem you don't have to upgrade to 3.5.x build.
If all are ready, configure samba client. If you read the article by
Gene Alexander carefully, when you mount a samba resource, it's ok just
to fill in Server field with the IP address of you VirtualBox Host-Only
Adapter. In this case, it was 192.168.56.1.
That's all. Now you can connect to Win7 host from OS/2 guest in VirtualBox.
The good point of this method is that there is no need to worry about
which external adapter is connected to the internet. It's enough that
only one adapter of those is connected.
But the bad point is that bottle-neck phenomenon occurs when accessing a
shared resource from time to time, and fails to open a file due to the
same reason.
I don't know the reason exactly, I guess this is a problem of VirtualBox
Host-Only Network adapter which is a software loopback not a samba client.
If possible, you can avoid this problem using Bridged Adapter. You can
choose this in your network settings of your virtual machine. All you to
do is choose 'Bridged Adapter' instead of 'NAT' at 'Attached to'. And
you should choose a real adapter to be bridged.
In this case, you should configure your virtual machine in according to
your real network configuration. If your network uses DHCP, it should be
configured automatically by DHCP, otherwise manually as guided by your
network administrator. Because bridged adapter is treated a another real
network adapter in the external. Of course, you should fill in Server
field with IP address of your bridged adapter.
This method has no bottle-neck problem as NAT. But the bridged-adapter
is not connected to internet in spite of other adapter's begin
connected, your virtual machine cannot be connected to the internet.
And you should be assigned an additional IP address from your network
administator.
Now all you have to do is to enjoy the convenient from the sharing
between Win7 and OS/2.
Good luck. ^^
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.22 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.22 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr