China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-24 23:26
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » Methods to find the Packet Driver driver for any network card! DigestI View 18,037 Replies 23
Original Poster Posted 2007-09-07 19:46 ·  中国 广东 深圳 宝安区 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
20-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
Nowadays, new network cards basically no longer have network card driver programs in the "Packet Driver" form based on DOS, but provide network card driver programs in the "NDIS2" form based on DOS. Since most TCP/IP programs under DOS are driven by network card driver programs in the "Packet Driver" form, such as Wattcp and so on, it causes the embarrassment that TCP/IP applications under DOS cannot find the network card driver program. Fortunately, there is now a program that can convert "NDIS2" into a network card driver program in the "Packet Driver" form. Now the configuration content is shared with everyone.

Download address: http://www.firstsail.com.cn/download2/PacketDriver.Rar

;=====================================================================
A total of 6 supporting files are needed
(1) ProtMan.Dos file, fixed.
(2) DIS_PKT.Dos file, fixed.
(3) Network card program program in NDIS form, different for different network cards.

(4) Protocol.Ini file, most of the content is fixed.
(5) Netbind.Com file, fixed.
(6) Protman.Exe file, fixed.


;=====================================================================
Please configure the Config.Sys file in the root directory of drive C as follows:

(1) Load the extended memory management program Himem.Sys
(2) Load the expanded memory management program Emm386.Exe
(3) Load the Protman.Dos program and specify the directory where the Protocol.Ini file is located. Note that there should be a space before the character "/".
(4) Load the Dis_PKT.Dos program
(5) Load the network card driver program in NDIS format, the file name is different for different network cards, generally the suffix is "*.DOS", and for Rtl81xx network cards, it is generally "rtsnd.dos".
(6) Other regular settings
dos=high,umb
stacks=12,256
files=30
numlock=off

The above three items (3), (4), and (5) are necessary, and the order cannot be reversed.



Now assume that the directory form of the 6 supporting files is
c:\net\ProtMan.Dos
c:\net\DIS_PKT.Dos
c:\net\Netbind.Com
c:\net\Protman.Exe

c:\net\Rtl81xx\rtsnd.dos
c:\net\Rtl81xx\protocol.ini

Then the Config.Sys file can be configured like this

devicehigh=c:\windows\himem.sys/testmem:off
devicehigh=c:\windows\emm386.exe noems novcpi

rem devicehigh=c:\windows\ifshlp.sys

devicehigh=c:\Net\Protman.Dos /i:c:\Net\Rtl81xx
devicehigh=c:\Net\dis_pkt.dos
Devicehigh=c:\Net\RTL81xx\Rtsnd.dos

dos=high,umb
stacks=12,256
files=30
numlock=off

;=====================================================================
Assume that NetBind.Com is placed in the c:\net directory. Note that the Protman.exe file must be placed in the same directory as the NetBind.Exe file.
Add the following to the Autoexec.Bat file in the root directory of drive C:

(1)c:\net\Netbind.com


Now assume that the directory form of the 6 supporting files is
c:\net\ProtMan.Dos
c:\net\DIS_PKT.Dos
c:\net\Netbind.Com
c:\net\Protman.Exe

c:\net\Rtl81xx\rtsnd.dos
c:\net\rtl81xx\protocol.ini

Then the Autoexec.Bat file can be configured like this

path c:\windows;c:\windows\command;c:\bc31

lh smartdrv
c:\net\netbind.com

;=====================================================================
The Protocol.ini file is configured as follows


drivername=PROTMAN$


drivername=PKTDRV$
bindings=nic
intvec=0x60
chainvec=0x66


DriverName=RTSND$
;MaxMultiCasts=10
;TxBuffers=4
;RxBuffers=4
;Medium=_100Full


(1) The Protman section does not need to be changed, it is fixed, and the Pktdrv section also does not need to be changed, it is fixed.
(2) The "DriverName" key value in the Nic section needs to be changed. "rtsnd" is determined according to the actual network card driver. It can be referred to the Protocol.ini file in the NDIS network card driver CD.

[ Last edited by firstsail on 2007-9-7 at 07:52 PM ]
Floor 2 Posted 2007-09-07 19:48 ·  中国 广东 深圳 宝安区 电信
高级用户
★★
Credits 668
Posts 295
Joined 2005-07-26 00:00
20-year member
UID 41110
Gender Male
From 广东深圳
Status Offline
According to the above conversion method, originally there was only the NDIS driver, and indeed the Packet Driver driver was provided.
You can use the Debug program under the DOS command line, type "d0:180" and you can see that the 60H interrupt vector is no longer 00 00 00 00, but has content.

The TCP/IP protocol stack of WinSail uses Packet Driver, and it has been tested that it can completely carry out TCP/IP communication!
The TCP/IP protocol stack of Wattcp also uses Packet Driver, and it has been tested that it can also carry out TCP/IP communication!

Since the NDIS driver is a Microsoft standard, as long as Microsoft doesn't fall, then there will be no more worries about network card drivers under DOS!

So, after finding the Packet Driver driver of the network card, you can rest assured!

[ Last edited by firstsail on 2007-9-7 at 07:51 PM ]
Floor 3 Posted 2007-09-09 12:45 ·  中国 海南 海口 电信
中级用户
★★
Credits 215
Posts 105
Joined 2007-06-02 22:33
19-year member
UID 90083
Gender Male
Status Offline
Thanks to the OP for providing this!
Floor 4 Posted 2008-10-22 10:51 ·  中国 北京 昌平区 联通
高级用户
★★
Credits 506
Posts 187
Joined 2005-12-04 22:41
20-year member
UID 46500
Gender Male
Status Offline
I'm also worrying about this now.
But it can be driven, no problem.
But how can I uninstall the network card driver??
Thanks!
Floor 5 Posted 2008-12-06 00:44 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
This one should be bookmarked.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 6 Posted 2008-12-16 14:34 ·  中国 福建 福州 台江区 电信
初级用户
★★
Credits 119
Posts 59
Joined 2008-11-21 14:07
17-year member
UID 131656
Gender Male
Status Offline
A bit confused, need to practice..
Floor 7 Posted 2008-12-16 14:50 ·  中国 江西 南昌 电信
初级用户
Credits 46
Posts 25
Joined 2008-11-05 20:08
17-year member
UID 130109
Gender Male
Status Offline
Okay.. try..
Floor 8 Posted 2008-12-31 15:27 ·  中国 浙江 台州 电信
新手上路
Credits 2
Posts 1
Joined 2008-12-29 15:32
17-year member
UID 135258
Gender Male
Status Offline
How to practice?? It's all in English.. Faint
Floor 9 Posted 2009-02-11 18:12 ·  中国 内蒙古 包头 电信
新手上路
Credits 4
Posts 2
Joined 2008-12-17 00:56
17-year member
UID 134110
Gender Male
Status Offline
Truly, there's always a way out! I'll give it a try!
Floor 10 Posted 2009-04-23 11:28 ·  中国 福建 福州 电信
初级用户
★★
Credits 119
Posts 59
Joined 2008-11-21 14:07
17-year member
UID 131656
Gender Male
Status Offline
c:\net\netbind.com
I experimented with using an RTL8168 network card. When executing the above command, an error "44...." was prompted. There was also a process prompt in the middle saying "No BUSNO= DRIVERNO= -------" and so on. I don't know who has succeeded. What does the above prompt mean? I don't know. Please give me advice~~~
Thank you!!!!!
Floor 11 Posted 2009-08-05 20:00 ·  中国 四川 绵阳 江油市 电信
初级用户
Credits 46
Posts 13
Joined 2006-07-01 15:45
19-year member
UID 57841
Status Offline
Digging up an old tomb here.
Floor 12 Posted 2009-08-18 00:43 ·  中国 广东 江门 电信
新手上路
Credits 4
Posts 2
Joined 2009-08-16 15:25
16-year member
UID 150478
Gender Male
Status Offline
Green vegetables (wonderful), haha, the younger brother has learned
Floor 13 Posted 2009-08-21 10:33 ·  中国 湖南 益阳 联通
新手上路
Credits 10
Posts 5
Joined 2009-08-12 09:43
16-year member
UID 150279
Gender Male
Status Offline
Thanks, taking it.
Floor 14 Posted 2010-04-29 16:23 ·  中国 江苏 南京 电信
初级用户
Credits 22
Posts 10
Joined 2010-04-08 15:30
16-year member
UID 164074
Gender Male
Status Offline
Collect, try it out, thank you the LZ!
Floor 15 Posted 2010-04-30 19:21 ·  中国 辽宁 大连 联通
初级用户
Credits 44
Posts 19
Joined 2007-04-05 22:54
19-year member
UID 84089
Gender Male
Status Offline
Learning and leaving a marker.
Forum Jump: