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-29 11:49
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Discussion] How to automatically detect the network card model under DOS and automatically load its NDIS driver View 1,523 Replies 2
Original Poster Posted 2005-11-23 10:19 ·  中国 广西 玉林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
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
Floor 2 Posted 2005-11-23 12:30 ·  中国 广东 中山 电信
高级用户
★★★
Credits 972
Posts 420
Joined 2004-05-16 00:00
22-year member
UID 24467
Gender Male
Status Offline
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/...................................
平生进退如飙风
Floor 3 Posted 2005-11-23 16:43 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
The content of the second floor is quite hard to understand, but I probably got the general meaning. Let's search.
Forum Jump: