Tuesday 25 June 2013

Changing MAC address of UCCX 9

Disclaimer : This blog is just for educational purpose and doesn't involved in any unlicensed and crack software .

The recent license approach of cisco is based on License MAC which is generated based on few parameter you provide during the installation.
However  i am writing this blog for the LAB users only for educational purpose .Plz don't apply this on our production servers.

Before changing the license MAC  you need to boot the UCCX box in rescue mode.You can use any bootbable linux CD however i used linux 5.

when the system boot it gives you a linux rescue mode.

Type Linux rescue in the boot mode

once the server enter into the rescue mode .

type chroot /mnt/sysimage



After that open the file at location /usr/local/bin/base_scripts/LicenseMac.sh and edit this with any editor ( i used the VI editior)

Search for the field ..
FinalString=`expr substr "$SHA1sum" 1 12`

Replace it with

FinalString="Your License MAC Addres"

to save and quit once you have modified the field  press "Escape" the :wq!

:wq!  will save and quit  the vi editor.

Now next step is to modify the  "/etc/selinux/config"

Open the file with VI editor and modify the file as below;

Change the SELINUX=permissive ( by default it will be enforcing mode)

Save and exit the file 

Reboot your uccx box and check using the command show status your new license MAC , upload the permanent license you have with license MAC




4 comments:

  1. The idea is not good because every time you change the MAC Address of your computer you have to purchase a new license .

    Thanks
    Silvester Norman

    Change Mac Address

    ReplyDelete
  2. Hi Silvester

    Thanks for going through the blog and leaving your comment.
    the idea is to use any existing license and put that on lab/demo box not on live/production environment as this kind of changes may not be supported by cisco

    ReplyDelete
    Replies
    1. When i read the blog i was totally confused. Thanks for clarifying me.

      Thanks
      Silvester Norman

      Change Mac Address

      Delete
  3. I am unable to edit usr/local/bin/base_scripts/LicenseMac.sh please suggest. thank you

    ReplyDelete