VOGONS

Common searches


First post, by alex_ncfc

User metadata
Rank Newbie
Rank
Newbie

Hi all,

I've always been interested in virtualisation etc, and have never really found a platform where Windows 3.11 is solid. Virtual PC comes closest, but will randomly crash out at times.

I've been reading all the Windows 3.11 in DOSBOX guides, and gave it a go on the NE2K patched version. I know it's not supported but I've been curious about getting Windows 3.11 networking to work. It didn't work in 'standard' DOSBOX because I can't load IFSHLP to start the network, but following the guide at:

http://www.transmissionzero.co.uk/computing/i … sdos-in-dosbox/

I have been able to install Windows 3.11 into an image in DOS BOX and it still seems very solid! And also I can now get Windows to see the network card and start the network. But when using TCP/IP, it is failing to grab an IP address using DHCP. When restarting Windows, there is a blank, black screen after the Windows 3.11 splash screen. This is, I assume, where there would be a blue screen saying it has been unable to allocate an IP address and "Do you want to continue receiving these messages?" because when I press 'N' on the keyboard, it then goes straight into Windows, albeit there is no working TCP/IP - IPCONFIG.EXE gives "failed to retrieve IP information from the driver" or something. I feel if I can get it to grab an IP address, then networking should work through DOSBOX, because it's seeing the card, and it's clearly attempting to get an IP - but I have had no luck using either DHCP or setting the IP statically.

Any ideas? When I set realnic to "list", I get these devices listed. How am I supposed to know which one is my actual NIC?

Network Interface List
-----------------------------------
1. rpcap://\Device\NPF_{1AE778F6-51B7-4D1C-8E6B-23AE902A7685}
(Network adapter 'Microsoft' on local host)

2. rpcap://\Device\NPF_{4B09BD78-A8A5-4997-A903-91E7391DD050}
(Network adapter 'Sun' on local host)

3. rpcap://\Device\NPF_{9D43D31F-5BAD-4EE1-B3CA-51767309BA87}
(Network adapter 'Microsoft' on local host)

4. rpcap://\Device\NPF_{33016A9D-87BB-4C52-9892-A1DA8D5B5989}
(Network adapter 'Microsoft' on local host)

As far as I can tell WinPcap is functioning OK, as Windows 3.11 is detecting the NE2000 card.

Also as a side question, why is there a blank black screen instead of the blue screen during Windows boot-up? Similarly, Scandisk.exe shows in Monochrome, but MSD.EXE shows in full colour.

Last but not least, I know that DOSBOX is purely intended for playing old games, a task I also use it for. But I see no reason why networking cannot work on this configuration and being as DOSBOX seems the most stable platform I have found for Windows 3.11, if it could get going it'd be great.

Thanks

CURRENT BUILD
Still using my 'retro'
AMD 64 X2 4200
3GB DDR400 RAM
400GB HARD DRIVE
WINDOWS 7
PNY GEFORCE 8800GT
ASUS A8N-SLI-DELUXE

Reply 1 of 9, by alex_ncfc

User metadata
Rank Newbie
Rank
Newbie

Update: Have now got Windows 3.11 getting an IP address (not sure if it was down to IRQ problem on the NE2000.com command line or the fact I didn't have EMM386.EXE NOEMS loaded) It's not seeing any other computer on the network though and nor is my Windows 7 PC seeing it, despite being in the same workgroup. PING is working between both machines though! So I am confused. Any ideas?

CURRENT BUILD
Still using my 'retro'
AMD 64 X2 4200
3GB DDR400 RAM
400GB HARD DRIVE
WINDOWS 7
PNY GEFORCE 8800GT
ASUS A8N-SLI-DELUXE

Reply 2 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Windows Networking has changed just a teensy bit between Windows 3.x and Windows 7. At the very least, you'll need to explicitly enable NetBIOS over TCP/IP in Windows 7.

You might just want to dispense with Windows Networking entirely and use, say, SSH instead. There are tiny portable SFTP servers you can run on your Windows 7 machine, and there's bound to be a decent SFTP client for Win3.x out there somewhere.

Reply 3 of 9, by alex_ncfc

User metadata
Rank Newbie
Rank
Newbie

Thanks for the response 😀

As you say, seems things have changed. 99% certain that the NetBIOS over TCP is enabled on Windows 7, but I don't even have the NetBIOS or IPX protocols installed on the DOSBOX machine. Should this matter?? I fired up 3.11 in MS Virtual PC 2007 and the two File Managers can see the shares! So seems networking is working to an extent. However, the net refuses to work in IE5 or Netscape in DOSBOX. Why would this be when the IP configuration all seems to be fully working?? I don't really have a goal, as such by the way right now, but I like to mess around in virtualisation environments, especially seeing how far you can push MS-DOS/Windows 3.11.

Thanks again

CURRENT BUILD
Still using my 'retro'
AMD 64 X2 4200
3GB DDR400 RAM
400GB HARD DRIVE
WINDOWS 7
PNY GEFORCE 8800GT
ASUS A8N-SLI-DELUXE

Reply 4 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

I fired up 3.11 in MS Virtual PC 2007 and the two File Managers can see the shares! So seems networking is working to an extent.

Yes, that's a good sign (if I read you correctly).

Are you using Windows for Workgroups with the TCP/IP stack installed?

I've speculated that one quick-and-dirty way to get Internet access in DOSBox is to use tshost in Windows (one way or another) and Twinsock within DOSBox, similar to http://virtuallyfun.superglobalmegacorp.com/?p=376 , but I don't know if anyone ever gave it a shot. That's something of a kludge anyway.

Reply 5 of 9, by alex_ncfc

User metadata
Rank Newbie
Rank
Newbie

Yes I am using WFWG 3.11 with the latest TCP/IP stack. I am now trying another DOSBOX build with the NE2000 patch, which seems more stable (the other one corrupted the screen when using the DOS prompt so I couldn't accurately use utilities like PING and IPCONFIG) but I still can't really get very far.

I booted WFWG on DOSBOX and then started a Windows 98 VM in Virtual PC 2007 and I was able to play MS Hearts against myself, (ha) and this just over TCP/IP - so the ability is there, I just can't understand why anything more modern, like 7 or 8, can't "see" the DOSBOX VM because TCP/IP is obviously standard across the board, so in theory, there should be no reason why they can't show up. They can PING each other and return results OK, but nothing more. Definitely something on the DOSBOX configuration side, I believe, because the Windows 98 VM in Virtual PC can communicate with Windows 7/8 boxes fine.

CURRENT BUILD
Still using my 'retro'
AMD 64 X2 4200
3GB DDR400 RAM
400GB HARD DRIVE
WINDOWS 7
PNY GEFORCE 8800GT
ASUS A8N-SLI-DELUXE

Reply 6 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
alex_ncfc wrote:

I booted WFWG on DOSBOX and then started a Windows 98 VM in Virtual PC 2007 and I was able to play MS Hearts against myself, (ha) and this just over TCP/IP - so the ability is there, I just can't understand why anything more modern, like 7 or 8, can't "see" the DOSBOX VM because TCP/IP is obviously standard across the board, so in theory, there should be no reason why they can't show up.

TCP/IP is standard, but Windows Networking is anything but!

Perhaps someone else with more experience will jump in, but in the meantime I speculate that this might have something to do with the nature of WinPcap. Virtual PC has its own network adapter on the host; if I'm not mistaken, WinPcap does not. Maybe installing a Loopback Adapter will do the trick? This is purely a software thing; you can read an example about how to do it (in relation to an entirely different operation) at http://www.nikhef.nl/~janjust/CifsOverSSH/VistaLoopback.html .

Reply 7 of 9, by alex_ncfc

User metadata
Rank Newbie
Rank
Newbie

Thanks again for taking the time to respond 😀

I will look at your idea/link shortly, but it seems some progress has been made. I have disabled all other adapters in "Network adapters" in Windows 7 as I believe WinPcap might be getting confused. It seems now Windows 7 can see the file/folder shares made in Windows 3.11 in the DOSBOX. However, Windows 3.11 in DOSBOX cannot access the shares on Windows 7. It says simply, "This server does not support listing of shared resources" - odd!

Also I still can't see why Windows 3.11 in DOSBOX cannot access the internet in browsers. Nothing happens at all, until an eventual "could not connect to host" or "page cannot be found" etc. Maybe the possible solution is in your link above, which I will take a look at.

CURRENT BUILD
Still using my 'retro'
AMD 64 X2 4200
3GB DDR400 RAM
400GB HARD DRIVE
WINDOWS 7
PNY GEFORCE 8800GT
ASUS A8N-SLI-DELUXE

Reply 8 of 9, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
alex_ncfc wrote:

However, Windows 3.11 in DOSBOX cannot access the shares on Windows 7. It says simply, "This server does not support listing of shared resources" - odd!

Are you running any firewall software? Even with the standard Windows firewall, you may need to manually open the ports that NetBIOS over TCP/IP uses (137, 138, and 139).

Reply 9 of 9, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

I know that to get Win7 talking to 9x/NT4 over domains I had to lower some security in Win7 policies... Been a while tho. Not necessarily related to workgroups.

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto