?? tyt10fi.htm
字號:
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>The CONFIG.SYS File</B></FONT></CENTER></H5>
<BR>
<P>The CONFIG.SYS file might be considerably different for each installation. The HIMEM memory device driver is required, and the SMARTDRIVE caching system is recommended. All installations should have adequate values for the FILES and BUFFERS settings, which are normally set by Windows when it is installed. The CONFIG.SYS should have these values as a minimum:
<BR>
<PRE>
<FONT COLOR="#000080">BUFFERS=30
FILES=30
LASTDRIVE=Z
STACKS=9,256</FONT></PRE>
<P>This creates enough file and buffer settings to enable multiple files to be open at once. Higher values are better, although there is a trade-off of efficiency once the values exceed a certain value (depending on the amount of RAM in a system). The LASTDRIVE setting enables more drives to be open than are physically connected to the system. This is necessary when remote drives are mounted, either through Windows for Workgroups or Chameleon.
<BR>
<P>For a Windows or Windows for Workgroups 3.1 system, Chameleon adds the following commands to the CONFIG.SYS file:
<BR>
<PRE>
<FONT COLOR="#000080">DEVICE=C:\NETMANAG\PROTMAN.DOS /I:C:\NETMANAG
DEVICE=C:\NETMANAG\EXP16.DOS
DEVICE=C:\NETMANAG\NETMANAG.DOS</FONT></PRE>
<P>These load the device drivers for the protocol manager, the network interface card, and the specific protocol for Chameleon. The protocol manager and network interface card device drivers were discussed in the DOS section earlier today.
<BR>
<P>Windows for Workgroups 3.11 usually has a command in the CONFIG.SYS file that looks like this:
<BR>
<BR>
<PRE>
<FONT COLOR="#000080">DEVICE=C:\WINDOWS\IFSHLP.SYS</FONT></PRE>
<P>This automatically loads all the necessary drivers. In some cases, Chameleon adds the command for the Windows for Workgroups 3.1 device drivers to the end of the CONFIG.SYS file, even if the IFSHLP.SYS driver exists. Comment out the added device drivers and try the system without them. The IFSHLP.SYS device driver should be sufficient.
<BR>
<BR>
<A ID="E70E41" NAME="E70E41"></A>
<H5 ALIGN=CENTER>
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>The SYSTEM.INI File</B></FONT></CENTER></H5>
<BR>
<P>The Windows SYSTEM.INI file requires a few changes to ensure that Chameleon is loaded properly. These should be effected by the installation script, but check the lines carefully anyway.
<BR>
<P>The [boot] section of the SYSTEM.INI file should have the following two lines:
<BR>
<PRE>
<FONT COLOR="#000080">[boot]
shell=progman.exe
network.drv=C:\NETMANAG\MULT400.DRV</FONT></PRE>
<P>The shell line might be different if the system uses a replacement program manager (such as Central Point PC Tools for Windows Desktop Manager). The MULT400 driver supports several networks at a time. The order of these lines in the SYSTEM.INI file is not important, as long as they appear in the proper section. The MULT400 driver takes care of loading all the necessary drivers for each network. Windows for Workgroups should have this line
<BR>
<BR>
<PRE>
<FONT COLOR="#000080">network.drv=wfwnet.drv</FONT></PRE>
<P>either commented out with a semicolon at the start of the line or removed entirely. The WFWNET driver is the Windows for Workgroups network driver, which must be replaced by MULT400.
<BR>
<P>The [boot.description] section of the SYSTEM.INI file is changed to
<BR>
<PRE>
<FONT COLOR="#000080">[boot.description]
network.drv=NetManage ChameleonNFS</FONT></PRE>
<P>or a similar line if another NetManage product is installed.
<BR>
<P>The [386Enh] section has several changes made. These are as follows:
<BR>
<PRE>
<FONT COLOR="#000080">[386Enh]
device=C:\netmanag\nmredir.386
network=*vnetbios,*vwc,vnetsup.386,vredir.386,vserver.386
netmisc=ndis.386,ndis2sup.386
netcard=
transport=nwlink.386,nwnblink.386,netbeui.386
InDOSPolling=FALSE</FONT></PRE>
<P>The order of the lines in the section doesn't matter. They load the correct network device drivers into the Windows kernel.
<BR>
<P>Finally, the [network drivers] section should have these lines:
<BR>
<PRE>
<FONT COLOR="#000080">[network drivers]
netcard=elnk3.dos
devdir=C:\WINDOWS
LoadRMDrivers=YES
transport=ndishlp.sys,c:\netmanag\netmanag.dos,*netbeui</FONT></PRE>
<P>The netcard line changes depending on the network interface card used. The LoadRMDrivers line should be changed from the Windows for Workgroups default value of NO to YES.
<BR>
<BR>
<A ID="E70E42" NAME="E70E42"></A>
<H5 ALIGN=CENTER>
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>The PROTOCOL.INI File</B></FONT></CENTER></H5>
<BR>
<P>The PROTOCOL.INI file for a Windows for Workgroups installation doesn't require many changes. The driver information should already exist. A new section added by Chameleon should look like this:
<BR>
<PRE>
<FONT COLOR="#000080">[NETMANAGE]
DRIVERNAME=netmng$
BINDINGS=MS$ELNK3</FONT></PRE>
<P>The BINDINGS line changes depending on the network interface card. It is easiest to copy the line from another section of the PROTOCOL.INI file.
<BR>
<BR>
<A ID="E69E136" NAME="E69E136"></A>
<H4 ALIGN=CENTER>
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>Configuring Chameleon</B></FONT></CENTER></H4>
<BR>
<P>Once Chameleon has been installed and the startup files checked for proper content, you can configure the software for the sample machine. This is done through the Chameleon CUSTOM application. When started, CUSTOM displays a status screen as shown in Figure 10.4.
<BR>
<P><B><A HREF="10tyt04.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt04.gif">Figure 10.4. The Chameleon Custom screen.</A></B>
<BR>
<P>If the installation routine didn't add the machine's name and IP address to the Custom screen, use the Setup menu item to select the different aspects of the configuration that must be specified. You should provide a machine name, IP address, subnet mask, and domain name, as well as the interface if not already added (Ethernet, in this case).
<BR>
<P>To enter the names of the other machines on the network and their IP addresses, select the Services menu Host Table option to display the Host Table dialog box. To add the other machines on the sample network, enter a name in the top portion of the window in the field titled Official Name and click the Add button. This shows a window for the IP address, which should be filled in completely. Then click OK. The IP address and the machine name are now entered into the host table. This window is shown in Figure 10.5 with the address for the machine merlin added. If a machine has more than one name, the different names can be added as aliases through this screen, as well.
<BR>
<P><B><A HREF="10tyt05.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt05.gif">Figure 10.5. Chameleon's Host Table IP Address </B><B>dialog box.</A></B>
<BR>
<BR>
<A ID="E69E137" NAME="E69E137"></A>
<H4 ALIGN=CENTER>
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>Testing Chameleon</B></FONT></CENTER></H4>
<BR>
<P>After the changes to the four configuration files are completed, reboot the system and start Windows. Watch for error messages as the Chameleon lines in the CONFIG.SYS and AUTOEXEC.BAT files are executed. If Windows for Workgroups was installed and working prior to installing Chameleon, there should not be any errors.
<BR>
<P>The easiest way to test the new TCP/IP system is to use the ping utility within the Chameleon program group. When selected, it displays a small dialog box. Select the Start option, which displays another dialog box waiting for a machine name. Enter the name of the local machine. This is shown in Figure 10.6 for the sample network Windows machine pepper.
<BR>
<P><B><A HREF="10tyt06.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt06.gif">Figure 10.6. Using </B><B>ping</B><B> to test the local </B><B>host.</A></B>
<BR>
<P>The ping window should show a successful result. This is indicated by a message showing the number of bytes received, as well as time information. A sample output from a successful attempt to ping the local machine is shown in Figure 10.7.
<BR>
<P><B><A HREF="10tyt07.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt07.gif">Figure 10.7. </B><B>ping</B><B> diagnostic messages.</A></B>
<BR>
<P>If the ping attempt is not successful, Chameleon displays a message about the network drivers not installed or about unreachable hosts. Upon receipt of such a message, check the network card settings and all the configuration information through the CUSTOM program.
<BR>
<P>The next step is to use ping to send to another machine on the network. Figure 10.8 shows the output from a ping attempt on freya, the sample network's Linux server and to whitney, the Windows 95 machine that is not booted (and hence should fail). The system timed out on the whitney attempt, as you would expect.
<BR>
<P><B><A HREF="10tyt08.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt08.gif">Figure 10.8. </B><B>ping</B><B> across a network.</A></B>
<BR>
<P>If the ping attempts across the network fail on all machines, the problem is likely with the configuration. Check all the configuration information (as previously noted), as well as the network cables and cards. Make sure the machines to be pinged are up and running TCP/IP.
<BR>
<P>If the network is operating properly, try the ftp and telnet applications from the Chameleon program group. Full instructions for these utilities are in the documentation. As long as a host table entry has been created and ping succeeded, the other utilities should function properly. Both provide a graphical interface that Windows users will find familiar, instead of the character-based line interface found with DOS. To configure more elaborate functions within Chameleon (such as SNMP, mail, and Gateway routing), consult the Chameleon documentation.
<BR>
<BR>
<A ID="E68E99" NAME="E68E99"></A>
<H3 ALIGN=CENTER>
<CENTER>
<FONT SIZE=5 COLOR="#FF0000"><B>Configuring Windows 95 for TCP/IP</B></FONT></CENTER></H3>
<BR>
<P>The final client on the sample network that requires configuration is the machine called whitney, with IP address 147.120.0.10. Windows 95 is the easiest of the three clients to configure because everything you need to set up TCP/IP under Windows 95 is included with the software distribution. Windows 95 is configured by default to use NetWare IPX/SPX as the network protocol, but switching to TCP/IP is quite easy.
<BR>
<P>Begin the Windows 95 configuration process by installing the network adapter card. In some cases, when you restart Windows 95 the operating system automatically recognizes the addition of the network card and proceeds to the configuration routines for you. In many cases, though, you have to instruct Windows 95 to look for the network adapter card.
<BR>
<P>To install a network adapter card, open the Windows 95 Control Panel and double-click the Add New Hardware icon. This calls the Add New Hardware Wizard. After you click the Next button on the introductory dialog, Windows 95 gives you the option of having the operating system try to detect the new hardware automatically.
<BR>
<P>It is usually best to let Windows 95 try to find the network adapter by itself, especially if the new card is a plug-and-play type. If Windows 95 can identify the hardware automatically, it saves you having to provide configuration information. If you want Windows 95 to go ahead and look for the network adapter, select the Yes button on this dialog (the default value) and click the Next button. Windows 95 begins searching the system for new hardware. If Windows 95 detects a new network card, it displays a screen showing the parameters it detected and lets you confirm the selection. After a reboot, the network card should be properly recognized and active.
<BR>
<P>If Windows 95 didn't detect the network adapter, you have to install and configure it manually. Windows 95 shows a dialog like the one in Figure 10.9. Clicking the Next button displays the dialog shown in Figure 10.10, which asks for the type of new hardware device you are installing. In this case, you double-click the Network adapters option.
<BR>
<P><B><A HREF="10tyt09.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt09.gif">Figure 10.9. This dialog is displayed if Windows 95 </B><B>couldn't detect a new network adapter card.</A></B>
<BR>
<P><B><A HREF="10tyt10.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt10.gif">Figure 10.10. This dialog asks for the type of </B><B>hardware you are installing.</A></B>
<BR>
<P>The next dialog to appear shows a list of network adapter card manufacturers on the left side, and a more detailed list of network card models from the selected manufacturer on the right. Select the proper manufacturer of the network adapter card in the list at left by single-clicking the manufacturer's name, then select the name in the right-side list that matches the specific card.
<BR>
<P>You must be careful that you match the name of the adapter card exactly with the list, because some drivers do not work on other cards from the same manufacturer. If you select the wrong adapter card, you won't cause any damage to either the card or Windows 95, but the network will not be found properly by Windows 95. If you can't find the particular model name of the network adapter card you are using, but you have a driver supplied on disk, use the Have Disk button to read the driver into Windows 95.
<P>Once you have selected the proper network card name, Windows 95 displays a window with configuration information shown in it. This dialog is shown in Figure 10.11. The amount of configuration information shown in this dialog, and the settings it shows, are different for each network adapter card.
<BR>
<P><B><A HREF="10tyt11.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt11.gif">Figure 10.11. Windows 95 uses this dialog to ask </B><B>for the configuration settings of the network card.</A></B>
<BR>
<P>If the network adapter was found by autodetection, the settings shown in this dialog are the ones Windows 95 assumed are correct for the card. If Windows 95 couldn't find the network card, the settings shown are the default values usually used by the manufacturer. Check the documentation supplied with the network adapter card to confirm the settings. After you confirm that the displayed values are correct, Windows 95 installs the software necessary to drive the network adapter card.
<BR>
<BR>
<A ID="E69E138" NAME="E69E138"></A>
<H4 ALIGN=CENTER>
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>Installing TCP/IP</B></FONT></CENTER></H4>
<BR>
<P>You can install the TCP/IP drivers included with Windows 95 by displaying the Network dialog. Click the Network icon in the Control Panel to display the Network dialog shown in Figure 10.12. The dialog should show a few basic entries created when Windows 95 installed itself, as well as the network hardware card. By default, the NetBEUI or NetWare (IPX) protocols might already be loaded.
<BR>
<P><B><A HREF="10tyt12.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/10tyt12.gif">Figure 10.12. The Netwo
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -