VirtualBox

Changes between Initial Version and Version 1 of Sharing_files_with_DOS


Ignore:
Timestamp:
Jan 15, 2008 3:21:44 PM (16 years ago)
Author:
Frank Mehnert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Sharing_files_with_DOS

    v1 v1  
     1= Set up a DOS VM with networking (and shared folders). =
     2 
     3== Overview ==
     4 
     5Below you find tips on how to set up host/guest networking. The guest is a DOS 6.22 VM.
     6My host system is a typical WinXP machine with 1280*1024 display. I used VirtualBox 1.4.0.
     7 
     8== Prerequisites ==
     9 
     10What 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
     16 
     17All the above is available at the web; e.g. check contributions by Johannes Helmig on connecting DOS clients.
     18 
     19I used these AMD drivers: "NDIS2 driver for Windows 3.1 - 166 KB" which results in a file wfw31.exe
     20 
     21Important: create a host interface .e.g VM1 external, and select Host Interface networking for your DOS VM, connecting it to VM1 external. See the VirtualBox manual for additional explanation and details.
     22 
     23=== Add AMD NDIS driver to MS Client setup ===
     24 
     25With the AMD drivers available and the files dsk3-1.exe and dsk3-2.exe:
     26 * run dsk3-1 and dsk3-2 in a temporary directory
     27 * follow MS KB 128800 instructions on how to add the AMD NDIS drivers to the setup routine
     28 
     29=== MS Client setup ===
     30 
     31Run setup from the temporary directory above. Hints:
     32 * give host and guest the same workgroup name
     33 * select basic redirection (to save memory in the DOS VM)
     34 * when done: set filesharing to yes in the \NET\SYSTEM.INI file.
     35 
     36The default protocol is the NWlink one and that should do. No need to add e.g. NetBEUI.
     37 
     38Additional steps:
     39 * copy netshar.exe and wg1049.exe to the \NET directory
     40 * run these two executables there, they'll add and/or overwirte some files.
     41 
     42=== Host preparations ===
     43 
     44Before creating the DOS VM I created a Host Interface (see VirtualBox manual). Using WinXP Network setup I modified TCPIP proterties to use this IP address: 192.168.0.1 (subnetmask 255 255 255 0).
     45 
     46If 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).
     47 
     48Be sure to have the same workgroup for both machines - host and guest.
     49 
     50=== Client preparations ===
     51 
     52Once your VM reboots you can export and import drives.
     53 
     54Assuming that the VM computer name is DOSCLNT:
     55{{{
     56C:\> net share dosc c:\
     57}}}
     58 
     59and assuming that your host computer name is XPHOST:
     60{{{
     61C:\> net use e: \xphost\c
     62}}}
     63 
     64Results can be schecked by the follwng tow commands:
     65{{{
     66C:\> net share
     67C:\> net use
     68}}}
     69 
     70Now you should be able to read from and write to the host.
     71 
     72== Final result ==
     73 
     74Now I can read from and write to my hosts drive from the VB DOS machine ! Internet access via the physical host IC is still possible including keeping the host firewall alive.
     75 
     76I did not care much about optimisation, just wanted to get it up and running.
     77 
     78Limitations:
     79 * I was not able to read guest files from the host.
     80 * for security reasons I would not recommend sharing your root drive with anyone.

© 2023 Oracle
ContactPrivacy policyTerms of Use