Ethercat installation from repositories - how to step by step

More
29 Nov 2024 10:47 #315526 by rodw

Hello,

is the any way to change the network card driver from default generic to my hardware native e1000e when I install ethercat stuff from responsitories please? 

thanks regards

I think only the generic driver is supported in the deb install. If you build Ethercat master from sources I think you can build the Intel driver which will give better performance. Check the docs which outlines the build process. Its pretty easy.
etherlab.org/en_GB/ethercat

Please Log in or Create an account to join the conversation.

More
29 Nov 2024 19:53 #315582 by endian
I have built them form the source with
./configure --sysconfdir=/etc/ --disable-8139too --enable-userlib --disable-generic --disable-eoe --enable-e1000e
but it has behaviour same same... after
ethercat master
Master0
  Phase: Waiting for device(s)...
  Active: no
  Slaves: 0
  Ethernet devices:
    Main: 00:01:05:xx:93:xx (waiting...)
      Link: DOWN
      Tx frames:   0
      Tx bytes:    0
      Rx frames:   0
      Rx bytes:    0
      Tx errors:   0
      Tx frame rate [1/s]:      0      0      0
      Tx rate [KByte/s]:      0.0    0.0    0.0
      Rx frame rate [1/s]:      0      0      0
      Rx rate [KByte/s]:      0.0    0.0    0.0

but when I change to
DEVICE_MODULES="generic"
and did
sudo systemctl restart ethercat.service
it immediately works

it looks like it does not have disabled generic driver and still using it

regards

Please Log in or Create an account to join the conversation.

More
29 Nov 2024 21:51 #315589 by Grotius
Hi,

Following the doc, this looks a set to me :

--enable-e1000
--with-e1000-kernel

If kernel not specified, it uses current kernel.
 

Please Log in or Create an account to join the conversation.

More
29 Nov 2024 23:23 #315595 by rodw
don't forget to specify the driver in /etc/ethercat.conf

Please Log in or Create an account to join the conversation.

More
30 Nov 2024 09:09 #315623 by endian
Yes this all actions I did,

and I have some machines with custom drivers such ass e1000, e100,8139too ... but I did install 2.9.2 over rods steps and just reinstall ethercat master over thread and it works from first shot ... after
sudo systemctl restart ethercat.service

but now I tried everythnig what is in the my fantasy and it is still in the
  Phase: Waiting for device(s)...

regards

Please Log in or Create an account to join the conversation.

More
30 Nov 2024 18:57 #315675 by rodw
From your dump, is there a typo in your MAC address?

Please Log in or Create an account to join the conversation.

More
30 Nov 2024 19:59 #315680 by endian
Gentelmen, my bad...

I have 4 ethernet interfaces ... 3 are e1000e and 1 is igb hardware .....

can you guess on which hardware I want to install e1000e driver...

life is life..

Thanks for pushing me

 
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

Time to create page: 0.270 seconds
Powered by Kunena Forum