g729 License on Linux vServer


#1

Hi,
I am running asterisk on a hoster vServer and I just bought a g729 codec license from digium which I would like to install.
I, however, face a problem with the digium register utility since it cannot read my MAC address.
Is there any possibilitiy to emulate a MAC address on the virtual server so my license gets registered? Or and other reasonable workarounds?

[root@myserver asterisk]# ./register G729-XXXXXXXX

Digium Product Registration
Copyright (C) 2004, Digium, Inc.

Analyzing key 'G729-XXXXXXXX'

Connecting to Digium License Server (216.207.245.3:5646)...OK
Awaiting Response...OK
Requesting status for 'G729-XXXXXXXX'...OK

  Key-ID:   G729-XXXXXXXX
  Product:  Digium-G729
  Channels: 1
  Demo:     No
  Host-ID:  <Unregistered>

Unable to determine hostid.  You must have at least one ethernet card
[root@myserver asterisk]#

My “ifconfig -a” command produces the following output:

[root@myserver asterisk]# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:859236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:859236 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:106526842 (101.5 MiB)  TX bytes:106526842 (101.5 MiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:15489379 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14941007 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2409823722 (2.2 GiB)  TX bytes:2869522784 (2.6 GiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:62.75.184.221  P-t-P:62.75.184.221  Bcast:62.75.184.221  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

[root@myserver asterisk]#

Is there any possibilitiy to emulate a MAC address on the virtual server so my license gets registered? Or and other reasonable workarounds?

Thanks in advance,
Roland.