All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Lagneux <damien.lagneux@openwide.fr>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Problem with the promiscuous mode of RTnet
Date: Mon, 4 May 2015 11:54:11 +0200 (CEST)	[thread overview]
Message-ID: <161457050.3957521.1430733251745.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <20150504094745.GL1993@hermes.click-hack.org>

Hi Gilles, 

Thank you for your quick reply.

Here is the script I'm using to set RTnet:
#!/bin/sh

modprobe rtnet
modprobe rt_fec
modprobe rtpacket
modprobe rtudp
modprobe rtcap

rtifconfig rteth0 up 10.5.18.161 netmask 255.255.0.0 promisc
ifconfig rteth0 up

Damien

----- Mail original -----
> De: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
> À: "Damien Lagneux" <damien.lagneux@openwide.fr>
> Cc: xenomai@xenomai.org
> Envoyé: Lundi 4 Mai 2015 11:47:45
> Objet: Re: [Xenomai] Problem with the promiscuous mode of RTnet
> 
> On Mon, May 04, 2015 at 11:44:06AM +0200, Damien Lagneux wrote:
> > Hi all,
> > 
> > I'm trying to adapt openPOWERLINK to RTnet. I'm using Xenomai
> > 3.0-rc4,
> > linux kernel 3.16.7, and the board I'm working with is an Armadeus
> > apf6.
> > 
> > I have a problem with the promiscuous mode of the fec driver. It
> > seems I
> > can only receive packets which are addressed to the board.
> > 
> > I'm using the raw-ethernet and eth_p_all programs to test the
> > promiscuous
> > mode. If the destination MAC address used in the raw-ethernet
> > program
> > is the the broadcast address or the board's address, the eth_p_all
> > program
> > prints the messages. Otherwise, it doesn't print them.
> > 
> > I did set the interface rteth0 in promiscuous mode.
> > 
> > Does anyone have an idea what could the problem?
> 
> How did you set the promiscuous mode ?
> 
> --
> 					    Gilles.
> 


  reply	other threads:[~2015-05-04  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1740903282.3953811.1430731145805.JavaMail.root@openwide.fr>
2015-05-04  9:44 ` [Xenomai] Problem with the promiscuous mode of RTnet Damien Lagneux
2015-05-04  9:47   ` Gilles Chanteperdrix
2015-05-04  9:54     ` Damien Lagneux [this message]
2015-05-04 10:04       ` Gilles Chanteperdrix
2015-09-29 22:39   ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=161457050.3957521.1430733251745.JavaMail.root@openwide.fr \
    --to=damien.lagneux@openwide.fr \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.