Ethercat installation from repositories - how to step by step

More
2 years 2 months ago #308779 by rodw
Looks like ARM is not supported in their repo; You will need to compile from source
More
2 years 2 months ago #308912 by bucky
Just had this issue the other day. I don't think you have to compile from source if you don't want to. I'm on a Raspberry Pi 5.

It looks like EtherLab changed the name of their distribution repo from IgH to EtherLab. Check out the new location on this page under the Debian section.
[url] etherlab.org/en_GB/getting-started [/url]

Relevant instructions:
export KEYRING=/usr/share/keyrings/etherlab.gpg
curl -fsSL download.opensuse.org/repositories/scien...ebian_12/Release.key | gpg --dearmor | sudo tee "$KEYRING" >/dev/null
echo "deb [signed-by=$KEYRING] download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./" | sudo tee /etc/apt/sources.list.d/etherlab.list > /dev/null
sudo apt-get update

You will have to remove the sources list of IgH if you don't want errors during apt updates.

I don't know if you guys rebuild images between releases, but if it's possible to remove the IgH repo in favor of the EtherLab it may be helpful.
The following user(s) said Thank You: hectormhr
More
2 years 1 month ago #309397 by Sakhalin_Cat
Hello.
Today I reinstalled the Ethercat driver with the command "sudo apt install ethercat-master libethercat-dev linuxcnc-ethercat". Before that I deleted the old driver that was installed in the system.
Now the system does not work and gives an error as in the photo. Please help me with advice on what I should do to restore the system's functionality. Previously, there was driver 1.5.2.
Thank you, I really hope for your quick help.
Attachments:
More
2 years 1 month ago #309432 by zmrdko
just a guess, try:

sudo dpkg-reconfigure ethercat-dkms
More
2 years 1 month ago - 2 years 1 month ago #309483 by Sakhalin_Cat
Thank you very much
Last edit: 2 years 1 month ago by Sakhalin_Cat.
More
2 years 1 month ago #309514 by COFHAL
I have a question: I have already installed ethecat and linuxcnc-ethercat. With the command sudo systemctl status ethercat.service I see that the service is running. With the command ethercat master I try to see which master is configured and I get the error: Failed to obtain number of masters: ioctl() version magic is differing: /dev/EtherCAT0: 37, ethercat tool: 30

The question is: do I necessarily have to have a device connected that supports ETHERCAT to confirm that I have everything installed correctly, or why does this error appear and how to solve it?
Time to create page: 0.624 seconds
Powered by Kunena Forum