Changing Device name / MAC address Hyper-V
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?
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?
Comments
/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,
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,