LMHOST ID returns

One of the issues many users have found when trying to install the ADS license manager on Linux operating systems is that the lmhost id returns "000000000000".  

This issue occurs because FlexLM is hardcoded to look for eth0 to retrieve the MAC address of the device, but as of RHEL 6.8+ eth0 is now something different (such as en0).

The only way to get around this issue is manually rename the link.  This can be done the following ways:

1) If you know the current device name (eg. en0)  you can simply us the "ip" command to change the name.  Please note that this is only a temporary fix.

> sudo ip link set en0 down
> sudo ip link set en0 name eth0
> sudo ip link set eth0 up

2) A more permanent fix is to create a UDEV rule.  This can be done  by creating a new file under /etc/udev/rules.d/70-presistent-net.rules and then editing the file as such.  In this example, the MAC address is assumed to be "00:02:8f:40:29:64"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:8f:40:29:64", name="eth0"

Once you have done either of these 2 options, you can check for correctness by running lmhostid.  

Code
Author
Michael Ni
Date Created
2017-02-01 03:40:21
Date Updated
2018-02-09 01:37:29
Views
2175