Set up a (Free)DOS VM with networking (and shared folders)

Set up a (Free)DOS VM with networking (and shared folders)

Postby ghr » 14. Jul 2007, 12:59

An updated version of this howto is at https://www.virtualbox.org/wiki/Sharing_files_with_DOS

For your information: here are three essential files from my DOS VM with filesharing (checked with Win7 as host and Ubuntu 14.04, using VirtualBox 4.3.36):
    CONFIG.SYS
    AUTOEXC.BAT
    PROTOCOL.INI
Of course I got these files here via file sharing :)

CONFIG.SYS:
Code: Select all   Expand viewCollapse view
DEVICE=C:\SYSTEM\HIMEM.SYS
DOS=HIGH
FILES=30
DEVICE=C:\CDROM\AOATAPI.SYS /D:CD001
device=C:\NET\ifshlp.sys
LASTDRIVE=Z


AUTOEXEC.BAT:
Code: Select all   Expand viewCollapse view
C:\NET\net initialize
@ECHO OFF
PROMPT $p$g
PATH C:\NET;C:\SYSTEM;C:\BATFILES
SET TEMP=C:\SYSTEM
C:\CDROM\MSCDEX /D:CD001
C:\DEXXAMSE\MOUSE.COM
DOSKEY
C:\DOSIDLE\DOSIDLE.EXE

C:\NET\netbind.com
C:\NET\umb.com
C:\NET\tcptsr.exe
C:\NET\tinyrfc.exe
C:\NET\nmtsr.exe
C:\NET\emsbfr.exe
C:\NET\net start
REM C:\NET\net initialize
REM C:\NET\nwlink
REM C:\NET\net start


PROTOCOL.INI:
Code: Select all   Expand viewCollapse view
[network.setup]
version=0x3110
netcard=ms$pcntnd,1,MS$PCNTND,1
transport=tcpip,TCPIP
lana0=ms$pcntnd,1,tcpip

[TCPIP]
NBSessions=6
SubNetMask0=255 0 0 0
IPAddress0=0 0 0 0
DisableDHCP=0
DriverName=TCPIP$
BINDINGS=MS$PCNTND
LANABASE=0
[MS$PCNTND]
LED3=0x81
LED2=0x4088
LED1=0xb0
LED0=0xc0
TP=0
DMACHANNEL=0
INTERRUPT=0
IOADDRESS=0x0
DriverName=PCNTND$

[protman]
DriverName=PROTMAN$
PRIORITY=MS$NDISHLP


In both cases (Win, Linux) I use a host-only adapter. That 's all... Note that the host side also needs some preparations, see the Wiki.
Last edited by ghr on 5. Jul 2008, 22:34, edited 5 times in total.
ghr
Volunteer
 
Posts: 313
Joined: 25. May 2007, 22:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: DOS, Win3x, Win95, WinXP, Ubuntu, OS/2

Return to Other Guests

Who is online

Users browsing this forum: No registered users and 1 guest