|
coolboy163
初级用户
 
积分 176
发帖 74
注册 2005-11-7
状态 离线
|
『楼 主』:
[讨论]如何实现在DOS下自动检测网卡型号并自动加载其NDIS驱
使用 LLM 解释/回答一下
如题:
想做一个可以自动检测到网卡驱动,然后自动加载NDIS驱动,这样就可以针对不同的网卡了,不用在DOS下去为网卡找驱动.
假设目录:
A:\
|_NDIS
|_8029(网卡驱动)
| |_8029.DOS
| |_PROTOCOL.INI
|_8139/8139X
| |_8139.DOS
| |_PROTOCOL.INI
|
.
.
I0.SYS
CONFIG.SYS
AUTOEXEC.BAT
......
我是这样想的:最好是在CONFIG中配置,这样就不用再分别建里BAT的了
比如在CONFIG中加入autodetectlan.dos(自动检测网卡,从NDIS中找到匹配的),然后就确定了网卡类型及文件目录,这样在AUTOEXEC.BAT或其他BAT中就好随意设置网卡了.
不知道思路有错没?希望大家都来说说,该如何实现呢?
=待有心人了
As the title says:
I want to make one that can automatically detect the network card driver and then automatically load the NDIS driver, so that different network cards can be targeted, without having to find drivers for the network card under DOS.
Assume the directory:
A:\
|_NDIS
|_8029(network card driver)
| |_8029.DOS
| |_PROTOCOL.INI
|_8139/8139X
| |_8139.DOS
| |_PROTOCOL.INI
|
.
.
I0.SYS
CONFIG.SYS
AUTOEXEC.BAT
......
This is what I thought: It's best to configure in CONFIG, so there's no need to build BATs separately.
For example, add autodetectlan.dos in CONFIG (automatically detect the network card, find the matching one from NDIS), and then determine the network card type and file directory, so that in AUTOEXEC.BAT or other BATs, the network card can be set casually.
I don't know if the idea is wrong? I hope everyone can talk about it, how to implement it?
= Waiting for those interested
|
|
2005-11-23 10:19 |
|
|
darkradx
高级用户
   
积分 972
发帖 420
注册 2004-5-16
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
Store PCI data(Bascally: VID/SID)
Check PCI data
Run batch file action
REALTEK8029, 10EC/8029, PCIND.DOS
REALTEK8139/810X, 10EC/8139, RTSND.DOS
REALTEK8169/811X, 10EC/8169, RTGBND.DOS
Intel PRO100, 8086/...................................
Store PCI data (Basically: VID/SID)
Check PCI data
Run batch file action
REALTEK8029, 10EC/8029, PCIND.DOS
REALTEK8139/810X, 10EC/8139, RTSND.DOS
REALTEK8169/811X, 10EC/8169, RTGBND.DOS
Intel PRO100, 8086/...................................
|

平生进退如飙风 |
|
2005-11-23 12:30 |
|
|
coolboy163
初级用户
 
积分 176
发帖 74
注册 2005-11-7
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
2楼的好难懂,不过大概意思明白了
搜索下
The content of the second floor is quite hard to understand, but I probably got the general meaning. Let's search.
|
|
2005-11-23 16:43 |
|
|