|
NetHASP allows for detailed configuration of protection check operations.
Normally, using the default settings (without a configuration file) is fine, but if you experience any issues with its operation, or depending on your environment, please create and use a configuration file.
The configuration file is a text file named "nethasp.ini," so please create and edit it using a text editor such as Notepad.
Also, please save the configuration file (nethasp.ini) in the directory where each program is located. This allows you to configure different settings for each individual program.
If you want to apply the same NetHASP settings to all programs installed on a client PC, simply copy the file to 1 directory within the Windows system.
The nethasp.ini file consists of 4 sections, and each section is optional and can be omitted.
・[NH_COMMON]
・[NH_IPX]
・[NH_NETBIOS]
・[NH_TCPIP]
Here, we will explain some of the commonly used configuration parameters.
・[NH_COMMON] section
| Keywords |
Settings values |
Explanation |
| NH_IPX |
Enabled or Disabled |
Using the IPX protocol |
| NH_NETBIOS |
Enabled or Disabled |
Using the NetBIOS protocol |
| NH_TCPIP |
Enabled or Disabled |
It uses the TCP/IP protocol |
| NH_MACHINE |
IBM or NEC |
Specify the model of the client machine |
| NH_SEND_RCV |
<Numbers (in seconds)> |
License manager communication timeout duration |
・[NH_IPX] section
| Keywords |
Settings values |
Explanation |
| NH_SERVER_NAME |
<Name> |
It communicates with the specified NetHASP server. Maximum 7 characters |
| NH_SEND_RCV |
<Numbers (in seconds)> |
License manager communication timeout duration |
・[NH_NETBIOS] section
| Keywords |
Settings values |
Explanation |
| NH_NBNAME |
<Name> |
Assign a name to the NetHASP license manager |
| NH_SEND_RCV |
<Numbers (in seconds)> |
License manager communication timeout duration |
・[NH_TCPIP] section
| Keywords |
Settings values |
Explanation |
| NH_SERVER_ADDR |
<IP Address> |
Specify the address of the license manager to be searched |
| NH_TCPIP_METHOD |
TCP or UDP |
Configure whether to send TCP packets or UDP packets |
| NH_SEND_RCV |
<Numbers (in seconds)> |
License manager communication timeout duration |
Example configuration file settings for NetHASP
1. When specifying the NetHASP server in a TCP/IP environment
Set the server address to "192.168.0.1"
[NH_COMMON]
NH_TCPIP=enabled
[NH_TCPIP]
NH_TCPIP_METHOD=tcp
NH_SERVER_ADDR=192.168.0.1
2. When switching NetHASP servers for each program (using TCP/IP)
Program A refers to NetHASP server A, which has the IP address 192.168.0.1
Program B refers to NetHASP server B, which has the IP address 192.168.0.2
Create 2 types of nethasp.ini files, and save each one separately
| program |
Program A. |
Program B. |
| Configuration details |
[NH_COMMON]
NH_TCPIP=enabled
[NH_TCPIP]
NH_TCPIP_METHOD=tcp
NH_SERVER_ADDR=192.168.0.1
|
[NH_COMMON]
NH_TCPIP=enabled
[NH_TCPIP]
NH_TCPIP_METHOD=tcp
NH_SERVER_ADDR=192.168.0.2
|
| Storage location |
Installation location for Program A. |
Installation location for Program B. |
3. To increase the connection timeout with the license manager
If a configuration file is not present, the default value is set to 1 second; therefore, modify the following file to set it to 5 seconds.
[NH_COMMON]
NH_SEND_RCV=5
|