{"id":10048,"date":"2013-04-24T07:52:55","date_gmt":"2013-04-24T07:52:55","guid":{"rendered":"http:\/\/gadgets.itwriting.com\/?p=2158"},"modified":"2013-04-24T07:52:55","modified_gmt":"2013-04-24T07:52:55","slug":"getting-windows-3-1-connected-to-the-internet-in-dosbox-of-course","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/10048-getting-windows-3-1-connected-to-the-internet-in-dosbox-of-course.html","title":{"rendered":"Getting Windows 3.1 connected to the internet (in DOSBox of course)"},"content":{"rendered":"<p>What if, for historical reasons, you wanted to test early Windows internet software?<\/p>\n<p>You would do well to run up <a href=\"http:\/\/www.dosbox.com\/\" target=\"_blank\">DOSBox<\/a>. Better still, the <a href=\"http:\/\/home.arcor.de\/h-a-l-9000\/index.html\" target=\"_blank\">Megabuild<\/a> version which includes an emulated NE2000 network card.<\/p>\n<p>Then you install DOS and Windows 3.x. Not too difficult if you can find copies of the software.<\/p>\n<p>What next? This is where I wasted a certain amount of time. I found <a href=\"http:\/\/www.betaarchive.com\/forum\/viewtopic.php?f=39&amp;t=17070\" target=\"_blank\">this information<\/a>:<\/p>\n<blockquote>\n<p>Run ne2000.com 0x65 3 0x300 and winpkt 0x65 before starting Windows<\/p>\n<\/blockquote>\n<p>I found ne2000.com from the above link, but where was winpkt? Eventually I found it in many-other-drivers.zip on <a href=\"http:\/\/www.crynwr.com\/drivers\/\" target=\"_blank\">crynwr.com<\/a>.<\/p>\n<p>I still was not up and running. Then it dawned on me that I needed <a href=\"http:\/\/www.winpcap.org\/\" target=\"_blank\">WinPcap<\/a> on the host PC for the NE2000 emulation to work. <\/p>\n<p>Next, I took a look at the DOSBox configuration file, which for this build is dosbox-SVN_MB6.conf. Nothing will work until you edit this file, since you need to specify which real NIC DOSBox should use. By default it is set to \u201clist\u201d, which means you get a list of candidates when you start up DOSBox.<\/p>\n<p>I use Windows 8 with Hyper-V virtual networking installed, which complicates matters. It was not obvious which NIC to use, since three of mine are distinguished in the list only by GUIDs. I got it right on the second attempt.<\/p>\n<p>Now I was getting somewhere. I had already added the driver initialisation into autoexec.bat. I installed <a href=\"http:\/\/trumpet.com.au\/index.php\/downloads.html\" target=\"_blank\">Trumpet winsock<\/a> which is still for sale though you get 30 days trial.&nbsp; You just have to configure it. No DHCP but not too difficult:<\/p>\n<p><a href=\"http:\/\/gadgets.itwriting.com\/wp-content\/uploads\/2013\/04\/image22.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/gadgets.itwriting.com\/wp-content\/uploads\/2013\/04\/image_thumb22.png\" width=\"244\" height=\"232\"><\/a><\/p>\n<p>Note that the values here are examples; yours will be different.<\/p>\n<p>IP address: a valid, unused IP address on your internal network<\/p>\n<p>DNS server: the same as used by the host PC<\/p>\n<p>Domain suffix: optional, your internal domain<\/p>\n<p>Vector: this must match the first argument you gave to ne2000.com, without the 0x<\/p>\n<p>Netmask: same as you use on the host PC<\/p>\n<p>Gateway: same as you use on the host PC<\/p>\n<p>The other values I left at the default. Then you can try a ping to check that it works:<\/p>\n<p><a href=\"http:\/\/gadgets.itwriting.com\/wp-content\/uploads\/2013\/04\/image23.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/gadgets.itwriting.com\/wp-content\/uploads\/2013\/04\/image_thumb23.png\" width=\"404\" height=\"247\"><\/a><\/p>\n<p>Happy retro computing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What if, for historical reasons, you wanted to test early Windows internet software? You would do well to run up DOSBox. Better still, the Megabuild version which includes an emulated NE2000 network card. Then you install DOS and Windows 3.x. Not too difficult if you can find copies of the software. What next? This is &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/10048-getting-windows-3-1-connected-to-the-internet-in-dosbox-of-course.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting Windows 3.1 connected to the internet (in DOSBox of course)<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1151],"tags":[341,1467,1498],"class_list":["post-10048","post","type-post","status-publish","format-standard","hentry","category-retro","tag-dosbox","tag-trumpet-winsock","tag-windows-3-1"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/10048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=10048"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/10048\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=10048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=10048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=10048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}