问题描述
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 in
cmdand pressReturn. - Type in
ipconfig /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 in
hostnameat the command prompt and press Return. The output is the server name. - Type in
ip -br linkat the command prompt and press Return. The hostid is the 12-digit number listed in the third column of the output.

COMSOL 已尽一切合理的努力核实本页面所提供的信息。但请注意,所有资源与文档仅供学习参考。COMSOL 不对其有效性作任何明示或暗示的声明,亦不承担因所披露数据的准确性而产生的任何法律责任。本文提及的所有商标均为其各自所有者的财产。有关完整的商标信息,请参阅相关产品手册。



