Discuss: Set up (Free)DOS with networking and shared folders

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
ghr
Volunteer
Posts: 376
Joined: 25. May 2007, 22:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: DOS, Win3x, Win95, WinXP, Ubuntu, OS/2

Discuss: Set up (Free)DOS with networking and shared folders

Post by ghr »

[modedit]This howto can now be found at http://forums.virtualbox.org/viewtopic.php?f=30&t=33357. This topic is for discussion.[/modedit]
Last edited by ghr on 5. Jul 2008, 22:34, edited 5 times in total.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Post by Technologov »

ghr: Very nice !

For me, I see mostly 2 reasons to have networking under DOS: Either for multiplayer DOS games, or for Symantec Ghost system utility.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

Do you allow us to put this tutorial to http://www.virtualbox.org/wiki/User_HOWTOS?
ghr
Volunteer
Posts: 376
Joined: 25. May 2007, 22:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: DOS, Win3x, Win95, WinXP, Ubuntu, OS/2

Post by ghr »

you're welcome to do so !!
gpc1
Posts: 6
Joined: 29. Feb 2008, 13:47

NDIS drivers under DOS: terrific slow

Post by gpc1 »

That WFW3.1 solution with NDIS DOS drivers is not only hard to install, but in case of the virtualbox VM annoyingly SLOW. You end up at floppy speed. It's about 5 to 10 times slower than in not VMed DOS.
jeff99
Posts: 2
Joined: 29. Dec 2009, 10:31
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: MS-DOS 6.22

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

Post by jeff99 »

Almost got it to work...

I've implemented ghr's procedure above (and at http://www.virtualbox.org/wiki/Sharing_files_with_DOS)--except the last step. I was able to successfully execute the "C:\>net share dosc c:\" command from the VM, but not the last command "C:\>net use e: \\[host computer name]\[host sharename]". When I try this last command, I get message "Error 53: The computer name specified in the network path cannot be located"

I'd appreciate hearing any suggestions ghr (or anyone else) might have.

Host machine details:
host OS = MS Vista Ultimate SP2
member of MS Network, Workgroup name = [same as VM]
Network Connection "VirtualBox Host-Only Network" using device "VirtualBox Host-Only Ethernet Adapter"
host sharename = "VBshare" (path=C:\VBshare), which has been shared with User Group "Everyone" having read/write permission

VM details:
VirtualBox 3.1.2 PUEL
Guest OS = MS-DOS 6.22
Workgroup name = [same as Host]
Settings, Storage: VBoxGuestAddisions.iso is mounted to IDE Controller (though I think this doesn't do anything for DOS guest)
Settings, Shared Folders: sharename "VBshare" at path C:\VBshare" has been added to Shared Folders list
Settings, Network: Adapter 1 has "Enable Network Adapter" checked, attached to "NAT" (also tried "Host-only Adapter"="VirtualBox Host-Only Ethernet Adapter", but made no difference)
ghr
Volunteer
Posts: 376
Joined: 25. May 2007, 22:46
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: DOS, Win3x, Win95, WinXP, Ubuntu, OS/2

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

Post by ghr »

Hi Jeff,

In case the IP hint is not going to work... I checked my setup which is still fully functional: you might check protocols in protocol.ini (guest; needs to have NWLINK) and in addition, on the host side, I also have NWLink (actually two flavors: NWLink NetBIOS and NWLink IPX/SPX/NetBIOS compatible transport protocol).
jeff99
Posts: 2
Joined: 29. Dec 2009, 10:31
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: MS-DOS 6.22

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

Post by jeff99 »

Thanks vbox4me2 and ghr!
I'm going to give the IP address and host protocol suggestions a try tonight.
rauli
Posts: 26
Joined: 17. Feb 2010, 14:04
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows XP, DOS

Forget about Microsoft KB 128800

Post by rauli »

There's no need to use Microsoft KB 128800 to setup MS network client using the AMD PCnet FastIII drivers. It is possible to use the second entry in the hardware list (NIC not listed here, or similar) and when you are asked for a directory, type the directory where the drivers are.
Of course, you need the uncompressed files, not the wfw31.exe, a possible way to do it is execute wfw31.exe in your host machine, or any Windows computer, instruct it to put the files in a diskette, and in the guest machine copy the files from the diskette to a hard disk directory.
rauli
Posts: 26
Joined: 17. Feb 2010, 14:04
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows XP, DOS

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

Post by rauli »

Like the others, I didn't manage to access from the host machine to the guest shared files. My host machine doesn't even see the guest one in the workgroup. I think some way of port forwarding is needed, but I don't know how to do it.

On the host machine (Windows XP SP3) I looked in the Windows firewall, and when files and printer sharing is enabled, it has an exception for the 139 and 445 TCP ports, and 137 and 138 UDP ports. I suppose something similar should be configured in the guest machine. Does anybody know how to do it?
doomcup
Posts: 1
Joined: 15. Nov 2010, 04:47
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: FreeDOS

Re: Disucss: Set up (Free)DOS with networking and shared folders

Post by doomcup »

I'm trying to get FreeDOS in networking shape, and though i was able to find most of the other files necessary, wfw31.exe seems to have fallen off the face of the internet as I can't find it anywhere. Without this it seems I'll be unable to do any networking whatsoever. Can anyone point me to it if it still exists anywhere? And if not, is there another way to get FreeDOS working with the stuff on the full install disc?
mprawira
Posts: 1
Joined: 26. Aug 2011, 10:58
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: freedos

Re: Disucss: Set up (Free)DOS with networking and shared folders

Post by mprawira »

Hi All,

Since I have a crutial applications under dos that I need to maintain under windows 7, I need to make Virtualbox with freedos image. However I could not get it to work and share files between it and windows 7. I could not even get the files required as per the previous thread into the freedos enviroment. I really appriciate your help in getting this up and running. I have also tried the image that is available from lazydog website with no luck.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: Disucss: Set up (Free)DOS with networking and shared folders

Post by michaln »

I don't understand the suggestion to use NWLink in the guest. Almost no one has that set up on their (Windows) host, and it's not even an option for talking to non-Windows hosts. Even though it's much more memory hungry, the TCP/IP transport in the MS Client works and enables connectivity on modern networks. It can also be used to access SMB shares on, say, a Mac box.
dokhebi
Posts: 3
Joined: 18. Mar 2011, 12:06
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Fedora 14 (32- and 64-bit), Oracle Enterprise Linux 5

Re: Disucss: Set up (Free)DOS with networking and shared fol

Post by dokhebi »

Has anyone been able to get a FreeDOS guest on a Linux host to network? I have FreeDOS v1 (I think) as a guest on Fedora 14 using VBox 4.1.4.
Post Reply