Hi All, Long time no chat ;-) Asterisk 1.0.9 (sometimes) won't authenticate IAX phones after re-boot of SuSE 9.3 box I've traced the problem to be with the firewall and the fact that I have 2 NICs in the box. Now that I have opened port 4569 on both interfaces, asterisk seems happy *but* does anyone know how to force SuSE 9.3 to always bring up a specific NIC before the otherone? On reboot sometimes my onboard gigabit nic gets eth0 and sometimes the pci 3COM gets eth0 and this causes havoc with another piece of SW I run. I posted this on suse-linux-e but have had no response after 2 days. Maybe one of you know someone I could email directly about this issue? TIA, Zoltan -- =================================Geograph (Pty) Ltd P.O. Box 31255 Tokai 7966 Tel: +27-21-7018492 Fax: +27-86-6115323 Mobile: +27-83-6004028 ==================================
Zoltan Szecsei wrote:> I've traced the problem to be with the firewall and the fact that I have > 2 NICs in the box. Now that I have opened port 4569 on both interfaces, > asterisk seems happy *but* does anyone know how to force SuSE 9.3 to > always bring up a specific NIC before the otherone?SUSE Pro 9.3 assigns IP addresses to NICs based on their MAC addresses, not their slot positions or load order (unless you've done something funky). You should not have any problem with the wrong NIC getting a particular IP address, and Asterisk does not care at all which one is 'eth0'.
On Wed, Jul 13, 2005 at 05:40:38PM +0200, Zoltan Szecsei wrote:> Hi All, > Long time no chat ;-) > > Asterisk 1.0.9 (sometimes) won't authenticate IAX phones after re-boot > of SuSE 9.3 box > > I've traced the problem to be with the firewall and the fact that I have > 2 NICs in the box. Now that I have opened port 4569 on both interfaces,What do you mean? Make asterisk listen on 0.0.0.0 .> asterisk seems happy *but* does anyone know how to force SuSE 9.3 to > always bring up a specific NIC before the otherone?Does it listen on all interfaces?> > On reboot sometimes my onboard gigabit nic gets eth0 and sometimes the > pci 3COM gets eth0 and this causes havoc with another piece of SW I run.Generally relates to the order of loading of the modules. eth0 is the first network adapter identified. If you have adapters that are identified by different modules, the order of load of the modules counts. See also the Ethernet Howto: http://www.tldp.org/HOWTO/Ethernet-HOWTO.html -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
> On reboot sometimes my onboard gigabit nic gets eth0 and sometimes the > pci 3COM gets eth0 and this causes havoc with another piece of SW I run. >Is it actually "ethx" getting flipped or the ip addresses?
On Wednesday 13 July 2005 12:40 pm, Zoltan Szecsei wrote:> Hi All, > Long time no chat ;-) > > Asterisk 1.0.9 (sometimes) won't authenticate IAX phones after re-boot > of SuSE 9.3 box > > I've traced the problem to be with the firewall and the fact that I have > 2 NICs in the box. Now that I have opened port 4569 on both interfaces, > asterisk seems happy *but* does anyone know how to force SuSE 9.3 to > always bring up a specific NIC before the otherone? > > On reboot sometimes my onboard gigabit nic gets eth0 and sometimes the > pci 3COM gets eth0 and this causes havoc with another piece of SW I run.Look at the ifcfg-* files under /etc/sysconfig/network. There should be one for each of your interfaces. Add a persistent name to each of them like so: PERSISTENT_NAME='external' Call them whatever you want. Good choices are 'external', 'internal', etc. Now instead of eth0 and eth1 you have more logical names that will always refer to the same interfaces no matter which order they came up in. Hope that helps, -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This e-mail is CONFIDENTIAL and contains information intended only for the person(s) named. Any other distribution, copying or disclosure is strictly prohibited. If you have received this e-mail in error, please notify me immediately at 902 420 0077 or reply by e-mail to the sender and destroy the original communication. Thank You. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ken Godee wrote:>> On reboot sometimes my onboard gigabit nic gets eth0 and sometimes >> the pci 3COM gets eth0 and this causes havoc with another piece of SW >> I run. >> > > Is it actually "ethx" getting flipped or the ip addresses? > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >ethx gets flipped -- =================================Geograph (Pty) Ltd P.O. Box 31255 Tokai 7966 Tel: +27-21-7018492 Fax: +27-86-6115323 Mobile: +27-83-6004028 ==================================
On Thu, 2005-07-14 at 09:01 +0200, Zoltan Szecsei wrote:> Ken Godee wrote: > > >> On reboot sometimes my onboard gigabit nic gets eth0 and sometimes > >> the pci 3COM gets eth0 and this causes havoc with another piece of SW > >> I run.I seem to remember having this type of thing before, only I had two identical NICs, because they were good ones :) Have you tried creating an alias in modprobe.conf (2.6) or modules.conf (2.4) alias eth0 b44 alias eth1 e100 in my case -- Dave Cotton <dcotton@linuxautrement.com>