Guide to getting networking working?

Support and general discussion.
Post Reply
A. Naim
Posts: 100
Joined: Thu 09 Jul, 2015 5:06 pm

Guide to getting networking working?

Post by A. Naim » Tue 19 Dec, 2017 12:35 pm

It's been a long time since the 90s. Also, Win98 SE doesn't detect any network card, and I don't know how to fix it. I selected "Novell NE2000" in the configuration. No driver I try works.

alexmocanu
Posts: 10
Joined: Fri 05 May, 2017 6:54 pm

Re: Guide to getting networking working?

Post by alexmocanu » Tue 19 Dec, 2017 2:28 pm

I think the driver you are looking for is "NE2000 Compatible" and should be available in Windows. Since the emulated card it's not PNP aware it must be added and configured manually (irq, address, etc.) I got it working using the PCAP method, SLIRP never worked for me.

This is how I got it to work (ignore the OSX graphics stuff, I'm at work and using this with WINE to get the screenshots)

1. First install npcap from here: https://nmap.org/npcap/. Make sure you select WinPcap compatibility, otherwise it won't work.

2. Select the Novel NE2000 adapter in PCem (screenshot: https://monosnap.com/file/hwQbTWpmmgc3a ... cV0Bp30euL)

3. Click on the nic settings button and copy the IRQ and address values (screenshot: https://monosnap.com/file/ilMw0Wg6YWTWU ... 4oiflHWwg3). By default they are IRQ = 10, Address = 0x300. This is important because the emulated card is not PNP aware and you will have to set these values manually later.

4. Set network type (SLIRP or PCAP). If you are using PCAP also select the physical network interface you are binding it to. (screenshot:
https://monosnap.com/file/QGdb1X5BpBHV2 ... tWDebxACHx). If you are using PCAP please make sure you are using a wired interface, Wifi are kind of hit and miss...

5. Install Windows 95/98/whatever as usual

6. If the "NE2000 Compatible" adapter doesn't appear in the Device Manager then go to Control Panel and use the "Add New Hardware" applet to add it (use auto detection or add it manually, whichever method works for you). You might have to restart your virtual machine after this step ends.

7. Once the step above is done and the machine restarted, open the device manager, right click on the "NE2000 Compatible" device, select "Properties" and in the dialog that appears click the manual configuration button (screenshot: https://monosnap.com/file/zRJxnuOFy2qL9 ... nUucrFhDl9).

8. Set IRQ to 10 and address to 300 like in this screenshot: https://monosnap.com/file/LfnbPm9pqun39 ... U73CFEOgfs then click "OK" and shut down the virtual machine when prompted.

10. boot up the machine then right click on the "Network Neighborhood" icon, select properties and add the TCP/IP Protocol (ADD -> Protocol -> Microsoft TCP/IP) screenshot: https://monosnap.com/file/oPm4yXiirGHq4 ... HQT3nRv76J . You might have to restart the machine again

11. Boot the machine (if needed) and have fun. Networking should be up and running now.

Glantz
Posts: 1
Joined: Fri 08 Dec, 2017 9:59 am

Re: Guide to getting networking working?

Post by Glantz » Thu 21 Dec, 2017 3:15 pm

Hi Alex, is that driver available for download anywhere? I can't seem to find it in Windows. Trying to do the same as Naim.

alexmocanu
Posts: 10
Joined: Fri 05 May, 2017 6:54 pm

Re: Guide to getting networking working?

Post by alexmocanu » Thu 21 Dec, 2017 3:35 pm

Are you referring to the driver for "NE2000 Compatible"? It's included in Windows (at least since Win 95 OSR2, that's the earliest version of Windows I played with)

I just ran the "Add New Hardware" applet from Control Panel, I let it finish the scan and it detected and installed the network card. After that I put the correct IRQ and Address values and it worked.

A. Naim
Posts: 100
Joined: Thu 09 Jul, 2015 5:06 pm

Re: Guide to getting networking working?

Post by A. Naim » Thu 21 Dec, 2017 8:00 pm

Thanks for the guide. Haven't gotten around to following it yet. :)

VenoMpie
Posts: 4
Joined: Mon 06 Nov, 2017 6:50 pm

Re: Guide to getting networking working?

Post by VenoMpie » Sun 24 Dec, 2017 8:54 pm

Is there a chance to make a quick patch for the NE2000 adapter where you can define a MAC address (currently I can only set the address and IRQ)?
It seems to always have the same mac address. SLiRP doesn't work so I am using NPCAP but when it connects to my DHCP server it always obtains the same IP address because the mac address on separate PCEM VM's are the same so we can't play against each other over the network. Even setting the IP address manually doesn't work because then the hosts can't see the VM's and vice versa.
I can probably branch and write it myself (as I know the release cycle for PCEM is something like 6 months - 1 year and I can't wait that long) but it would be more of a hassle as now I need to get into a code base that I'm not familiar with, blah blah blah.

VenoMpie
Posts: 4
Joined: Mon 06 Nov, 2017 6:50 pm

Re: Guide to getting networking working?

Post by VenoMpie » Sun 24 Dec, 2017 9:06 pm

Just went through the code quick, I see it's statically set. Textbox in the network adapter settings which changes the variable and it should work :P

NE2000.c line 52/53

//THIS IS THE DEFAULT MAC ADDRESS .... so it wont place nice with multiple VMs. YET.
uint8_t maclocal[6] = {0xac, 0xde, 0x48, 0x88, 0xbb, 0xaa};

A. Naim
Posts: 100
Joined: Thu 09 Jul, 2015 5:06 pm

Re: Guide to getting networking working?

Post by A. Naim » Thu 28 Dec, 2017 8:23 am

Followed the guide - Couldn't connect with PCAP, so used SLIRP. Am now browsing internet. Internet confusing and full of unknown protocols. /humour

SeanB
Posts: 2
Joined: Wed 07 Mar, 2018 12:57 am

Re: Guide to getting networking working?

Post by SeanB » Fri 09 Mar, 2018 2:30 am

Has anyone tried to get networking working in Win 3.1?

Here's what I've tried:

Npcap is installed and NE2000 selected in PCEm, although I have tried both PCAP and SliRP. I'm using Wi-Fi on the host machine, so I'm assuming SLiRP is a better option.

I've installed Netware VLM client 1.21. This does seem to recognize the NE2000 adapter. Novell NetWare (v4.0) is set as Network in Windows.

I then installed Trumpet Winsock 3.0 and Netscape 4.08. Netscape is giving me a DNS error when I try to load a page.

Image

Do I need to run WfW 3.11 instead? Is there any benefit to doing so?

EluanCM
Posts: 62
Joined: Tue 27 Oct, 2015 2:07 pm
Location: Brazil
Contact:

Re: Guide to getting networking working?

Post by EluanCM » Fri 09 Mar, 2018 5:24 am

Works fine for me with with SLiRP + Windows 3.11 FWG + MS TCP/IP. No extra configuration needed, no quirks.
Screenshot from 2018-02-24 18-10-22.png
Screenshot from 2018-02-24 18-10-22.png (161.14 KiB) Viewed 1250 times
But does not work at all with a DOS packet driver and any TCP/IP stack (no DHCP response)

User avatar
xXLuckyXx
Posts: 59
Joined: Tue 06 Feb, 2018 3:52 pm

Re: Guide to getting networking working?

Post by xXLuckyXx » Sat 10 Mar, 2018 1:06 pm

Still doesn't work for me.

SeanB
Posts: 2
Joined: Wed 07 Mar, 2018 12:57 am

Re: Guide to getting networking working?

Post by SeanB » Sat 10 Mar, 2018 5:42 pm

Thanks Eluan. That did get me connected!

I had to run out before I could finish testing, but I couldn't connect to pcem-emulator.co.uk. Is that because I need to install the 128-bit SSL add-on?

Post Reply