标题: DOS下上Internet
[打印本页]
作者: z640919a
时间: 2007-1-30 10:38
标题: DOS下上Internet
几天了,DOS下上Internet不知怎样,能PING通,可浏览器不会用,内存也不够,最多只有486K。盼老大或高手能否用VM 或VPC做个教程,谢谢了。
作者: Michael
时间: 2007-2-2 21:49
用lynx,很简单,配置好wattcp.cfg就可以了,不要加载不必要的tsr程序,只加载一个packet driver就可以了。
作者: z640919a
时间: 2007-2-2 23:36
只有TCPTSR(76.78K)和NMTSR(6.16K),试一下用lynx,谢谢你的回答。在VM 或VPC里能否用NET或桥连上Internet。
作者: Michael
时间: 2007-2-3 02:52
当然,和真实机器一样。
作者: z640919a
时间: 2007-2-3 05:26
MS-DOS LAN Manager v2.1 Netbind
Performing Power-Up Autosense...
Switching between 10BaseT and 100BaseTx...
Selected media: 100BaseTx (TP 100) Autosense
Initializing TCP/IP via DHCP....
Microsoft DOS TCP/IP 1.0a
C:\>ping 192.168.0.1
Copyright (c) Microsoft Corporation, 1991-1993. All rights reserved.
Copyright (c) Hewlett-Packard Corporation, 1985-1993. All rights reserved.
Copyright (c) 3Com Corporation, 1985-1993. All rights reserved.
[1] echo received from 192.168.0.1 with roundtrip < 50 msec
VPC5.2Z中用lynx出现 “NO PACKET DRIVER FOUND ”已在config.sys中加载dis_pkt.dos。NDIS2驱动程序怎样转成Packet 。看过
http://www.cn-dos.net/forum/viewthread.php?tid=15347,就是不能转成Packet。望能得到详细解答,谢谢了
作者: Michael
时间: 2007-2-3 09:22
把你ms network client安装目录下的的system.ini和protocol.ini贴上来。
作者: z640919a
时间: 2007-2-3 09:29
1.PROTOCOL.INI
[network.setup]
version=0x3110
netcard=DC21X4,1,DC21X4,1
transport=tcpip,TCPIP
lana0=DC21X4,1,tcpip
[TCPIP]
NBSessions=6
DefaultGateway1=
DefaultGateway0=
SubNetMask0=255 255 255 0
IPAddress0=
DisableDHCP=0
DriverName=TCPIP$
BINDINGS=DC21X4
LANABASE=0
[protman]
DriverName=PROTMAN$
PRIORITY=MS$NDISHLP
2.SYSTEM.INI
[network]
sizworkbuf=1498
filesharing=no
printsharing=no
autologon=yes
computername=HXPHH
lanroot=C:\NET
username=HXPHH
workgroup=WORKGROUP
reconnect=yes
dospophotkey=N
lmlogon=0
logondomain=WORKGROUP
preferredredir=basic
autostart=basic
maxconnections=8
[network drivers]
netcard=DC21X4.DOS
transport=tcpdrv.dos,nemm.dos
devdir=C:\NET
LoadRMDrivers=yes
[386enh]
TimerCriticalSection=5000
UniqueDosPSP=TRUE
PSPIncrement=2
[Password Lists]
*Shares=C:\NET\Share000.PWL
作者: Michael
时间: 2007-2-3 10:28
PROTOCOL.INI添加以下几行:
[PKTDRV]
DriverName=PKTDRV$
BINDINGS=DC21X4
INTVEC=0X60
作者: z640919a
时间: 2007-2-3 23:48
原来也加过,但还是不行呀,指定IP地址也不行,试过好多方法都不行,会有“NO PACKET DRIVER FOUND”。是不是已连上,还有什么方法来确认是不是已加载PACKET DRIVER。
作者: Michael
时间: 2007-2-4 06:57
从启动信息上看根本就没加载dis_pkt.dos啊。
把dis_pkt.dos行从config.sys里去掉,把dis_pkt.dos拷到net安装目录下,然后修改net目录下的system.ini
Quote: |
[network drivers]
netcard=DC21X4.DOS
transport=tcpdrv.dos,nemm.dos,dis_pkt.dos
devdir=C:\NET
LoadRMDrivers=yes |
|
作者: z640919a
时间: 2007-2-4 08:31
config.sys加载内存也有dis_pkt.dos,现在应该上Internet了(已登录外网FTP服务器),太高兴了,谢谢你。用FTP下载时有“WATTCP” 插口错误,不知什么意思
wattcp.cfg
my_ip = 192.168.0.2
netmask = 255.255.255.0
gateway = 192.168.0.1
还有LYNX的wattcp.cfg也是这样配制的,出现错误。
作者: z640919a
时间: 2007-2-4 08:35
TITLE: DosLynx Load Error
DOSLYNX LOAD ERROR
Return to Hotlist
DosLynx was unable to load the requested URL.
This could be due to an invalid URL
or due to the remote host being unaccessible.
If this error is the result of an attempt to read a USENET News group,
the group may not exist.
Check the Message Box for a specific error.
作者: Michael
时间: 2007-2-4 09:19
wattcp.cfg再配置上nameserver的ip地址
比如:
nameserver=192.168.0.1
作者: z640919a
时间: 2007-2-4 10:02
Microsoft DOS TCP/IP Protocol Driver 1.0a
Copyright (c) Microsoft Corporation, 1991. All rights reserved.
Copyright (c) Hewlett-Packard Corporation, 1985-1991. All rights reserved.
Copyright (c) 3Com Corporation, 1985-1991. All rights reserved.
Microsoft DOS TCP/IP NEMM Driver 1.0
MAC/DIS to Packet Driver converter loaded. Version 1.07
Copyright 1991 FTP Software, Inc. All rights reserved.
v1.07 by Joe R. Doupnik,
jrd@cc.usu.edu, Utah State Univ, 18 May 1991
The command completed successfully.
Killer v1.0 Copyright 1995 Vincent Penquerc'h. All Rights Reserved.
Killer installed in memory.
DOSKEY installed.
DOSLFN 0.32o: high loaded consuming 11840 bytes.
CuteMouse v1.9.1 [DOS]
Installed at PS/2 port
Now you are in MS-DOS 7.10 prompt. Type 'HELP' for help.
MS-DOS LAN Manager v2.1 Netbind
Performing Power-Up Autosense...
Switching between 10BaseT and 100BaseTx...
Selected media: 100BaseTx (TP 100) Autosense
Microsoft DOS TCP/IP 1.0a
好的,wattcp.cfg配置上nameserver的ip地址,我用192.168.0.1和DNS 服务器地址试试,怎么FTP也启动了,是不是要用BYE才行。
作者: z640919a
时间: 2007-2-4 10:14
FTP> cd 22712261
250 Directory changed to /22712261
FTP> get key_1985.txt
200 PORT Command successful.
150 Opening ASCII mode data connection for key_1985.txt (47 Bytes).
WATTCP socket error: -1
425 Cannot open data connection.
Transfer of 0 Kbytes (0 bytes) in 26034.95 seconds ( 0.00 Kbytes/s ).
还是不行,是不是ASCII 方式问题
作者: Michael
时间: 2007-2-4 10:36
那就不知道了,可能是内存加载的东西太多了,把doslfn,cutemouse,killer都去掉试试。实在不行把你的ftp软件传上来。
作者: z640919a
时间: 2007-2-4 23:42
Modules using memory below 1Mb:
Name Total = Conventional + Upper Memory
-------- ---------------- ---------------- ----------------
SYSTEM 29,024 (28K) 10,592 (10K) 18,432 (18K)
HIMEM 1,104 (1K) 1,104 (1K) 0 (0K)
UMBPCI 160 (0K) 160 (0K) 0 (0K)
DC21X4 42,704 (42K) 42,704 (42K) 0 (0K)
PROTMAN 2,560 (3K) 2,560 (3K) 0 (0K)
UMB 960 (1K) 272 (0K) 688 (1K)
TCPTSR 76,784 (75K) 76,784 (75K) 0 (0K)
TINYRFC 18,496 (18K) 272 (0K) 18,224 (18K)
NMTSR 6,160 (6K) 6,160 (6K) 0 (0K)
SETVER 848 (1K) 0 (0K) 848 (1K)
IFSHLP 3,952 (4K) 0 (0K) 3,952 (4K)
COMMAND 7,424 (7K) 0 (0K) 7,424 (7K)
PROTMAN 400 (0K) 0 (0K) 400 (0K)
TCPDRV 1,328 (1K) 0 (0K) 1,328 (1K)
NEMM 672 (1K) 0 (0K) 672 (1K)
DIS_PKT 2,928 (3K) 0 (0K) 2,928 (3K)
DOSKEY 3,968 (4K) 0 (0K) 3,968 (4K)
CTMOUSE 3,328 (3K) 0 (0K) 3,328 (3K)
FREE 534,464 (522K) 514,736 (503K) 19,728 (19K)
Press any key to continue...
Memory summary:
Type of Memory Total = Used + Free
---------------- ----------- ----------- -----------
Conventional 655,360 140,624 514,736
Upper 81,920 62,192 19,728
Reserved 311,296 311,296 0
Extended (XMS) 57,671,680 65,536 57,606,144
---------------- ----------- ----------- -----------
Total memory 58,720,256 579,648 58,140,608
Total under 1Mb 737,280 202,816 534,464
Total Extended (XMS) 57,671,680 (56,320K)
Free Extended (XMS) 57,606,144 (56,256K)
Largest executable program size 514,464 (502K)
Largest free upper memory block 19,552 (19K)
Available space in High Memory Area 5,440 (5K)
MS-DOS is resident in the high memory area.
网络是通的,内存应该够用,ftp,LYNX软件使用问题,FTP是这里下 的wattcp ftp07
作者: Michael
时间: 2007-2-5 00:54
不是说你内存不够用,而是多个软件有可能存在冲突。
我用dos上ftp时也偶尔出现过socket error -1错误,不过在我这里出现最多的是超时错误。
dos真的不适合上网。
作者: z640919a
时间: 2007-2-5 02:31
是“ICMP: Port Unreachable ” baidu上说:
对方主机上没有相应的程序接收那个端口的数据.
因此 ICMP 模块就给源主机发送一个错误报告.
ICMP 协议为 IP 层的一个协议, 网际控制消息协议, 负责处理通信中的错误,性能检测等.
作者: z640919a
时间: 2007-2-6 00:05
用ARACHNE1.90上的,再次谢谢Michael.
附件
1:
{9FDD7417-F68B-4C06-9094-93781DA5777F}.bmp (2007-2-6 00:05, 75.01 K, 下载附件所需积分 1点
,下载次数: 8)
作者: z640919a
时间: 2007-2-6 02:59
我是去年才接触电脑知识的,原来学过一点BAISC,都是应用的。所以我觉得DOS也是要使用到实际,所以学习DOS下上Internet,NETWORK启动,网克(PE,PXE,XPE)中大有用处。学习一定要有毅力,坚持。感谢DOS联盟,谢谢Michael。
附件
1:
{ABCC251F-7C66-4C73-9BC6-8206129F52F5}.bmp (2007-2-6 02:59, 94.08 K, 下载附件所需积分 1点
,下载次数: 9)
作者: Michael
时间: 2007-2-6 06:20
其实dos的优势不在internet,在dos下上网无异于玩杂技,呵呵。不过有兴趣当然可以玩儿。
作者: z640919a
时间: 2007-2-6 08:30
是呀,MYS的
http://www.cn-dos.net/forum/viewthread.php?tid=235&fpage=1。DOS还是要有发展,起到她应有的作用。
作者: z640919a
时间: 2007-2-6 08:37
忘了说了,wattcp ftp07没有问题,可以下载,速度也很快。只是LYNX是精简版,也可能是没设置好,搞个完整的是试试。
作者: gne3
时间: 2007-2-28 00:20
ding
作者: gidebruin
时间: 2007-3-7 11:57
dddddddd
作者: zhdtzb
时间: 2007-3-9 06:51
路过,学习一下。