Barry Miller
2010-Sep-06 19:32 UTC
[asterisk-users] What can make G.729a codec hostid change?
After upgrading my small test system from Debian Etch->Lenny via a complete reinstall, I find my g729 hostid has changed. Same machine, same CPU, same NIC! It doesn't seem reasonable that I have to burn my one "no-hassle" re-registration for a simple OS upgrade. The README only says that hostid is based on MAC addresses of all NICs, but that doesn't seem to be true. Does anyone know anything else that might cause g729 to compute a different hostid? Console output follows: Connected to Asterisk SVN-branch-1.6.2-r284958M currently running on secundus (pid = 2430) secundus*CLI> g729 show version Digium G.729A Module Version 1.6.2.0_3.1.4 (optimized for k6_3_32) secundus*CLI> g729 show hostid Host-ID: 02:e1:6c:f6:81:a7:06:b6:4d:fc:94:49:83:c5:3e:71:a4:0f:1b:2c secundus*CLI> g729 show licenses 0/0 encoders/decoders of 0 licensed channels are currently in use Licenses Found: File: G729-2028xxxx.lic -- Key: G729-2028xxxx -- Host-ID: 98:3e:89:19:af:0c:11:32:49:cc:fc:9b:e4:92:63:bb:fc:0b:26:4d -- Channels: 0 (incorrect host-id) File: G729-4075xxxx.lic -- Key: G729-4075xxxx -- Host-ID: 98:3e:89:19:af:0c:11:32:49:cc:fc:9b:e4:92:63:bb:fc:0b:26:4d -- Channels: 0 (incorrect host-id) -- Barry
Kyle Kienapfel
2010-Sep-07 11:02 UTC
[asterisk-users] What can make G.729a codec hostid change?
On Mon, Sep 6, 2010 at 12:32 PM, Barry Miller <asterisk-users at notanet.net>wrote:> After upgrading my small test system from Debian Etch->Lenny via a > complete reinstall, I find my g729 hostid has changed. Same machine, > same CPU, same NIC! It doesn't seem reasonable that I have to burn > my one "no-hassle" re-registration for a simple OS upgrade. > > The README only says that hostid is based on MAC addresses of all NICs, > but that doesn't seem to be true. Does anyone know anything else that > might cause g729 to compute a different hostid? > > Console output follows: > > Connected to Asterisk SVN-branch-1.6.2-r284958M currently running on > secundus (pid = 2430) > secundus*CLI> g729 show version > Digium G.729A Module Version 1.6.2.0_3.1.4 (optimized for k6_3_32) > secundus*CLI> g729 show hostid > Host-ID: 02:e1:6c:f6:81:a7:06:b6:4d:fc:94:49:83:c5:3e:71:a4:0f:1b:2c > secundus*CLI> g729 show licenses > 0/0 encoders/decoders of 0 licensed channels are currently in use > > Licenses Found: > File: G729-2028xxxx.lic -- Key: G729-2028xxxx -- Host-ID: > 98:3e:89:19:af:0c:11:32:49:cc:fc:9b:e4:92:63:bb:fc:0b:26:4d -- Channels: 0 > (incorrect host-id) > File: G729-4075xxxx.lic -- Key: G729-4075xxxx -- Host-ID: > 98:3e:89:19:af:0c:11:32:49:cc:fc:9b:e4:92:63:bb:fc:0b:26:4d -- Channels: 0 > (incorrect host-id) > > -- > Barry > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >Just one nic? I don't know much about licensing but I do know that if you swap ethN assignments on network cards the hostid changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100907/d52dfbd6/attachment.htm
Dave Platt
2010-Sep-07 17:58 UTC
[asterisk-users] What can make G.729a codec hostid change?
> Yes. Just the lone integrated NIC that's always been there. NO hardware > changes. Still eth0 with the same MAC address.Do you have any additional, "soft" network interfaces defined? For example, have you enabled OpenVPN, and thus loaded either the "tap" or "tun" network-interface drivers? Do you have an IPv6-over-IPv4 tunnel defined (and thus loaded the "sit" driver)? Note that "ifconfig" will not necessarily show all of your interfaces (hard- or soft-) - only the active, configured ones. Take a look at /proc/net/dev and see if anything shows up, which ought not to. Also, check the "ifconfig" for each interface, and see if the HwAddr is exactly what you would expect. It's conceivable that your network driver changed, and is (for some reason) reporting a longer hardware address string (e.g. one padded with zeros).
Barry Miller
2010-Sep-07 23:32 UTC
[asterisk-users] SOLVED: What can make G.729a codec hostid change?
On Mon, Sep 06, 2010 at 03:32:35PM -0400, Barry Miller wrote:> After upgrading my small test system from Debian Etch->Lenny via a > complete reinstall, I find my g729 hostid has changed. Same machine, > same CPU, same NIC! It doesn't seem reasonable that I have to burn > my one "no-hassle" re-registration for a simple OS upgrade. > > The README only says that hostid is based on MAC addresses of all NICs, > but that doesn't seem to be true. Does anyone know anything else that > might cause g729 to compute a different hostid?G.729a is happy again. I'm not sure how many people will be affected by this, but here's what fixed it here: Etch loads eth1394.ko, Lenny doesn't. Why, I don't know. But it caused the eth0 PHY to become iface eth1. To get things working again, I added "alias eth0 eth1394" to modprobe.conf, and swapped eth0<->eth1 in udev/rules.d/70-persistent-net.rules and network/interfaces. If there's a simpler way to do this, please let me know. Now my original hostid is back. Thanks, everybody. -- Barry