![]() |
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-14 00:35 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS媒体世界 & 网络技术 (多媒体室) » How do I get an 8139 network card working under DOS? I want to get online in pure DOS. |
| Printable Version 5,376 / 27 |
| Floor1 寒稞 | Posted 2003-04-15 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
I want to get online in DOS without starting Windows, on a LAN with automatic IP assignment. Can anyone tell me exactly how to do it?
|
|
| Floor2 Wengier | Posted 2003-04-15 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
First load the 8139 network card's Packet driver, then run the browser. The 8139 network card's Packet driver can be downloaded from the RealTek website.
|
|
| Floor3 寒稞 | Posted 2003-04-16 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
Moderator, I finally managed to find the 8139's rtspkt.com, but when I run lynx, it says "Configuration file /dev/env/DJDIR/lib/lynx.cfg is not available." But at that point lynx.cfg is already in the root directory. I also downloaded this file from the website, and it still doesn't work
Could you give me a hint what the reason is? |
|
| Floor4 寒稞 | Posted 2003-04-16 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
By the way, one more question: how do you use rtspkt.com? *blush*。。
Sorry, we really know too little about DOS. |
|
| Floor5 Wengier | Posted 2003-04-17 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Try this:
RTSPKT 0x60 |
|
| Floor6 寒稞 | Posted 2003-04-17 00:00 |
| 初级用户 Posts 27 Credits 181 | |
| Floor7 Wengier | Posted 2003-04-17 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Then first set the LYNX_CFG environment variable so that it points to the LYNX.CFG file.
|
|
| Floor8 寒稞 | Posted 2003-04-17 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
Since I don't know DOS very well, I'll have to trouble the moderator a lot more :)
How do I set the LYNX_CFG environment variable so that it points to the LYNX.CFG file? In which file should I make the change? |
|
| Floor9 Dark-Destroy | Posted 2003-04-17 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
For example, if you put lynx.cfg under C:\lynx\, run lynx -cfg=c:\lynx\lynx.cfg
|
|
| Floor10 寒稞 | Posted 2003-04-18 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
This is bad, following what Dark-Destroy said, it instead shows:
No nameserver defined! No nameserver defined! "sin_mask"is 0.0.0.0 ! Cannot set local ip-address What should I do at this point? Thanks a lot :) |
|
| Floor11 Roy | Posted 2003-04-18 00:00 |
| 管理员 Posts 1,633 Credits 4,869 | |
|
Did you modify wattcp.cfg?
|
|
| Floor12 寒稞 | Posted 2003-04-19 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
To tell the truth, I also noticed it has something to do with this file, but after staring at it for a long time, I'm still totally confused. This file seems to configure DNS, the local IP, and other network options, but I really can't understand it
![]() I sincerely hope the moderator can explain it with an example. For instance, post a configured wattcp.cfg and add a brief explanation :) Sorry to trouble the moderator |
|
| Floor13 寒稞 | Posted 2003-04-19 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
I tried changing the ip= value to dhcp, but I may not have grasped the key point. It still doesn't work. So I hope the moderator can post a modified file; that would be more intuitive.
|
|
| Floor14 Wengier | Posted 2003-04-19 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Is it this one:
# # 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 ]" # # 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 ...omitted below. |
|
| Floor15 寒稞 | Posted 2003-04-19 00:00 |
| 初级用户 Posts 27 Credits 181 | |
|
My lynx is in the aaa directory on drive C. If I run the following command:
lynx -cfg=c:\aaa\lynx.cfg www.163.com it shows: 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 What seems to be the problem here? |
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |