Board logo

标题: dos下如何驱动8139网卡?我想在唇dos下上网。 [打印本页]

作者: 寒稞     时间: 2003-4-15 00:00    标题: dos下如何驱动8139网卡?我想在唇dos下上网。

用dos上网,不起动windows,局域网内,ip自动分配的。能否告诉我具体该如何操作呢?
作者: Wengier     时间: 2003-4-15 00:00
先加载8139网卡的Packet驱动程序,再运行浏览器就可以了.8139网卡的Packet驱动程序可在RealTek网站中下载.
作者: 寒稞     时间: 2003-4-16 00:00
斑竹,我好不容易找到了8139的rtspkt.com,可是运行lynx的时候,却提示“Configuration file /dev/env/DJDIR/lib/lynx.cfg is not available.”但是,此时根目录里面已经有了lynx.cfg,我又下载了网站提供的此文件,还是不行:(能不能提示一下因为什么呢?

作者: 寒稞     时间: 2003-4-16 00:00
对了,还有一个问题rtspkt.com怎么使用的?脸红。。

不好意思,对dos,我们这些人懂得太少了。
作者: Wengier     时间: 2003-4-17 00:00
试试这个吧:
RTSPKT 0x60
作者: 寒稞     时间: 2003-4-17 00:00
我已经明白了0x60为中断号,可是,关于那个“提示“Configuration file /dev/env/DJDIR/lib/lynx.cfg is not available.”问题怎么解决呢?

让您费心了:)
作者: Wengier     时间: 2003-4-17 00:00
那就先设置一下LYNX_CFG环境变量,让它指向LYNX.CFG文件吧。
作者: 寒稞     时间: 2003-4-17 00:00
由于我对dos不是很了解,因此需要斑竹多多费心了:)
怎样设置一下LYNX_CFG环境变量,让它指向LYNX.CFG文件呢?在哪一个文件里面进行调整呢?

作者: Dark-Destroy     时间: 2003-4-17 00:00
例如你把lynx.cfg放在C:\lynx\下的話,運行lynx -cfg=c:\lynx\lynx.cfg
作者: 寒稞     时间: 2003-4-18 00:00
很惨按照 Dark-Destroy的说法,却显示:
No nameserver defined!
No nameserver defined!
"sin_mask"is 0.0.0.0 !
Cannot set local ip-address
这时应该怎么办呢?
多谢:)

作者: Roy     时间: 2003-4-18 00:00
你有沒有修改wattcp.cfg呢.
作者: 寒稞     时间: 2003-4-19 00:00
我说实话,我也发现与这个文件有关系,可是,看了半天,满头雾水。这个文件应该是配置dns和本机ip和其他网络选项,可我实在看不懂:(

真心希望斑竹能够举个例子说明一下。如帖出一份配置好的wattcp.cfg,再加以简短说明:)
斑竹费心了
作者: 寒稞     时间: 2003-4-19 00:00
我试过将ip=值改为dhcp,但是我可能没有得到要点。还是不行。所以希望斑竹帖一份修改好的文件,这样比较直观。
作者: Wengier     时间: 2003-4-19 00:00
是这个吧:

#
#  Waterloo TCP/IP sample configuration file.
#
#  Use this file as a template to make your own.
#  This file should be located in "current directory" or in a directory
#  pointed to by the environment variable "WATTCP.CFG".
#
#  E.g. Put a copy of this file in "c:\net\watt\bin" and insert this
#       line in your AUTOEXEC.BAT:
#         set wattcp.cfg=c:\net\watt\bin
#
#  Note 1: No trailing `\' at end of line, and no spaces around the `='.
#
#  Note 2: The order of keywords/value pairs are significant.
#    For instance, if you have "my_dns = 134.121.10.8" in your
#    "c:\net\watt\bin\hosts" file, then "hosts = c:\net\watt\bin\hosts"
#    MUST be listed before the line specifying your nameserver;
#    "nameserver = my_dns".  The same rule applies to "gateway" and "cookie"
#
#  Note 3: the value (right of `=') is the default if you comment the
#    line out. Comments starts with `#' or `;'. To use `#' or `;' inside
#    string values, the string MUST be put in quotes.
#    E.g. these keywords have different values:
#      keyword1 = "hello world #;"
#      keyword2 = "hello world "#;
#
#  Note 4: The right-side value may contain an environment variable that
#    will be expanded when read. The effect is like in makefiles.
#    E.g. if environment variable "ETC" is "c:\net\watt\bin",
#         "$(ETC)\hosts" becomes "c:\net\watt\bin\hosts" after
#         expansion.  See "README.TOO" for details.
#
#  Note 5: Remember that all this text takes time to parse (especially on
#    a 386 or older CPU). Cut down the contents of your "WATTCP.CFG" (not
#    this file, a copy) to a minimum to improve speed.
#
#
# Text printed to screen (stdout).
#
# print = "Waterloo TCP/IP setup"  ; optional key/value

#
# If using a fixed IP-address, insert the dotted decimal address below.
# If your LAN has a DHCP server, use "my_ip = dhcp".
# Likewise, if you want to get your IP-address via BOOTP or RARP servers.
#
# my_ip = 192.168.1.2 ; really is 0.0.0.0, mandatory
my_ip=dhcp

#
# The name of this host excluding the domain-name.
# Note: may be overridden by DHCP/BOOTP server.
#       Max 50 characters.
#
# hostname = "random-pc" ; optional

#
# A better method would be to define it via the environment.
# If djgpp is installed and you have the djgpp `uname' program, then
# use $(COMPUTERNAME) if running under Windows for consistent names
# here.
#
#hostname = $(COMPUTERNAME)

#
# The netmask specifying the sub-net your are on.
# Note: may be overridden by DHCP/BOOTP server.
#
netmask = 255.255.255.0  ; mandatory if not using DHCP

#
# IP-address (or name) of DNS host(s). The DNS host's job is to
# translate hostnames to IP-addresses if the hostname isn't listed
# in "$(ETC)\hosts".
#
# Notes: DHCP/BOOTP servers may add additional nameservers to the one(s)
#        you specify here.
#        There are no default server.  There can be a total of 10
#        nameservers. All nameserver are queried in sequence until an
#        IP-address is returned. Enter the "fastest" (closest) nameserver
#        first for best result.
#
# nameserver = 0.0.0.0  ; primary DNS, mandatory if not using DHCP
# nameserver = 0.0.0.0  ; secondary DNS, optional

#
# The IP-address (or name) of your gateway.
# If you are running DOS-PPP with EtherNet emulation this should be
# replaced with $(REMIP). For SLIP or normal PPP, gateway is not used.
#
# The syntax is "ip-addr [,subnet [,mask]]"
#
# Notes: Will most likely be overridden by DHCP/BOOTP server.
#        The ARP-routing table is limited to 12 gateways.
#
# gateway = 0.0.0.0  ; mandatory if not using BOOTP/DHCP

...以下略.
作者: 寒稞     时间: 2003-4-19 00:00
我的lynx再c盘aaa目录,运行下列命令:
lynx -cfg=c:\aaa\lynx.cfg www.163.com
则会显示
Looking up www.163.com first
Looking up www.163.com.com, guessing...
Looking up www.163.com.edu, guessing...
Looking up www.163.com.net, guessing...
Looking up www.163.com.org, guessing...
Can't Access `file://localhost/c:/aaa/www.163
Alert!: Unable to access document.

lynx: Can't access startfile
这现象,应该是那里的问题呢?


作者: 寒稞     时间: 2003-4-19 00:00
我快蒙了。天哪,如此地有意思,
作者: Wengier     时间: 2003-4-20 00:00
如果出现这种提示的话,多半是网络本身的问题,请检查一下网络的连接。
作者: 寒稞     时间: 2003-4-21 00:00
是这样的:我一边用windows上网,一边调试lynx,所以网络应该没有问题。
我在网络上只找到一片lynx的资料。对于wattcp。cfg介绍的不是很详细
是不是我得lynx语法有什么错误?lynx浏览网站命令是lynx -cfg=c:\aaa\lynx.cfg www.163.com么?

作者: Wengier     时间: 2003-4-21 00:00
DOS版的Lynx只能在纯DOS下运行,而不能在Win9x的DOS窗口中运行,除非用NDIS2PKT之类的,但相当麻烦。
作者: 寒稞     时间: 2003-4-23 00:00    标题: 这是我得winipcfg值,请看一下相应的配置

这是我得winipcfg值

这是我在wattcp.cfg中的设置,请看一下还有什么错误或者缺少什么。因为我一直出现上面的错误。my_ip=218.29.0.233
netmask = 255.255.255.192
nameserver = 202.102.224.68
gateway = 61.52.176.1

还有什么地方需要调整的?

作者: 寒稞     时间: 2003-4-27 00:00
Wengier 斑竹,在帮忙看看么。。

我在纯dos下面试了好几天,还是不行,我现在只能够浏览存在硬盘上面的网页,但是始终上不了网络。。
作者: Wengier     时间: 2003-4-27 00:00
会不会是网卡驱动之类的没有正确加载呢?
作者: 寒稞     时间: 2003-4-27 00:00    标题: 这是我驱动网卡后给的提示信息及我配置的wattcp文件。

我奇怪的是,应该没有任何问题,可就是上不了网络。我最近天天再电脑前面试验个4钟头,眼睛都直了:)
这个问题麻烦版主了,我都有点不好意思了

下面这个是我得wattcp文件。
[B]我实在是没有办法了,连它也传上来了[/B][em09]
打开附件


[em19]

[此贴子已经被作者于2003-4-27 23:11:46编辑过]



作者: 寒稞     时间: 2003-5-4 00:00
哈哈,我可能知道哪里错了。就是,还有点问题。系统极度的不稳定。很容易死机。

作者: Wengier     时间: 2003-5-4 00:00
容易死机?真的吗?
作者: 寒稞     时间: 2003-5-6 00:00
不知为什么,一些网站无法正常浏览。还有,有时提示键为“<-”,到底是什么意思
作者: 寒稞     时间: 2003-5-6 00:00
谢谢版主,我现在就在dos下面上网。感觉很奇妙。原来我上不去,是因为我把myip设置成为dhcp服务器地址了。我把他改为分配给我的ip就可以了。
作者: 寒稞     时间: 2003-5-6 00:00
还有一点点疑问,如果在纯dos下面上网,是无法使用ipconfig命令的,也就是说,无法得到网络分配给自己的ip,这样的话,根本无法配置wattcp文件,这种情况下面应该怎么办呢?