Changing Device name / MAC address Hyper-V

  1. 11 years ago

    Hi,
    I've been using FOP2 on a few installation very happily its a great product.

    Recently we have been installing asterisk on more and more hyper-v installs and recently I needed to add a new virtual NIC(Eth1) and remove the orginal NIC(Eth0)

    After doing this , I cnat seemt o get FOP2 working again :
    I get

    [root@localhost fop2]# ./fop2_server --upgrade
    eth0: error fetching interface information: Device not found
    Can't get info from ifconfig: at script/fop2_server.pl line 6807.

    Because eth0 doesn't exist any more

    If I try and re-install (After altering the makefile to point to eth1) I get:
    Reactivation failed! (ERROR)
    .
    .
    Upgrade Aborted. License reactivation failed.

    Any ideas?

  2. admin

    1 Jul 2013 Administrator

    If you plan to change network hardware or configuration, or reinstall your server, you *must* revoke the FOP2 license prior to that, with the command:

    /usr/local/fop2/fop2_server --revoke

    that action will free up your activation code to be used again after your changes/reinstallation.

    If you cannot restore the original MAC address of the machine, you won't be able to run --revoke (as it only works on a valid licensed version, and yours is currently unlicensed due to the MAC change). In that case you must request a manual revokation via email.

    Remember not to post your activation code in a public forum

    Best regards,

  3. 10 years ago

    During the first registration, must be NIC eth0 (I have NIC eth1 and NIC eth2, Elastix, FOP2 - 2.25.2)?

  4. admin

    23 Dec 2013 Administrator

    During the first registration, must be NIC eth0 (I have NIC eth1 and NIC eth2, Elastix, FOP2 - 2.25.2)?

    It does not matter what NIC interface you use. The simplest one is to use eth0, as it is the one fop2 will default to use. If you *need* to use a different one for whatever reason, then you must indicate the nic name using the -i command line parameter, like

    /usr/local/fop2/fop2_server --register -i em1

    Once you do that, *every* time you invoke FOP2, you will need to remember to pass the same command line option if youu want it to recognize the license. You will also need to edit /etc/sysconfig/fop2 and add the parameter to the OPTIONS string defined there, so the init script will use it when you start/stop/restart.

    Best regards,

or Sign Up to reply!