VirtualBox

Changes between Version 5 and Version 6 of Sharing_files_with_DOS


Ignore:
Timestamp:
08/31/11 11:31:03 (3 years ago)
Author:
michaln
Comment:

Fixed (lots of) typos, added links.

Legend:

Unmodified
Added
Removed
Modified
  • Sharing_files_with_DOS

    v5 v6  
    33== Overview == 
    44  
    5 Below you find tips on how to set up host/guest networking. The guest is a DOS 6.22 VM.  
    6 My host system is a typical WinXP machine with a 1280 x 1024 display. I used !VirtualBox 1.4.0. 
     5Below you find tips on how to set up host/guest networking. The guest was a DOS 6.22 VM, but any DOS 5.0 or later version may be used. 
     6My host system is a typical Windows machine. I used !VirtualBox 1.4.0. 
    77  
    88== Prerequisites == 
    99  
    10 What do you need (apart from having a basic DOS 6.22 VM): 
    11  * MS Client for networks (two self-extracting files DSK3-1.EXE, DSK3-2.EXE) 
    12  * wg1049.exe 
    13  * netshar.exe 
    14  * Microsoft KB 128800 - on how to add extra NDIS2 drivers to the client setup 
    15  * AMD NIC drivers 
     10What you need (apart from having a basic DOS VM): 
     11 * MS Client for networks (two self-extracting files [ftp://ftp.microsoft.com/bussys/clients/MSCLIENT/DSK3-1.EXE DSK3-1.EXE], [ftp://ftp.microsoft.com/bussys/clients/MSCLIENT/DSK3-2.EXE DSK3-2.EXE]) 
     12 * AMD NDIS2 (not NDIS3!) NIC [http://support.amd.com/us/Embedded_TechDownloads/wfw31.zip drivers] for Windows 3.1 
     13 * [ftp://ftp.microsoft.com/Softlib/MSLFILES/WG1049.EXE wg1049.exe] (optional) 
     14 * [ftp://ftp.microsoft.com/Softlib/MSLFILES/WG1049.EXE netshar.exe] (optional) 
     15 * [http://support.microsoft.com/kb/128800 Microsoft KB 128800] - on how to add extra NDIS2 drivers to the client setup (optional) 
    1616  
    17 All the above is available at the web; e.g. check contributions by Johannes Helmig on connecting DOS clients. I used these AMD drivers: "NDIS2 driver for Windows 3.1 - 166 KB" which results in a file wfw31.exe. 
     17Important: Set up the VM's network adapter to use bridged networking. See the [/wiki/Downloads VirtualBox manual] for additional explanation and details. The default NAT networking does not allow the VM to communicate with the host, which is what most users want. 
    1818  
    19 Important: create a host interface .e.g VM1 external, and select Host Interface networking for your DOS VM, connecting it to VM1 external. See the [/wiki/Downloads VirtualBox manual] for additional explanation and details.  
     19=== Add AMD PCnet NDIS driver to MS Client setup === 
    2020  
    21 === Add AMD NDIS driver to MS Client setup === 
    22   
    23 With the AMD drivers available and the files dsk3-1.exe and dsk3-2.exe:  
    24  * run dsk3-1 and dsk3-2 in a temporary directory  
    25  * follow MS KB 128800 instructions on how to add the AMD NDIS drivers to the setup routine  
     21With the AMD PCnet drivers available and the files dsk3-1.exe and dsk3-2.exe: 
     22 * Run dsk3-1 and dsk3-2 in a temporary directory (or unzip them, as they are self-extracting ZIP archives). 
     23 * Follow MS KB 128800 instructions on how to add the AMD NDIS drivers to the setup routine. 
    2624  
    2725=== MS Client setup === 
    2826  
    29 Run setup from the temporary directory above. Hints:  
    30  * give host and guest the same workgroup name  
    31  * select basic redirection (to save memory in the DOS VM)  
    32  * when done: set filesharing to yes in the \NET\SYSTEM.INI file.  
     27Run setup from the temporary directory above. Hints: 
     28 * Give host and guest the same workgroup name. 
     29 * Select basic redirection (to save memory in the DOS VM). 
     30 * When done: set filesharing to yes in the \NET\SYSTEM.INI file. 
    3331  
    34 The default protocol is the NWlink one and that should do. No need to add e.g. NetBEUI.  
     32The default protocol is NWlink and that should do. No need to add e.g. NetBEUI. 
    3533  
    36 Additional steps:  
    37  * copy netshar.exe and wg1049.exe to the \NET directory  
    38  * run these two executables there, they'll add and/or overwirte some files.  
     34Additional steps: 
     35 * Copy netshar.exe and wg1049.exe to the \NET directory. 
     36 * Run these two executables there, they'll add and/or overwrite some files. 
    3937  
    40 === Host preparations === 
     38=== Host preparation === 
    4139  
    42 Before creating the DOS VM I created a Host Interface (see the [/download/UserManual.pdf VirtualBox manual]). Using WinXP Network setup I modified TCPIP proterties to use this IP address: 192.168.0.1 (subnetmask 255 255 255 0).  
     40If you want to share your host's c:\ drive, allow c:\ to be shared (e.g. as 'C'), and allow users to modify your files as well; this will give read/write access to your c:\ drive. Keep security in mind; restrict access and require passwords to access data. 
    4341  
    44 If you want to share your c:\ drive: allow c:\ to be shared (e.g. as C, and allow users to modify your files as well; this will give read/write access to your c:\ drive (note: not recommended for security reasons).  
     42Be sure to have the same workgroup set up for both machines - host and guest. 
     43 
     44=== Client preparation === 
    4545  
    46 Be sure to have the same workgroup for both machines - host and guest.  
     46Once your VM reboots, you can map or share drives.  
    4747  
    48 === Client preparations === 
    49   
    50 Once your VM reboots you can export and import drives.  
    51   
    52 Assuming that the VM computer name is DOSCLNT:  
     48Assuming that the VM computer name is DOSCLNT: 
    5349{{{ 
    5450C:\> net share dosc c:\ 
    5551}}} 
    5652  
    57 and assuming that your host computer name is XPHOST:  
     53and assuming that your host computer name is WINHOST:  
    5854{{{ 
    59 C:\> net use e: \xphost\c 
     55C:\> net use e: \winhost\c 
    6056}}} 
    6157  
    62 Results can be schecked by the follwng tow commands:  
     58Results can be checked by the following two commands:  
    6359{{{ 
    6460C:\> net share 
     
    7066== Final result == 
    7167  
    72 Now I can read from and write to my hosts drive from the !VirtualBox DOS machine! Internet access via the physical host IC is still possible including keeping the host firewall alive.  
     68Now I can read from and write to my hosts drive from the !VirtualBox DOS machine! Internet access via the physical host NIC is still possible including keeping the host firewall alive.  
    7369  
    7470I did not care much about optimization, just wanted to get it up and running. 
    7571 
    7672Limitations:  
    77  * I was not able to read guest files from the host.  
    78  * for security reasons I would not recommend sharing your root drive with anyone.  
     73 * I was not able to read guest files from the host. 
     74 * For security reasons I would not recommend sharing your root drive with anyone. 

www.oracle.com
ContactPrivacy policyTerms of Use