Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Changing Device name / MAC address Hyper-V

Changing Device name / MAC address Hyper-V

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 182 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V
    V
    voicelinx
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      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,

      1 Reply Last reply
      0
      • A
        A
        AndreVR
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          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,

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups