Re: two network cards q

2003-12-01 Thread Yedidyah Bar-David
On Mon, Dec 01, 2003 at 07:48:53PM +0200, Shimon Panfil wrote:
 Hi folks,
 on my machine with 2 ethernet cards different kernels see these two
 cards in different order. How can I appoint specific device for specific
 interface? Kernel parameters?

With a small program called nameif.
-- 
Didi

 TIA,Shimon
 -- 
 Shimon Panfil(http://192.115.21.142/panfil)
 Dragons are REAL unless declared INTEGER
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: two network cards q

2003-12-01 Thread Oded Arbel
  01  2003, 19:48,Shimon Panfil:
 Hi folks,
 on my machine with 2 ethernet cards different kernels see these two
 cards in different order. How can I appoint specific device for specific
 interface? Kernel parameters?

Are these two diferent cards or the same ? if its different cards then you can 
setup modules.conf with 
alias eth0 driver1
alias eth1 driver2

-- 
Oded

::..
Software is like Entropy: it's hard to grasp, weighs nothing and obeys the 
Second Law of Thermodynamics, i.e. it always increases 
-- Norman Augustine 

To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: two network cards q

2003-12-01 Thread Shaul Karl
On Mon, Dec 01, 2003 at 07:48:53PM +0200, Shimon Panfil wrote:
 Hi folks,
 on my machine with 2 ethernet cards different kernels see these two
 cards in different order. How can I appoint specific device for specific
 interface? Kernel parameters?
 


  Perhaps by setting this in /etc/modutils?

$ cat /etc/modutils/3c59x
alias eth0 3c59x
$ cat /etc/modutils/ne2k-pci
alias eth1 ne2k-pci
  
I believe that it used to some other path with a non 2.6 kernel.

-- 
If you have an apple and I have  an apple and we  exchange apples then
you and I will still each have  one apple. But  if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas. -- George Bernard Shaw (sent by  shaulk @ actcom . net . il)

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: two network cards q

2003-12-01 Thread Shaul Karl
On Mon, Dec 01, 2003 at 08:11:09PM +0200, Oded Arbel wrote:
  ??? 01 ? 2003, 19:48,  ?? ??? Shimon Panfil:
  Hi folks,
  on my machine with 2 ethernet cards different kernels see these two
  cards in different order. How can I appoint specific device for specific
  interface? Kernel parameters?
 
 Are these two diferent cards or the same ? if its different cards then you can 
 setup modules.conf with 
 alias eth0 driver1
 alias eth1 driver2
 


  It might work with similar cards as well. For isa cards I have:

cat /etc/modutils/ne
options  neio=0x280,0x240 irq=5,9
aliaseth0  ne
aliaseth1  ne
  
I want to believe that something similar will work for pci.
-- 
If you have an apple and I have  an apple and we  exchange apples then
you and I will still each have  one apple. But  if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas. -- George Bernard Shaw (sent by  shaulk @ actcom . net . il)

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: two network cards q

2003-12-01 Thread Tzafrir Cohen
On Mon, Dec 01, 2003 at 10:55:24PM +0200, Shaul Karl wrote:
 On Mon, Dec 01, 2003 at 08:11:09PM +0200, Oded Arbel wrote:
   ??? 01 ? 2003, 19:48,  ?? ??? Shimon Panfil:
   Hi folks,
   on my machine with 2 ethernet cards different kernels see these two
   cards in different order. How can I appoint specific device for specific
   interface? Kernel parameters?
  
  Are these two diferent cards or the same ? if its different cards then you can 
  setup modules.conf with 
  alias eth0 driver1
  alias eth1 driver2
  
 
 
   It might work with similar cards as well. For isa cards I have:
 
 cat /etc/modutils/ne
 options  neio=0x280,0x240 irq=5,9
 aliaseth0  ne
 aliaseth1  ne
   
 I want to believe that something similar will work for pci.

Yes. Similar will work. 

Also note that /etc/modutils/ and update_modules (typo?) are
debian-specific. Other distros tend to edit /etc/modules.conf directly.

-- 
Tzafrir Cohen   +---+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]   +---+

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]