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-25 01:27
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » Reply to all posts about networking issues under DOS DigestI View 12,154 Replies 17
Original Poster Posted 2007-05-24 14:17 ·  中国 北京 中国学术信息中心
初级用户
Credits 190
Posts 29
Joined 2003-06-24 00:00
23-year member
UID 5806
Gender Male
Status Offline
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
Floor 2 Posted 2007-05-29 20:53 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
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.

Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
BC +1 2008-07-05 10:41
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 3 Posted 2007-05-30 14:54 ·  中国 北京 中国学术信息中心
初级用户
Credits 190
Posts 29
Joined 2003-06-24 00:00
23-year member
UID 5806
Gender Male
Status Offline
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
Floor 4 Posted 2007-06-08 08:14 ·  中国 山东 烟台 电信
初级用户
Credits 95
Posts 40
Joined 2007-05-02 08:53
19-year member
UID 87247
Gender Male
Status Offline
Why can't I download the mirror file from that website? Can you send one?
Floor 5 Posted 2007-06-13 08:33 ·  中国 山东 烟台 电信
初级用户
Credits 95
Posts 40
Joined 2007-05-02 08:53
19-year member
UID 87247
Gender Male
Status Offline
Finally downloaded it. Who can extract those things like search drivers, which can be integrated into their own boot disks? Thanks.
Floor 6 Posted 2007-06-20 13:55 ·  中国 广东 广州 电信
初级用户
Credits 20
Posts 10
Joined 2007-06-20 11:54
19-year member
UID 91870
Gender Male
Status Offline
I didn't understand it, and I still don't know how to play it.
Floor 7 Posted 2008-05-18 18:04 ·  中国 天津 电信
初级用户
Credits 30
Posts 13
Joined 2005-12-06 00:49
20-year member
UID 46574
Status Offline
Bookmarked
Floor 8 Posted 2008-06-01 18:14 ·  中国 广东 深圳 电信
新手上路
Credits 4
Posts 2
Joined 2006-01-13 23:35
20-year member
UID 48945
Status Offline
The software on the second floor is really great. I didn't expect there are such good tools under DOS.
Floor 9 Posted 2008-06-30 22:07 ·  中国 广西 桂林 电信
新手上路
Credits 14
Posts 5
Joined 2008-04-07 23:48
18-year member
UID 115209
Gender Male
Status Offline
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.
Floor 10 Posted 2008-07-02 04:54 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
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.
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 11 Posted 2008-07-03 22:57 ·  中国 北京 朝阳区 联通
新手上路
Credits 12
Posts 6
Joined 2008-07-03 22:17
17-year member
UID 121071
Gender Male
Status Offline
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
Floor 12 Posted 2008-07-04 21:49 ·  中国 上海 东方有线
新手上路
Credits 8
Posts 4
Joined 2006-08-23 19:58
19-year member
UID 61139
Status Offline
There are really many experts!
Floor 13 Posted 2008-07-08 17:12 ·  中国 福建 厦门 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
18-year member
UID 94024
Gender Male
Status Offline
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 ]
Floor 14 Posted 2008-08-01 23:12 ·  中国 山东 枣庄 联通
新手上路
Credits 7
Posts 4
Joined 2008-07-31 21:23
17-year member
UID 122511
Gender Male
Status Offline
The download is not possible because Google Pages is blocked by the Great Firewall. Please use a proxy server.
Floor 15 Posted 2008-08-21 13:53 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
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...
Forum Jump: