Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-04 Thread Jan Kiszka
Jan Kiszka wrote: > Marco Pantaleoni wrote: >> One last thing: as the interface index (for sll_ifindex) I've to use 2 >> for rteth0, 3 for rteth1, ... which seems off by 1. Is there any >> explanation? > > rtlo likely uses index 1 on your box (when being loaded first). There is > no fixed relation

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Marco Pantaleoni
On 8/3/06, Marcelo Coelho <[EMAIL PROTECTED]> wrote: > > ... If I send to eth2 or eth3 I don't see nothing. (ugh, double negation, I intended "I don't see anything") > > You're trying to say "If I send FROM eth2 or eth3 ..." right? > no, here I'm sending from one of the RT NICs (rteth0, rteth1 o

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Jan Kiszka
Marco Pantaleoni wrote: > On 7/29/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> Marco Pantaleoni wrote: >> > Hi, >> > I'm writing an application using rtnet 0.9.3 and vulcano CVS (using >> LXRT) >> > that should send and receive raw ethernet frames from multiple NICs. >> I've >> > followed the raw-p

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Marcelo Coelho
> ... If I send to eth2 or eth3 I don't see nothing. You're trying to say "If I send FROM eth2 or eth3 ..." right? What are you using to "see" the packages? You have to use a "special" software like ethereal (nowadays called wireshark) which has support for rtnet. Marco Pantaleoni wrote: >

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Marco Pantaleoni
On 7/29/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: > Marco Pantaleoni wrote: > > Hi, > > I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT) > > that should send and receive raw ethernet frames from multiple NICs. I've > > followed the raw-packet Xenomai example to understand h

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-07-30 Thread Marco Pantaleoni
On 7/29/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: Marco Pantaleoni wrote:> Hi,> I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT)> that should send and receive raw ethernet frames from multiple NICs. I'veThe first behaviour is explainable as only one listener can register on

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-07-29 Thread Jan Kiszka
Marco Pantaleoni wrote: > Hi, > I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT) > that should send and receive raw ethernet frames from multiple NICs. I've > followed the raw-packet Xenomai example to understand how to open the raw > socket and how to use it. All works fla