How to edit NETINFO.CFG outside of INETCFG.

(Last modified: 03Mar2004)

This document (10014694) is provided subject to the disclaimer at the end of this document.

goal

How to edit NETINFO.CFG outside of INETCFG.

fact

Formerly TID 2946741

Novell NetWare 4.11

Novell NetWare 4.2

Novell NetWare 5.0

Novell NetWare 5.1

Novell NetWare 6

Novell NetWare 6.5

symptom

Unable to change the NETINFO.CFG file without getting errors.

ERROR: "Invalid checksum found for configuration file. The configuration file has been tampered with or has been corrupted. The file is meant to be read and written to ONLY by the INETCFG utility. "

cause

Although editing the NETINFO.CFG file can create problems and you should be VERY careful when doing so (ALWAYS make a backup copy in case there are problems), there are sometimes valid reasons why you would want to edit it. For example, after running INETCFG.NLM and transferring existing commands from AUTOEXEC.NCF sometimes improper board names can result in NETINFO.CFG, which is the configuration (.CFG) file that is created and modified by INETCFG.NLM to maintain the load and bind lines imported from AUTOEXEC.NCF as well as those added later .

Another example would be if a driver had an .LDI file, the INETCFG NLM would give the user the option to add special parameters. If not, then editing the NETINFO.CFG file to add the parameter manually would be the only option.

INETCFG.NLM calculates a CRC or checksum on the NETINFO.CFG file and stores it in a file called NETINFO.CHK (in the SYS:ETC directory). If the file is modified outside the INETCFG NLM, the checksum will not be updated; when the user accesses the file through INETCFG NLM, the CRC/checksums will not match and the error will be displayed.

fix

To get rid of this message, edit the NETINFO.CHK file to make it read "0." You may also delete the NETINFO.CHK and reload INETCFG. This will regenerate the NETINFO.CHK. Then the next time the INETCFG NLM is accessed, it will recalculate the correct
checksum and write it out to the NETINFO.CHK file.

If the server was being loaded when the error occurred, the above procedure must be done, then the server should be brought down and back up.

Here is an example of a quick and easy way to deal with this problem:

LOAD EDIT SYS:ETC\NETINFO.CHK
Delete the number value and put in 0.
LOAD EDIT SYS:ETC\NETINFO.CFG
Modify the load lines accordingly to match all bind lines for name issues.

This solution allows you to configure this from the server without having to also login as admin and modify things via the ETC directory using an ASCII. Remember that all editing of these files should always be using an ASCII editor!

document

Document Title: How to edit NETINFO.CFG outside of INETCFG.
Document ID: 10014694
Solution ID: 4.0.29278742.2283439
Creation Date: 19Aug1999
Modified Date: 03Mar2004
Novell Product Class:Connectivity Products
Groupware
Management Products
NetWare
Novell BorderManager Services

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.