- Posts: 187
- Thank you received: 0
Ethercat installation from repositories - how to step by step
2 years 2 months ago #308552
by zmrdko
Replied by zmrdko on topic Ethercat installation from repositories - how to step by step
run this:Hi Rod,
I followed these instructions several times and, everything worked perfectly. Tried to install today and I get an error saying that no public key is available. Any idea if something has something changed? This is a fresh install of the Debian buster Linuxcnc iso.
Kind regards,
Dan
Code:
sudo mkdir -p /usr/local/share/keyrings/
wget -O- https://build.opensuse.org/projects/science:EtherLab/signing_keys/download?kind=gpg | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/science_EtherLab.gpg
sudo tee -a /etc/apt/sources.list.d/ighvh.sources > /dev/null <<EOT
Types: deb
Signed-By: /etc/apt/trusted.gpg.d/science_EtherLab.gpg
Suites: ./
URIs: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/
EOT
sudo apt update
sudo apt install -y linux-headers-$(uname -r) ethercat-master linuxcnc-ethercat
Please Log in to join the conversation.
2 years 2 months ago #308661
by seyad
Replied by seyad on topic Ethercat installation from repositories - how to step by step
I am using your recent image only but i con't able to intall ethercat -master following this
Attachment not found
Please Log in to join the conversation.
2 years 2 months ago #308666
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
try this script
forum.linuxcnc.org/ethercat/45336-etherc...tep?start=250#307276
forum.linuxcnc.org/ethercat/45336-etherc...tep?start=250#307276
Please Log in to join the conversation.
2 years 2 months ago #308684
by seyad
Replied by seyad on topic Ethercat installation from repositories - how to step by step
how can i resolve it..?when i try to download manualy but it is shows 404 page not found
Attachment not found
Please Log in to join the conversation.
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
Please Log in to join the conversation.
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.
etherlab.org/en_GB/getting-started
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.
etherlab.org/en_GB/getting-started
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.
Please Log in to join the conversation.
- Sakhalin_Cat
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
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.
Please Log in to join the conversation.
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
Please Log in to join the conversation.
- Sakhalin_Cat
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
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
Please Log in to join the conversation.
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?
Please Log in to join the conversation.
Time to create page: 0.348 seconds
