4.2.2CONFIGURATION (OPTIONAL)
The SETODI is a self-configuring driver that automatically detects the correct LPT port, interrupt line, and unidirectional/bidirectional mode to be used. If you have a special configuration, you may need to override this automatic selection by using the NET.CFG file. Otherwise, you should skip this section.
The NET.CFG file is an auxiliary file used by the ODI drivers. It includes configuration information about the network adapters in your workstation. If you do not use any of the special options listed in this section, you do not need to edit NET.CFG.
The sample NET.CFG file supplied in the \ODI subdirectory includes the following commands:
LINK DRIVER SETODI ;POLLING
;UNIDIR
;LPTn
;EPP
;FRAME ETHERNET_802.2
;DISABLELINK
Lines preceded by semicolons are comments. To select an option, edit the semicolon out of the corresponding line.
The pocket adapter driver section in the NET.CFG file must start with the line LINK DRIVER SETODI, which identifies the driver to which the driver options apply. The next line is optional and must start with an empty space, such as a true space or a tab.
The options are as follows:
•POLLING—A PC may use either IRQ-7 or IRQ-5 for handling the parallel port communications. If you need to work without interrupts (usually only with test evaluations), delete the semicolon in this line. This will force the driver to operate in a polled mode without using hardware interrupts.
•UNIDIR—Whenever the SETODI driver is loaded into memory, it tests the parallel port to determine whether it can be operated in the faster bidirectional mode. The Adapter is then configured according to the test results. However, when you use a long extension cable or a low-quality parallel port, the bidirectional mode may not operate reliably, even if the test passes. In this case, you should force the unidirectional mode by deleting the semicolon in this line.
•LPTn—The ODI driver for the Adapter is auto-configuring, automatically detecting the correct port to be used. To specify the exact parallel port with which the SETODI driver is to work, delete the semicolon in this line and specify the port number (1 to 4) in place of the n.