Re: [asterisk-users] What can make G.729a codec hostid change?
On Mon, Sep 6, 2010 at 12:32 PM, Barry Miller asterisk-us...@notanet.netwrote: 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-2028.lic -- Key: G729-2028 -- 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-4075.lic -- Key: G729-4075 -- 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. -- _ -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
On Tue, Sep 07, 2010 at 04:02:29AM -0700, Kyle Kienapfel wrote: On Mon, Sep 6, 2010 at 12:32 PM, Barry Miller asterisk-us...@notanet.netwrote: 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? 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. Yes. Just the lone integrated NIC that's always been there. NO hardware changes. Still eth0 with the same MAC address. -- 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
Re: [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). -- _ -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
On Tue, Sep 07, 2010 at 10:58:18AM -0700, Dave Platt wrote: Note that ifconfig will not necessarily show all of your interfaces (hard- or soft-) - only the active, configured ones. ifconfig -a would help here. Kernel upgrades often seem to bring in new default interfaces. If this turns out to be the problem, rmmod or a custom kernel compilation may do the trick. (Of course if you've _lost_ an interface you were using under etch this may be more of a problem.) R -- _ -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
Hi, I don't have any g729 codec license. But by reading Barry's complaint I get to think that it is really unfair that Digium can't renew his license or something. I am a Debian user myself and I understand the need to upgrade from etch to lenny (and to squeeze in no time). Having a kernel built on purpose to remove some modules is out of line. A better solution needs to be provided in cases like these. On 7 September 2010 19:15, Roger Burton West ro...@firedrake.org wrote: On Tue, Sep 07, 2010 at 10:58:18AM -0700, Dave Platt wrote: Note that ifconfig will not necessarily show all of your interfaces (hard- or soft-) - only the active, configured ones. ifconfig -a would help here. Kernel upgrades often seem to bring in new default interfaces. If this turns out to be the problem, rmmod or a custom kernel compilation may do the trick. (Of course if you've _lost_ an interface you were using under etch this may be more of a problem.) R -- _ -- 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 -- _ -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
I've lost licenses because I'd modified my redondant dual-ethernet cards into two separate interfaces. I've bought the Digium G729 card even though my server could handle the load with software compression just to get rid of this potential issue. I'm quite happy not having to think about this. Obviously it may not be a solution for everyone. Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tiago Geada Sent: Tuesday, September 07, 2010 14:44 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] What can make G.729a codec hostid change? Hi, I don't have any g729 codec license. But by reading Barry's complaint I get to think that it is really unfair that Digium can't renew his license or something. I am a Debian user myself and I understand the need to upgrade from etch to lenny (and to squeeze in no time). Having a kernel built on purpose to remove some modules is out of line. A better solution needs to be provided in cases like these. On 7 September 2010 19:15, Roger Burton West ro...@firedrake.org wrote: On Tue, Sep 07, 2010 at 10:58:18AM -0700, Dave Platt wrote: Note that ifconfig will not necessarily show all of your interfaces (hard- or soft-) - only the active, configured ones. ifconfig -a would help here. Kernel upgrades often seem to bring in new default interfaces. If this turns out to be the problem, rmmod or a custom kernel compilation may do the trick. (Of course if you've _lost_ an interface you were using under etch this may be more of a problem.) R -- _ -- 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 -- _ -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
On Tue, Sep 07, 2010 at 07:43:45PM +0100, Tiago Geada wrote: Hi, I don't have any g729 codec license. But by reading Barry's complaint I get to think that it is really unfair that Digium can't renew his license or something. I am a Debian user myself and I understand the need to upgrade from etch to lenny (and to squeeze in no time). Having a kernel built on purpose to remove some modules is out of line. A better solution needs to be provided in cases like these. On 7 September 2010 19:15, Roger Burton West ro...@firedrake.org wrote: On Tue, Sep 07, 2010 at 10:58:18AM -0700, Dave Platt wrote: Note that ifconfig will not necessarily show all of your interfaces (hard- or soft-) - only the active, configured ones. ifconfig -a would help here. Kernel upgrades often seem to bring in new default interfaces. If this turns out to be the problem, rmmod or a custom kernel compilation may do the trick. (Of course if you've _lost_ an interface you were using under etch this may be more of a problem.) I posted here before contacting Digium. They have been helpful. Here is what I've found : An old Etch dmesg shows this: eth0: VIA Rhine II at 0x1cc00, 00:13:d4:f5:e3:e6, IRQ 10. eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1. eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0) eth1: link up, 100Mbps, full-duplex, lpa 0x41E1 Current (Lenny) dmesg: [8.257495] eth0: VIA Rhine II at 0x1cc00, 00:13:d4:f5:e3:e6, IRQ 10. [8.258221] eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1. [ 39.188147] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 And a diff between Etch Lenny /etc/network/interfaces: 9,10c9,10 allow-hotplug eth1 iface eth1 inet static --- allow-hotplug eth0 iface eth0 inet static So even though the PHY is eth0 on both, it winds up as eth1 on Etch, (because of the Firewire?), but eth0 on Lenny. I have to admit, I never saw that one coming. -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
On Tue, 7 Sep 2010, Tiago Geada wrote: Hi, I don't have any g729 codec license. But by reading Barry's complaint I get to think that it is really unfair that Digium can't renew his license or something. I am a Debian user myself and I understand the need to upgrade from etch to lenny (and to squeeze in no time). Having a kernel built on purpose to remove some modules is out of line. A better solution needs to be provided in cases like these. Buy licenses from Digium, get the software from Latvia... Gordon -- _ -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
On 09/07/2010 02:16 PM, Barry Miller wrote: I posted here before contacting Digium. They have been helpful. Here is what I've found : An old Etch dmesg shows this: eth0: VIA Rhine II at 0x1cc00, 00:13:d4:f5:e3:e6, IRQ 10. eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1. eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0) eth1: link up, 100Mbps, full-duplex, lpa 0x41E1 Current (Lenny) dmesg: [8.257495] eth0: VIA Rhine II at 0x1cc00, 00:13:d4:f5:e3:e6, IRQ 10. [8.258221] eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1. [ 39.188147] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 Yes, there's your issue. Your old kernel loaded a Firewire-Ethernet module, which created an 'eth1' interface. Your new kernel is not doing that by default, but could probably be told to do so in the relevant modprobe configuration file. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: kflem...@digium.com Check us out at www.digium.com www.asterisk.org -- _ -- 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
Re: [asterisk-users] What can make G.729a codec hostid change?
On 09/08/2010 03:23 AM, Gordon Henderson wrote: On Tue, 7 Sep 2010, Tiago Geada wrote: Hi, I don't have any g729 codec license. But by reading Barry's complaint I get to think that it is really unfair that Digium can't renew his license or something. I am a Debian user myself and I understand the need to upgrade from etch to lenny (and to squeeze in no time). Having a kernel built on purpose to remove some modules is out of line. A better solution needs to be provided in cases like these. Buy licenses from Digium, get the software from Latvia... Gordon If you do that your Latvian software is unlicenced. The patent licencing terms for G.729 mean if you buy from someone (e.g. Digium) you are only licenced to run the implementation (software or silicon) they provided. If you want to licence some other code which is currently provided without patent licencing, you need to contact the licencing pool, and meet their conditions. Steve -- _ -- 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
[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-2028.lic -- Key: G729-2028 -- 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-4075.lic -- Key: G729-4075 -- 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