VOGONS


First post, by eton975

User metadata
Rank Newbie
Rank
Newbie

Hi, I'm trying to get a TG-3269 NIC with the RTL8169SC chipset working under Win98SE's DOS mode (DOS 7.1) to run the mTCP suite of networking applications. From my understanding, there are no native DOS packet drivers available for this card (correct me if I'm wrong and point me in the right direction if I am), so therefore a NDIS or ODI driver with a translation shim is required. I am using a QDI Advance 10T motherboard with the latest beta BIOS and a P3 Tualatin 1400MHz.

Unfortunately I have been having trouble getting the ODI shim and mTCP to work - mTCP complains about being unable to initialise the TCP/IP network stack, despite me having specified the correct packet interrupt 0x60 in its configuration file and the ODIPKT.COM translation shim run using "ODIPKT.COM 0 96" (60 hex is 96 in decimal). I am using the RTGBODI.COM version 1.48 ODI driver as shown in the attachments after first loading LSL 2.20 + a modified net.cfg file (attached). LSL.COM can be gotten here.

A RTL8139D NIC works fine with the same hardware configuration under DOS using mTCP and a native packet driver, but the trouble is that 1. it is only 10/100 which slows things down under Windows and 2. it does not connect correctly to the Ethernet switch if 98SE is run before switching to DOS mode - the RTL8139D must be power cycled and booted cold for its native packet driver and PHY to function under DOS. Otherwise, there is no data link and the switch's port status light is off.

Thanks to anyone that can help figure this problem out, and I hope this thread helps others get cheap Realtek-based gigabit networking working under DOS correctly. It would also be nice to know how to unload the ODIPKT driver from conventional memory after finishing up with it if anyone knows how to do this.

Reply 1 of 10, by eton975

User metadata
Rank Newbie
Rank
Newbie

I managed to figure out the issue with the ODI driver: My net.cfg file that I put in the same folder as the driver was formatted incorrectly, it needed a tabbed space for the "Frame Ethernet_II" line as well as adding a "Link support" section. The relevant net.cfg is attached to this post.

Unfortunately the performance under mTCP is poor and inconsistent. I get maybe 5 Mbps rather than 20Mbps with the native driver on the RTL8139D.

Additionally, a friend on Discord sent me the file at this link (RTGPKT.COM) which is apparently a native packet driver for the RTL8169SC, but it just locks up on my system when I run "RTGPKT.COM 0x60" without any success. Wondering if anyone knows how to get it working...

Reply 2 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t
eton975 wrote on 2026-08-05, 19:39:

Unfortunately the performance under mTCP is poor and inconsistent. I get maybe 5 Mbps rather than 20Mbps with the native driver on the RTL8139D.

How are you measuring the speed?

Anyway, a few hints:
- add "MTU 1500" to the MTCPCFG file
- try to increase "buffers 8 1600" to "buffers 16 1600" in NET.CFG
- try to replace the ODI+ODIPKT drivers with NDIS+DIS_PKT, see for example the attachment in this post - Quality of packet drivers: Intel

In 2003, I voted in favour of joining the European Union. However, due to later developments - especially the restrictions on cash usage - I have withdrawn my support. DOWN WITH THE EU!

Reply 3 of 10, by eton975

User metadata
Rank Newbie
Rank
Newbie
Grzyb wrote on 2026-08-05, 21:15:
How are you measuring the speed? […]
Show full quote
eton975 wrote on 2026-08-05, 19:39:

Unfortunately the performance under mTCP is poor and inconsistent. I get maybe 5 Mbps rather than 20Mbps with the native driver on the RTL8139D.

How are you measuring the speed?

Anyway, a few hints:
- add "MTU 1500" to the MTCPCFG file
- try to increase "buffers 8 1600" to "buffers 16 1600" in NET.CFG
- try to replace the ODI+ODIPKT drivers with NDIS+DIS_PKT, see for example the attachment in this post - Quality of packet drivers: Intel

I was mostly eyeballing the speed, but I did take a look at the output after the file transfer ended and it was about 300KB/sec.

I managed to get the native RTGPKT.COM packet driver working after a lot of fiddling around. Had to put the TG-3269 card in the 2nd to bottom PCI slot, remove all other network cards and disable serial port #2. I think this was some sort of IRQ or resource hogging conflict on PCI IRQ 11. After this it seems to work both in Win98SE proper and in MS-DOS 7.10. Additionally, to get decent speed I had to force 100MBit mode instead of 1Gbit/auto-negotiation mode by running "RTGPKT 0x60 -m 100full".

I may try your suggestions with the ODI and NDIS shims but I am happy to have finally gotten that rare native packet driver working with this cheap Gigabit card. Thanks

I have also attached the RTGPKT files below in case the link above dies.

Reply 4 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t
eton975 wrote on Yesterday, 00:53:

I was mostly eyeballing the speed, but I did take a look at the output after the file transfer ended and it was about 300KB/sec.

I meant what program you were using - mTCP FTP client? mTCP FTP server? Something else?
Downloading to NUL, HDD, or some other device?

From what I recall, a similar card - RTL8169S-32 - worked very well with mTCP, achieving speeds much better than theoretical maximum of 100 Mbps Ethernet.

In 2003, I voted in favour of joining the European Union. However, due to later developments - especially the restrictions on cash usage - I have withdrawn my support. DOWN WITH THE EU!

Reply 5 of 10, by eton975

User metadata
Rank Newbie
Rank
Newbie
Grzyb wrote on Yesterday, 03:01:
I meant what program you were using - mTCP FTP client? mTCP FTP server? Something else? Downloading to NUL, HDD, or some other d […]
Show full quote
eton975 wrote on Yesterday, 00:53:

I was mostly eyeballing the speed, but I did take a look at the output after the file transfer ended and it was about 300KB/sec.

I meant what program you were using - mTCP FTP client? mTCP FTP server? Something else?
Downloading to NUL, HDD, or some other device?

From what I recall, a similar card - RTL8169S-32 - worked very well with mTCP, achieving speeds much better than theoretical maximum of 100 Mbps Ethernet.

mTCP FTP client on the P3 Tualatin system, downloading from Golden FTP Server v5.00 on Windows 10 Pro x64, server using RTL8111E PCIe NIC.

Downloading to HDD (Seagate Barracuda ATA IV 40GB IDE)

Reply 6 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t

Try also downloading to NUL.

If download to NUL speed is OK, but download to HDD is abnormally slow, then it can be improved by finding the optimal combination of FTP_TCP_BUFFER and FTP_FILE_BUFFER settings.

In 2003, I voted in favour of joining the European Union. However, due to later developments - especially the restrictions on cash usage - I have withdrawn my support. DOWN WITH THE EU!

Reply 7 of 10, by eton975

User metadata
Rank Newbie
Rank
Newbie
Grzyb wrote on Yesterday, 03:16:

Try also downloading to NUL.

If download to NUL speed is OK, but download to HDD is abnormally slow, then it can be improved by finding the optimal combination of FTP_TCP_BUFFER and FTP_FILE_BUFFER settings.

I piped an example file of about 20MB to NUL with "get <filename> NUL" and it was indeed about 4 times as fast as compared to the HDD. So I will try what you said.

Reply 8 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t
eton975 wrote on Yesterday, 03:25:

I piped an example file of about 20MB to NUL with "get <filename> NUL" and it was indeed about 4 times as fast as compared to the HDD. So I will try what you said.

What numbers exactly?

With such hardware, I would expect like 5 MB/s to HDD, and 20 MB/s to NUL - so the 4-times difference can be perfectly normal.

In 2003, I voted in favour of joining the European Union. However, due to later developments - especially the restrictions on cash usage - I have withdrawn my support. DOWN WITH THE EU!

Reply 9 of 10, by eton975

User metadata
Rank Newbie
Rank
Newbie
Grzyb wrote on Yesterday, 03:51:
eton975 wrote on Yesterday, 03:25:

I piped an example file of about 20MB to NUL with "get <filename> NUL" and it was indeed about 4 times as fast as compared to the HDD. So I will try what you said.

What numbers exactly?

With such hardware, I would expect like 5 MB/s to HDD, and 20 MB/s to NUL - so the 4-times difference can be perfectly normal.

Using the native RTGPKT.COM with -m 100full for 100Mbits/s full-duplex operation:
1181KB/s with HDD
4955KB/s with NUL

Using the ODI shim:
491KB/s with HDD
351KB/s with NUL (yes, slower than HDD!)

Using RTGPKT.COM with IDE Block mode and DMA modes set to "Auto" in BIOS utility, plus XHDD in config.sys with "DEVICE=XHDD.SYS /H /S20 /O":
4042KB/s with HDD
5746 KB/s with NUL

Reply 10 of 10, by Grzyb

User metadata
Rank l33t
Rank
l33t

ODI results are suspiciously slow - have you tried "buffers 16 1600"?

Try also NDIS driver with DIS_PKT.DOS shim.

4 MB/s to HDD, however, looks OK.

I have a P3 800 MHz machine, and RTL8169S-32, may try them later...

In 2003, I voted in favour of joining the European Union. However, due to later developments - especially the restrictions on cash usage - I have withdrawn my support. DOWN WITH THE EU!