This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCSv5.2 does not recognize Host ID on Linux using NIC-based interface names

Other Parts Discussed in Thread: SYSCONFIG

After upgrade OS on my workstation to Fedora17 my node-locked CCS license stopped working. The error message says that the host ID does not match the ID from the license file. The workstation has only one ethernet card and the MAC address has not changed. ifconfig shows the same MAC address as the host id in the license file. Rehosting  the license with the same ID did not help. After a bit of research I narrowed down the problem to naming of the network interfaces: instead of ethX interfaces as they used to be named in earlier versions of Fedora, F17 switched to bus-based names, indicating physical location of the interface (p34p1 on my system). As a temporary solution I renamed the interface to eth0 using the following udev rule:

$ cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

It worked, but it's an ugly hack which walks around the problem, but does not fix it.

Is there a config file where the interface name defining the host ID can be specified? The ideal solution would be to make the CCS aware of the new naming scheme, or give the user an option to enter if name in the license configuration.

  • It's been almost three weeks and still nobody from TI's support has been able to respond to a question about problems with a purchased license?

  • Searching around we found the following information which may help you with this:

    ----------------------------------------------

    Fedora has decided to change the names of the network interface from ethX to emX (see here).

    If you decide to install a commercial software which needs to check its FLEXnet license (from Flexera) on a server running F15, you will need to provide the hostid of your server to the software company by running the lmhostid executable, which gives the MAC address of your server.


    with network interfaces named like em0em1 ..., you will get a null MAC address:
    $ ./lmhostid 
    lmhostid - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
    The FLEXnet host ID of this machine is "000000000000"

    which is the MAC address of the loopback (lo) interface.


    Therefore, you need to change the network interface name back to ethX. FLEXnet license manager only understand network interfaces starting with eth.


    Add the kernel option biosdevname=0 in /etc/grub.conf:
    $ su -
    # GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel`
    # /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='biosdevname=0' &>/dev/null


    Edit file  /etc/udev/rules.d/70-persistent-net.rules and add the 2 following lines:
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:10", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:11", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

    Be sure to put your MAC addresses in the fields above.

    Rename the ifcfg-* config files in /etc/sysconfig/network-scripts to match the eth0 and eth1 device names.

    Then reboot and re-run lmhostid to get:
    $ ./lmhostid 
    lmhostid - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
    The FLEXnet host ID of this machine is ""001122334410 001122334411""

    http://allaboutfedora.blogspot.com/2011/10/f15-going-back-to-eth0-eth1.html