适用平台: 所有平台 适用版本: 所有版本

问题描述

How do I obtain a hostid for my license file?

解决方法

For many license types in the COMSOL product family, your COMSOL sales representative will ask you for some information in order to create installation codes. COMSOL uses the FlexNet Publisher licensing system to create installation codes using the HostID and server name and possibly more information about your system. Theserver nameis the network name of the computer, which can be just a name, (e.g., bart), a fully qualified ip-name (bart.simpson.com) or an ip-number (130.243.43.3). TheHostIDis the physical hardware number of the Ethernet Network Interface Card (NIC). The HostID is sometimes calledEthernet addressorMAC-address (Media Access Control address).

Computers often have different cards with different hostids listed on them. If you are unsure about which hostid to use, please include the full printout of the command you ran when communicating with your COMSOL representative.

Obtaining the hostid on Windows
Obtaining the hostid on Mac OS X
Obtaining the hostid on Linux

Obtaining the hostid on Windows

  • First open the command window: Press keyboard shortcutWindow button+R, (or, if you have no window button: Put the insertion point in the search field.). Type incmdand pressReturn.
  • Type inipconfig /allat the command prompt and press Return.
  • The FlexNet hostid is the same as the "Physical Address". This must be reported to your COMSOL representative in order to sign a license file.
  • The server name is the same as the "Host Name". The host name can also be reported to your COMSOL representative for easy handling, but it is not necessary to create the license file.

hostid for PCs with wireless adapters

If you plan to install on a PC with a wireless network adapter, you should report the physical address of both the wireless and the Ethernet adapter.

Obtaining the hostid on macOS

  • Open System Preferences from the Apple Menu.
  • Go to System Preferences and selectNetwork.
  • Select the correct Ethernet adapter and clickAdvanced
  • Select the Hardware tab where you will find the MAC address listed.
  • Report the MAC address for bothEthernet 1and alsoEthernet 0if it exists. These numbers should each consist of 12 characters. Do not select Firewire.

To find the server name, open the Terminal application found in the/Applications/Utilitiesfolder and type inhostname.

Obtaining the hostid on Linux

  • Open an xterm window.
  • Type inhostnameat the command prompt and press Return. The output is the server name.
  • Type inip -br linkat the command prompt and press Return. The hostid is the 12-digit number listed in the third column of the output.

Baidu
map