- Posts: 12170
- Thank you received: 4153
Ethercat installation from repositories - how to step by step
- rodw
- Offline
- Platinum Member
-
Less
More
2 years 2 months ago #308779
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
Looks like ARM is not supported in their repo; You will need to compile from source
- bucky
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 1
2 years 2 months ago #308912
by bucky
Replied by bucky on topic Ethercat installation from repositories - how to step by step
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.
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
- Sakhalin_Cat
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 7
2 years 1 month ago #309397
by Sakhalin_Cat
Replied by Sakhalin_Cat on topic Ethercat installation from repositories - how to step by step
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.
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.
- zmrdko
- Offline
- Elite Member
-
Less
More
- Posts: 186
- Thank you received: 49
2 years 1 month ago #309432
by zmrdko
Replied by zmrdko on topic Ethercat installation from repositories - how to step by step
just a guess, try:
sudo dpkg-reconfigure ethercat-dkms
sudo dpkg-reconfigure ethercat-dkms
- Sakhalin_Cat
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 7
2 years 1 month ago - 2 years 1 month ago #309483
by Sakhalin_Cat
Replied by Sakhalin_Cat on topic Ethercat installation from repositories - how to step by step
Thank you very much
Last edit: 2 years 1 month ago by Sakhalin_Cat.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 461
- Thank you received: 62
2 years 1 month ago #309514
by COFHAL
Replied by COFHAL on topic Ethercat installation from repositories - how to step by step
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?
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