On Mon, 2012-11-26 at 02:35 +0100, babbitt...@aol.com wrote:
> I'm attempting to run multiple virtual slaves on one host.  I setup a
> TUN/TAP interface via tunctl named tap0.  Then I issued the commands:
> ./ecslave tap0 &
> ./ecslave eth0 tap0 &
> but I get a message the tap0 interface is LINK DOWN.
> Possibly I'm misusing the TUN/TAP virtual interfaces?
user space ecslave checks that /sys/class/net/ethX/operstate is "up".
Do you have this path for tap0 ?

> Alternatively I'd like to use something like named pipes, but I
> believe that would involve modifying the code.  If I were to modify
> the code
This is what open source is all about. i will be happy to adopt your
code.
>   I think I'd add an option to specify the number of slaves to
> virtualize and make an array of slaves internally.
> 
> Any other ideas?
> 
> Thanks,
> Bruno




> 
> 
> 
> -----Original Message-----
> From: Ben Yehuda, Raz <rbenyeh...@manz.com>
> To: etherlab-users <etherlab-users@etherlab.org>
> Sent: Wed, Nov 21, 2012 2:25 pm
> Subject: [etherlab-users] Open source virtual Linux Ethercat Slave
> 
> Hello etherlab users 
> 
> I wrote an open source linux virtual ethercat slave.
> 
> $ git clone git://git.code.sf.net/p/ecslave/code ecslave
> 
> Ecslave is "tailored" to etherlab and it provides a virtual       
> and cheap solution to set up and debug etherlab master application.
> 
> At the moment ec_slave is user space application, but i am going to add a 
> version to kernel mode in the near future.
> 
> wiki :
> https://sourceforge.net/p/ecslave/wiki/Howto/
> 
> I will be happy for debug and input.
> 
> raz
> 
> _______________________________________________
> etherlab-users mailing list
> etherlab-users@etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users

-- 
https://sites.google.com/site/ironspeedlinux/

_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to