中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » 谁能告诉我怎么在DOS下加载TCP/IP协议?
作者:
标题: 谁能告诉我怎么在DOS下加载TCP/IP协议? 上一主题 | 下一主题
上官飞鸿
初级用户




积分 108
发帖 2
注册 2003-7-12
状态 离线
『楼 主』:  谁能告诉我怎么在DOS下加载TCP/IP协议?

我的是MX98715的网卡。


2003-7-12 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
上官飞鸿
初级用户




积分 108
发帖 2
注册 2003-7-12
状态 离线
『第 2 楼』:  

The driver MX32PD.COM use Macronix MX987xx Family Fast Ethernet Adapters.

MX32PD syntax:

    MX32PD [-i] [-d] [-n] [-w] [-p] [-h] [-l] [-f] [-u]

    where:
        [-i]   The "-i" option forces driver to report itself as IEEE 802.3
               instead of Ethernet II.
                               
        [-d]   The "-d" option does not start LAN card until this driver is
               called by the higher layer programs first.

        [-n]   Your  NOVELL server uses NOVELL ISO-like packets. Your NOVELL
               workstation uses  NOVELL 8137 packets. You can use this option
               to convert NOVELL 8137 packets into  NOVELL ISO-like packets.

        [-w]   Steve Wallace added a hack to let the packet drivers run under
               Windows. This is not to be construed with the proper solution,
               which is to write a TCP/IP package for Windows.
               This hack is enabled only when you use the '-w' switch.

        [-p]   The "-p" option is used to disable promiscuous mode.

        [-h]   The "-h" option is used to select the 100Mbps line speed.

        [-l]   The "-l" option is used to select the 10Mbps line speed.

        [-f]   The "-f" option is used to select the full deuplex mode.
               (note: The option must be used with -h or -l option)

        [-u]   This option unloads the Packet Driver.

         This specifies the software interrupt (IRQ) where
                    you'll load the packet driver. It must be in the
                    range 0x60 to 0x80.

Notice !!
                The PC/TCP kernel, by default, is loaded at interrupt 0x61 (so
                don't load the packet driver there!)

Example:

The following command line loads the Macronix MX987xx Family Fast
Ethernet Packet Driver at software interrupt 60h.

        MX32PD 0x60   

Note: The default transmission speed is NWAY auto-detection.
Note: The placement of 0x prior to the parameters.

After the Packet Driver is loaded, you can run the PC/TCP kernel ETHDRV.EXE.
The PC is then ready for PC/TCP communications.

To run PC/TCP applications, You need to load PC/TCP Kernel
    ("ETHDRV.EXE".


    a. Refer to PC/TCP manual, Command Reference
       section, Chapter 2.3.
    b. The following example will load the Kernel and
       allocate 8 packet buffers.  Increasing the
       # of packet buffers (from the default of 5) prevents
       dropping packets due to a buffer shortage.

        ETHDRV -p 8

    c. At this point, you are ready to run PC/TCP applications
       (e.g., 'ftp', 'telnet').
       example ftp 130.172.24.101 , 130.172.24.101  is host address.
       Regard to host address , you must know its address.

      For information regarding the "FTP's PC/TCP Network
      Software for DOS" packages, please
      contact:

      FTP Software, Inc.
      26 Princess Street
      Wakefield, MA  01880
      (617) 246-0900

How to Communicate with NCSA TelNet.

1. Make sure you have the correct version of NCSA Telnet
   for the PC. You need version 2.3 or later to support
   the packet driver interface.

2. Install the NCSA software onto your system. Please
   refer to the NCSA documentation for detailed instructions.

3. Load Packet Driver (MX32PD 0x60):

   a. Refer to "Packet Driver Syntax" section above.
   b. To view the hint screen, type

      MX32PD -h

   c. The following example will load the packet driver
      using interrupt vector 60 (hex).  The IO_BASE
      and IRQ will be read from adapter configuraion space:

      MX32PD 0x60   

4. At this point you are ready to run NCSA applications
   (e.g., 'ftp', 'telnet', etc.)
   for example : ftp 192.72.24.202 , 192.72.24.202  is host address.


      For information regarding NCSA's products please
      contact:

      National Center for Supercomputing Applications
      264 Computing Applications Building
      605 E. Springfield Ave.
      Champaign, Ill. 61820
      (217) 244-0638
      telbug@ncsa.uiuc.edu

-- THE END --

我该去什么地方找这个“ETHDRV.EXE”呢?


2003-7-12 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
mgc8915
中级用户




积分 386
发帖 48
注册 2003-6-29
状态 离线
『第 3 楼』:  

有没有中文的?

2003-7-28 00:00
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复

请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: