djfitzgerald
Experienced Member
Long story short, I can't get mTCP to recognize the NDIS packet driver shim that appears to be correctly installing in my MS-DOS 5 based 5170. Read on for details...
I have an Ungermann-Bass NIUpc/EOTP card and am trying to get a packet driver working for it so that I can use mTCP. I cannot find a native packet driver for the card, but I did find NDIS drivers; it turns out that this card is also natively supported by Microsoft LAN Manager 2.2c for MS-DOS. Following the directions on mbrutman's website and the latest mTCP User Documentation, I went and found Joe Doupnik and Dan Lanciani's DIS_PKT NDIS packet driver shim on this website.
Following the instructions that I could find in the DIS_PKT v1.09 *.zip file, and in the DIS_PKT v1.11 assembly source file, I configured my CONFIG.SYS thusly:
I then configured my AUTOEXEC.BAT like this:
Next, I modified the Lan Manager's PROTOCOL.INI to include the sections needed for the packet driver:
Lastly, I created a simple TCP.CFG file for mTCP:
When I start my system, I see the following output from LAN Manager and DIS_PKT:
So far so good. But here is my problem... when I try to run the mTCP DHCP software, I get this error:
Does anybody have any suggestions as to what may be going on?
I have an Ungermann-Bass NIUpc/EOTP card and am trying to get a packet driver working for it so that I can use mTCP. I cannot find a native packet driver for the card, but I did find NDIS drivers; it turns out that this card is also natively supported by Microsoft LAN Manager 2.2c for MS-DOS. Following the directions on mbrutman's website and the latest mTCP User Documentation, I went and found Joe Doupnik and Dan Lanciani's DIS_PKT NDIS packet driver shim on this website.
Following the instructions that I could find in the DIS_PKT v1.09 *.zip file, and in the DIS_PKT v1.11 assembly source file, I configured my CONFIG.SYS thusly:
Code:
FILES= 30
DEVICE=C:\himem.sys
DEVICE=C:\DOS\SETVER.EXE
DOS=HIGH
DEVICE=C:\WINDOWS\smartdrv.sys 2048 512
DEVICE=C:\WINDOWS\ega.sys
LASTDRIVE=Z
DEVICE=C:\NET\LANMAN.DOS\DRIVERS\PROTMAN\PROTMAN.D OS /i:C:\NET\LANMAN.DOS
DEVICE=C:\NET\LANMAN.DOS\DRIVERS\ETHERNET\UBNEI\UB NEI.DOS
DEVICE=C:\NET\DISPKT\dis_pkt.dos
DEVICE=C:\NET\LANMAN.DOS\DRIVERS\PROTOCOL\tcpip\ne mm.dos
I then configured my AUTOEXEC.BAT like this:
Code:
@ECHO OFF
PROMPT $p$g
PATH C:\MOUSE;C:\WINDOWS;C:\DOS;C:\NORTON;
SET LMOUSE=C:\MOUSE
C:\MOUSE\MOUSE
FR /SAVE
SET TEMP=C:\DOS
C:\DOS\SHARE.EXE
@REM ====[ Network configuration section ]=========
SET PATH=C:\NET;C:\NET\LANMAN.DOS\BASIC;%PATH%
SET MTCPCFG=C:\NET\TCP.CFG
Next, I modified the Lan Manager's PROTOCOL.INI to include the sections needed for the packet driver:
Code:
[PROTOCOL_MANAGER]
DriverName=PROTMAN$
Dynamic = YES
Priority = NETBEUI
[PKTDRV]
DriverName=PKTDRV$
Bindings="UBNEITP_NIF"
INTVEC=0x60
CHAINVEC=0x66
Novell=N
[UBNEITP_NIF]
DriverName = UBNEI$
AdapterType = NIUpc/EOTP
MemoryWindow = 0xD8000
IO_Port = 0x368
IRQ_Level = 5
SlotNumber = 4
MaxRequests = 6
MaxTransmits = 6
ReceiveBufSize = 600
MaxMulticast = 16
ReceiveMethod = ReceiveLookahead
ReceiveBuffers = 64
Lastly, I created a simple TCP.CFG file for mTCP:
Code:
PACKETINT 0x60
When I start my system, I see the following output from LAN Manager and DIS_PKT:
Code:
MS DOS LAN Manager Protocol Manager v2.0
UBNEI$: Initialization started.
UBNEI$: Initialization succeeded.
MAC/DIS to Packet Driver Converter loaded. Version 1.11
Copyright 1991 FTP Software, Inc. All rights reserved.
v1.07 by Joe R. Doupnik, jrd@cc.usu.edu, Utah State Univ, 18 May 1991
v1.09 by Joe R. Doupnik, jrd@cc.usu.edu, Utah State Univ, 3 Nov 1991
v1.08, v1.10, v1.11 by Dan Lanciani, ddl@danlan.com
Microsoft DOS TCP/IP NEMM Driver 1.0
So far so good. But here is my problem... when I try to run the mTCP DHCP software, I get this error:
Code:
C:\>dhcp
mTCP DHCP Client by M Brutman (mbbrutman@gmail.com) (C)opyright 2008-2020
Version: Mar 7 2020
Init: could not setup packet driver
Could not initialize TCP/IP stack
C:\>
Does anybody have any suggestions as to what may be going on?
Last edited: