中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 16:31
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS媒体世界 & 网络技术 (多媒体室) » Reply to all posts about networking issues under DOS
Printable Version  12,985 / 17
Floor1 lizhenduo Posted 2007-05-24 14:17
初级用户 Posts 29 Credits 190
I've read the content you provided. However, the main task is to translate the Chinese parts. Let's start:

看了DOS下联网启动盘的帖子。有些问题如扫描多种网卡并加载驱动,输入ip地址等似乎没有很好地解决。我找到了一个renda的DOS下联网启动盘,用了一下,觉得不错。现把说明贴出来,供朋友们参考。
After reading the post about the network-bootable disk under DOS. Some problems such as scanning multiple network cards and loading drivers, entering IP addresses, etc. don't seem to have been well solved. I found a network-bootable disk under DOS by renda, used it, and thought it was good. Now I'm posting the instructions for friends' reference.

我在 autoexec.bat 里看不懂它的扫描多种网卡并加载驱动和输入ip地址的方法,期盼版主几各位大家给予分析。在此多多拜托。谢谢
I can't understand the method of scanning multiple network cards and loading drivers and entering IP addresses in autoexec.bat. I hope the moderator and everyone can analyze it. Thanks a lot here.

来源 http://spaces.msn.com/davidrin/blog/cns!BC68D429D6B9F757!739.entry?_c=BlogPart
Source http://spaces.msn.com/davidrin/blog/cns!BC68D429D6B9F757!739.entry?_c=BlogPart

config.sys:
; DOSNETX/7 DOS CONFIG File for MSDOS 7.10
; (c) 2007, David Rin <rendaa@gmail.com>
; Rev. 6.70216


DEVICE=\DOS\HIMEM.SYS /TESTMEM:OFF /SHADOWRAM:OFF
DEVICE=\DOS\EMM386.EXE NOEMS I=B000-B7FF VERBOSE
INCLUDE=DOSCFG


DEVICEHIGH /s=\DOS\IFSHLP.SYS
DEVICEHIGH /s=\DOS\ELTORIT0.SYS /D:EMUCD$
INSTALL=\DOS\XMSDSK.EXE v: 16000 /t /y


DOS=HIGH,UMB,AUTO
SHELL=COMMAND.COM /p /e:1024 /f
STACKSHIGH=9,256
BUFFERSHIGH=30,0
FILESHIGH=30
FCBSHIGH=4,0
LASTDRIVEHIGH=Z
SWITCHES=/F /N
INCLUDE=DOSAPP
SET PATH=\DOS


MENUITEM=DOSOPT,DOS only, with utilities cached to ramdisk
SUBMENU =DATDRV,Data Storage support (CDROM/USBHD/UDMA etc.)
MENUITEM=NETOPT,Network support only
SUBMENU =NETCD ,Network + IDE/USB/PCMCIA CDROM support
SUBMENU =NAKED ,Clean boot for update bios (edit.com available)
MENUDEFAULT=NETCD,5


DEVICEHIGH /s=\DOS\RAMFD.SYS


INCLUDE=DOSOPT
DEVICEHIGH /s=\DOS\IDECDROM.SYS /D:IDECD$
SET DSKDEV=IDE


INCLUDE=DOSOPT
INCLUDE=RAMFD
DEVICEHIGH /s=\DOS\USBASPI.SYS /norst /w /r /v /f
DEVICEHIGH /s=\DOS\USBCD.SYS /D:USBCD$
DEVICEHIGH /s=\DOS\DI1000DD.SYS
DEVICEHIGH /s=\DOS\IDECDROM.SYS /D:IDECD$
SET DSKDEV=USB


INCLUDE=DOSOPT
INCLUDE=RAMFD
DEVICEHIGH /s=\DOS\SBP2ASPI.SYS
DEVICEHIGH /s=\DOS\NJ32DISK.SYS
DEVICEHIGH /s=\DOS\CDSDMINI.SYS /D:FWCD$
DEVICEHIGH /s=\DOS\IDECDROM.SYS /D:IDECD$
SET DSKDEV=FW


INCLUDE=DOSOPT
INCLUDE=RAMFD
;Read %RAMDRIVE%\NET\README.TXT for driver parameters.
DEVICEHIGH /s=\DOS\PCMI80CL.SYS /P1 /QA
DEVICEHIGH /s=\DOS\STATPCDM.SYS /D:PCMCD$
SET DSKDEV=PCM


INCLUDE=DOSOPT
DEVICEHIGH /s=\DOS\XDMA.SYS


MENUITEM=IDE ,IDE CD
MENUITEM=USB ,USB CD/HD/FD + IDECD
MENUITEM=FW ,1394/Firewire CD/HD + IDECD
MENUITEM=PCM ,PCMCIA CD + IDECD
MENUITEM=XDMA,UltraDMA HDD
SUBMENU =MENU,<<< Return
MENUDEFAULT=MENU


INCLUDE=DOSOPT
INCLUDE=MYNET


MENUITEM=NIDE,IDE CD
MENUITEM=NUSB,USB CD/HD/FD
MENUITEM=NFW ,1394/Firewire CD/HD
MENUITEM=NPCM,PCMCIA CD
SUBMENU =MENU,<<< Return
MENUDEFAULT=NIDE,3


INCLUDE=IDE
INCLUDE=MYNET


INCLUDE=USB
INCLUDE=MYNET


INCLUDE=FW
INCLUDE=MYNET


INCLUDE=PCM
INCLUDE=MYNET


MENUITEM=DOSCMD,DOS in conventional memory
MENUITEM=NKDHIM,DOS + HIMEM
MENUITEM=NKDXMS,DOS + HIMEM + EMM386 (XMS only)
MENUITEM=NKDEMS,DOS + HIMEM + EMM386 (XMS/EMS)
SUBMENU =MENU,<<< Return
MENUDEFAULT=NKDXMS




DEVICE=\DOS\HIMEM.SYS /TESTMEM:OFF /SHADOWRAM:OFF
DOS=HIGH,UMB,AUTO
SET CONFIG=DOSCMD


DEVICE=\DOS\HIMEM.SYS /TESTMEM:OFF /SHADOWRAM:OFF
DEVICE=\DOS\EMM386.EXE NOEMS VERBOSE
DOS=HIGH,UMB,AUTO
SET CONFIG=DOSCMD


DEVICE=\DOS\HIMEM.SYS /TESTMEM:OFF /SHADOWRAM:OFF
DEVICE=\DOS\EMM386.EXE RAM VERBOSE
DOS=HIGH,UMB,AUTO
SET CONFIG=DOSCMD


;Read %RAMDRIVE%\NET\README.TXT for details of customization.
;Of couse, you won't find it there in clean-boot modes.
SET MODS=ASK

autoexec.bat:
: DOSNETX/7 DOS AUTOEXEC Batch File
: (c) 1997-2007, David Rin <rendaa@gmail.com>
: Rev 6.70216
:
@if .%debug%==. echo off
if .%rtd%==. set rtd=C:
for %%f in (A: A:\DOS) do if .%comspec%==.%%f\COMMAND.COM set rtd=A:
if .%0==. if exist \DOS\DOSKEY.* lh /s \DOS\DOSKEY /insert /b:2048
if .%0==. if exist %rtd%\dos\nul path %rtd%\DOS
if not .%0==. goto _bat_chain
if not .%config%==.DOSCMD goto _normal
if exist \DOS\DOSMACRO.BAT call \DOS\DOSMACRO.BAT
goto _end

:_normal
if exist EMMQXXX0 set lh=lh /s
set bootstage=yes
if .%debug%==. ctty nul
if .%ramdrive%==. if exist \DOS\DOSDRIVE.BAT call \DOS\DOSDRIVE.BAT
ctty con
if not .%ramdrive%==. goto _ramd_ok
echo RAMDRIVE is not available!
goto _eof

:~apath
if .%3==. goto _eof
if not exist %3\nul goto _eof
set @@=%path%
set path=%3
set @=%path%
set path=%@@%
set @@=
for %%f in (%path%) do if .%%f==.%@% goto ~0_apath
path %path%;%@%
:~0_apath
set @=
goto _eof

:~expand
if .%3==. goto _eof
if not exist %3 goto _eof
copy %3 $.exe>nul
echo A|$.exe>nul
del $.exe>nul
goto _eof

:~extract
if .%3==. goto _eof
if not exist %3 goto _eof
for %%f in (%path% .) do if exist %%f\extract.exe goto ~extr1
goto _eof
:~extr1
extract /y /a /e %3 >nul
goto _eof

:_ramd_ok
if .%bootstage%==. goto _end
if .%debug%==. ctty nul
if exist %rtd%\AUTOEXEC.BAT copy %rtd%\AUTOEXEC.BAT %ramdrive%\ /y>nul
ctty con
if exist %ramdrive%\AUTOEXEC.BAT %ramdrive%\AUTOEXEC.BAT

:_bat_chain
if .%1==.: if not .%2==. goto %2
if .%debug%==. ctty nul
\DOS\FINDRAMD
if not .%RAMDRIVE%==. set temp=%RAMDRIVE%\
if exist EMMQXXX0 if exist %ramdrive%\dos\peruse.* %lh% peruse /x384
set netdir=%rtd%\NET
goto _dont_cache_netdir

set netdir=%ramdrive%\_
if exist %netdir%\*.* echo y|del %netdir%>nul
if not exist %netdir%\nul goto _mk_tmp
echo y|del %netdir%>nul
:_mk_tmp
if not exist %netdir%\nul md %netdir%
if exist %rtd%\net\nul copy %rtd%\net %netdir% /y>nul

:_dont_cache_netdir
ctty con
set DOSTSR=DO MD MC
if exist %ramdrive%\DOS\DOSDRIVE.BAT call %ramdrive%\DOS\DOSDRIVE.BAT : ~dostsr
%ramdrive%
if not exist \net\nul md\net
path %ramdrive%\dos;%ramdrive%\net
set temp=%ramdrive%\NET
if .%rtd%==.C: for %%f in (dos net) do call %0 : ~apath %rtd%\%%f
set netdrive=O:
if exist %netdrive%\nul subst %netdrive% /D>nul
subst %netdrive% %ramdrive%\>nul
%netdrive%
cd \net
if .%debug%==. ctty nul
for %%f in (%netdir%\DOSNETX!.exe %netdir%\DRVP*.exe) do call %0 : ~expand %%f
for %%f in (%netdir%\DOSNETX!.cab %netdir%\DRVP*.cab) do call %0 : ~extract %%f
set apcd=
if .%cdrom%==. goto _drv_cd_not_ready
for %%f in (%cdrom%) do call %0 : ~apcd_ck %%f
:_drv_cd_not_ready
for %%f in (.DOS .COM .EXE .BAT .INI .SYS .CFG .IN_ .PWL .CAB .) do if exist %netdir%\*%%f copy %netdir%\*%%f . /y>nul
if .%netdir%==.%rtd%\NET goto _no_tmp
if not exist %netdir%\nul goto _no_tmp
echo y|del %netdir%>nul
if exist %netdir%\nul rd %netdir%>nul
:_no_tmp
set netdir=
for %%f in (DOSNETX!.* DRVP*.EXE DRVP*.CAB) do if exist %%f del %%f
ctty con
:call %0 : ~remap
if .%MODS%==. goto _no_net
set _err=
if exist MSNET.BAT call MSNET.BAT
goto _exit

:~apcd_ck
if .%3==. goto _eof
if not .%apcd%==. goto _eof
dready %3
if errorlevel 2 goto _eof
%comspec% /F /C if not exist %3\NDISDRV\DRVPAK.bat if not exist %3\NDISDRV\DRVP*.EXE goto _eof
set apcd=%3
for %%f in (%apcd%\NDISDRV\DRVP*.exe) do call %0 : ~expand %%f
for %%f in (%apcd%\NDISDRV\DRVP*.cab) do call %0 : ~extract %%f
if exist %apcd%\NDISDRV\DRVPAK.BAT call %apcd%\NDISDRV\DRVPAK.BAT
goto _eof

:_no_net
if exist %ramdrive%\DOS\SMARTDRV.* %ramdrive%\DOS\SMARTDRV /q

:_exit
cd %rtd%\
cd %ramdrive%\
cd %netdrive%\
%ramdrive%
set bootstage=
dready c:
if not errorlevel 2 for %%f in (DOS NET) do call %0 : ~apath c:\%%f
if .%rtd%==. goto _end
if not .%_err%==. goto _end
if not errorlevel 2 if exist %rtd%\AUTORUN.BAT %rtd%\AUTORUN.BAT
if not %rtd%==C: goto _apcd_chain
dready d:
if not errorlevel 2 if exist D:\AUTORUN.BAT D:\AUTORUN.BAT
goto _end

:~remap
if .%rfd%==. set rfd=A:
if not exist $RAMFDD$ goto _eof
if not .%rfd%==.A: goto _eof
if exist %ramdrive%\DOS\REMAPFDD.* %lh% %ramdrive%\DOS\REMAPFDD B: /D:0
for %%f in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do call %0 : ~setrfd %%f:
goto _eof

:~setrfd
if .%3==. goto _eof
if .%rfd%==.+ echo Remap logical drive %3 to floppy drive %rtd%...
if .%rfd%==.+ set rfd=%3
if not .%rfd%==%3 if %3==%ramdrive% set rfd=+
goto _eof

:~apcd_chain
if .%3==. goto _eof
dready %3
if not errorlevel 2 if exist %3\AUTORUN.BAT %3\AUTORUN.BAT
goto _eof

:_apcd_chain
if not .%apcd%==. call %0 : ~apcd_chain %apcd%
if not .%apcd%==. goto _end
for %%f in (%cdrom%) do call %0 : ~apcd_chain %%f

:_end
set _err=
set bootstage=

:_eof
Floor2 xugaohui Posted 2007-05-29 20:53
高级用户 Posts 293 Credits 774 From 湖北仙桃
This problem was already solved long ago:
Just need a graphical operation interface, support mouse operation, automatically detect network cards, and can also manually select network cards. When the motherboard has two identical network cards, each of them can be driven respectively. One or more network protocols can be freely used, namely MS's TCP/IP, IPX, and NetBEUI, and it specially supports IBM TCP/IP. Specific parameters of each protocol can be set, and file sharing and printing functions can be started. The number of supported network cards far exceeds that of similar software.

Floor3 lizhenduo Posted 2007-05-30 14:54
初级用户 Posts 29 Credits 190
Originally posted by xugaohui at 2007-5-29 08:53 PM:
The problem has long been solved:
Only a graphical operation interface is needed, supporting mouse operation, automatically detecting the network card, and also allowing manual selection of the network card. When the mainboard has two identical network cards, they can be driven separately...

Thanks, I'm really ignorant.
Can you send an image? I really need it. Thanks!
Please be able to tell me the principle and method of automatically searching for the network card and loading the driver and entering the IP address, etc. Thanks
Floor4 john12900 Posted 2007-06-08 08:14
初级用户 Posts 40 Credits 95
Why can't I download the mirror file from that website? Can you send one?
Floor5 john12900 Posted 2007-06-13 08:33
初级用户 Posts 40 Credits 95
Finally downloaded it. Who can extract those things like search drivers, which can be integrated into their own boot disks? Thanks.
Floor6 xbbin Posted 2007-06-20 13:55
初级用户 Posts 10 Credits 20
I didn't understand it, and I still don't know how to play it.
Floor7 zyroy000 Posted 2008-05-18 18:04
初级用户 Posts 13 Credits 30
Bookmarked
Floor8 fly2sky Posted 2008-06-01 18:14
新手上路 Posts 2 Credits 4
The software on the second floor is really great. I didn't expect there are such good tools under DOS.
Floor9 jpcainiao Posted 2008-06-30 22:07
新手上路 Posts 5 Credits 14
May I ask the friend on the second floor, I tried your software, but each time it defaults to selecting the MS TCP/IP protocol and automatically uses a dynamic IP. In which file can the default parameters shown in the picture be set?

Also, I would like to ask, how to use batch processing in DOS to load the MS TCP/IP, IPX, NetBEUI, and IBM TCIP/IP protocols. If I just want to view the Windows 2003 shares (within the local area network) in DOS, which of the above four protocols should be loaded better? And what are the corresponding or required types of network card drivers for each?

Hope to get an answer. Thank you very much.
Floor10 xugaohui Posted 2008-07-02 04:54
高级用户 Posts 293 Credits 774 From 湖北仙桃
Reply to the upstairs:
The parameters are set in the runnet.bat file.
It is best to use IBM TCP/IP.
All use the NDIS2 driver.
Floor11 wangtk1982 Posted 2008-07-03 22:57
新手上路 Posts 6 Credits 12
xugaohui:
Hello! Now this img can't be downloaded. Please, great expert, give me one. I need to use telnet to enter the terminal device under pure DOS.

I wonder if the great expert has the img that the original site said supports telnet. Thanks in advance.

My email: wangtk1982@sohu.com
Floor12 snowground Posted 2008-07-04 21:49
新手上路 Posts 4 Credits 8
There are really many experts!
Floor13 netwinxp Posted 2008-07-08 17:12
高级用户 Posts 366 Credits 741
Hehe, I have PPPD.EXE for dialing into BBS with a hard MODEM under pure DOS

[ Last edited by netwinxp on 2008-7-8 at 05:16 PM ]
Floor14 bsfmig Posted 2008-08-01 23:12
新手上路 Posts 4 Credits 7
The download is not possible because Google Pages is blocked by the Great Firewall. Please use a proxy server.
Floor15 GOTOmsdos Posted 2008-08-21 13:53
铂金会员 Posts 1,827 Credits 5,154
Originally posted by xugaohui at 2007-5-29 08:53 PM:
The problem has long been solved:
Just need a graphical operation interface, support mouse operation, automatically detect the network card, and can also manually select the network card. When the mainboard has two identical network cards, it can also drive them respectively...


Hmm, it looks very powerful, I'll give it a try...
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023