With the popularization of computers and networks, network operations (such as file transmission and ChAT) and Internet networks become more and more important. Since DOS has so many users, how can we use it to achieve networking? Dr-DOS 7. XX and ROM-DOS 7. XX self-built networking (including LAN and TCP/IP protocols, etc.) functions, but we do not commonly used MS-DOS. However, there is no way, but some additional software is needed. Better: Netware lite 1. X and Microsoft network client 3.0 (both can be downloaded from "Network Tools" on this site). The following uses Microsoft network client 3.0 as an example to describe how to implement LAN. For more information about how to connect to the Internet in DOS, see the following section.
First, install Microsoft network client 3.0 (hereinafter referred to as msclient) on the computer to be connected. Enter the Working Group, computer name and IP address, and user name and password in the installation, select the model of the network card to be installed in the list. If your network card does not exist in the list, you need the driver that comes with the network card.Program, Usually in a floppy disk or on a CD. When it prompts you to enter the OEM disk, you can insert the driver disk of the NIC and enter the appropriate path. Because the NIC drivers required by different network systems are not the same, for msclient, choose the ndis2 or msclient folder in the drive disk, for example, a: \ msclient. If it is correct, it will be automatically installed. As for network protocols, it is enough to have netbeui and TCP/IP protocols. Too many protocols will slow down the network speed. After the installation is complete, msclient automatically puts the network startup command into autoexec. bat. After restarting the computer, the network is automatically started. When the system prompts you to enter the user name and password, enter the one you just set. Then, the network starts to run. For example, if you want to view all the computers in the current working group, you can enter the net view command.
However, at this time, everyone is still a client, there is no server, you must install the server to share files. After installation, you can use the netshare command to set the sharing path. For example, if you want to share a drive D, you can also set a password to avoid unauthorized access. Once the server and sharing are set up, the client can access the resources on the computer. For example, the net use E: \ PC \ c command will redirect the drive (or folder) with the shared name C from the computer named PC to the edisk, the contents on the remote computer can be accessed as on the local computer. However, it is very important to enable the settings of the file sharing Function of the msclient and the printer by using the edit and other text editors to open the system in the msclient folder. INI: change all filesharing and printsharing values in [network] to yes. After saving and exiting, you can use the file and printer sharing functions.
If you want to associate dos with a Windows computer, you can also. Windows 3.11 for workgroups, Windows 9x, and Windows NT/2 k/XP use a network called Microsoft Windows network, it is compatible with Microsoft network client 3.0 in DOS, so they can achieve very good mutual access, just like the network between DOS and DOS, or between windows and windows. However, if you want to use a DOS computer to access a Windows NT/2 k/XP computer, you must set the user account of the DOS computer in Windows NT/2 k/XP; otherwise, the user account cannot be accessed.
Microsoft network client 3.0 has many very useful commands, such as ping. If you want to know these commands and their usage, see "DoSArticle"Topic.
In addition to using msclient, you can also use Netware and other tools to connect to the Internet. Take Netware lite as an example. After installation, execute startnet. BAT to automatically transfer to the peer network (including servers ). In this case, the built-in net command can be used for full-screen network management. You can also use the command line method. For example, the net map command can be redirected to the other computer (of course, you need to set up sharing first ). The simpler method is to load the IPX protocol (ipxodi. com), directly use ipxcopy. EXE command (which can be downloaded from "DOS software") for file transfer, without starting the server. The method is to use the ipxcopy command on one computer to start the receiver and use the "ipxcopy file name" command on the other computer for transmission. The file name can be a wildcard character, you can also use the/s option to specify files that include subfolders. Of course there are other methods, so I will not introduce them here.
The above is the connection method of LAN. Next we will talk about the Internet method. There are two ways to access the Internet: one is dial-up access, that is, through a modem, and the other is through a nic. For ISDN and ADSL, the method is similar to using a common Nic to access the Internet. Therefore, there are two ways to access the Internet. First, use the NIC to access the Internet. Generally, the NIC Driver contains a driver named packet driver, which is usually in the pktdrv folder of the drive disk, it is the most critical network interface driver to connect to the Internet in DOS, most Internet programs in DOS need to have it to implement the Internet function (if the packet driver is not found in the NIC Driver, you can search for it on http: // www.crynwr.com ). For example, if your network card is ne2000, you can use ne2000.com in the pktdrv folder of the drive disk to drive the network card. You only need to enter ne2000 on the command line. However, the packet driver of some NICs needs to enter the installation Io address, usually 0x60 (98 in decimal format), that is, run the ne2000 0x60 command to install the driver. If you do not enter an address, the network card is usually installed on 0x60 or 0x62 by default. If you are using dial-up Internet access, you can use either the modem packet driver or the browser to use its own dialer. For the former, you can use a program called lsppp (which can be downloaded from the "Driver program" on this site). It has powerful functions and many command line parameters, you can use lsppp /? Command to view. Generally, you must specify the port number, phone number, user name, and password of the modem. For example, assume that the modem is on com4 and the phone number to be dialed is 163, then you can enter lsppp/N: 4/D: 163/u: User/P: Pwd in the doscommand line to access the Internet (Be sure to pay attention to the case and the space between each parameter ). Once the packet driver or lsppp of the NIC runs successfully, the DOS system is actually connected to the Internet. In this case, Internet software under various dos can directly access the network (of course, to truly implement Internet functions, you also need the TCP/IP protocol that comes with the Network Program ). If you want to disconnect the Internet after the packet driver of the NIC or modem is loaded, you can use the method of installing the packet driver, such as executing the ne2000-u command, you can also use the Generic Packet driver to terminate the program termin (which can be downloaded from "Network Tools" on this site). For example, if the packet driver installation address is 0x60, use termin 0x60. If you want to use the browser's built-in dial rather than the modem packet driver to access the Internet, you can refer to the following Arachne usage.
As you know, you need a web browser to browse the Web page. The best graph browser in DOS is Arachne, which is very powerful and can be downloaded from this site. To use it for dial-up Internet access, a DOS-supported modem (including a hardware modem or a software modem with a DOS driver) is required, can also be used in the DOS window of Win9x). After you select "use modem to access the Internet" on the screen, Arachne will detect every possible port of the modem, you only need to check one successfully. Enter the correct phone number, user name, and password to dial the phone. Of course, if you have used the lsppp mentioned above to load the modem packet driver, you do not have to dial Arachne any more. In this case, the method for setting Arachne is the same as that for setting Arachne to use the packet of the NIC to access the Internet. If you use a network card to access the Internet, you must first run the packet driver of the network card mentioned above. Note that the packet driver must be installed on address 0x60; otherwise, Arachne cannot recognize it. On the settings screen of Arachne, select "use Nic to access the Internet" and select DHCP for automatic configuration. If the network is normal, you can view the webpage. To speed up, you can load the disk buffer program smartdrv. EXE under DOS before running the Arachne browser. For details about how to use the Arachne browser, see the "dos Article.
Of course, there are many ways to use the Internet in DOS, such as using a modem or the packet driver of the NIC and then using wattcp (such as wget and lynx) you can use the wget www.yahoo.com command on the doscommand line to download the home page of the Yahoo website. wget even supports the resumable upload function. To use email, you can use programs such as barebones e-mail to send and receive emails easily (You Need To Know the POP3 and SMTP server addresses of the mailbox ). You can also use corresponding programs for FTP and telnet operations, such as wattcp ftp. For details, see the "Network Tools" on this site. There are many network-related programs in DOS, so we will not detail them here.