Ethercat installation from repositories - how to step by step

More
12 Sep 2024 17:43 #310018 by bertoldo
seems to be exactly where I am at the moment...

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

More
12 Sep 2024 20:34 #310032 by jjdege
sorry,
here they say that the drivers are OP and the engines move,
you're on the right track then

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

More
14 Sep 2024 14:41 #310149 by Henk
HI
A couple of weeks ago i installed a the iso from rodw's google drive, worked fine, no problems.

This time, i tried the one from the downloads page, and also again the google drive one, but i get these errors. I have seen similar errors in this thread, but the sollutions are either not clear or doesnt work for me.

i ran apt update, and also apt upgrade as per the sticky, but these errors appear when i try installing linuxcnc-ethercat. I ran the script from forum.linuxcnc.org/ethercat/53785-instal...-repositories#309963
but still get errors as seen below
linuxcnc@linuxcnc:~$ sudo apt install linuxcnc-ethercat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.1.0-23-amd64 linux-headers-6.1.0-23-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf autoconf-archive automake autotools-dev ethercat-dkms ethercat-master libethercat libltdl-dev libtool m4
Suggested packages:
  gnu-standards autoconf-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc
The following NEW packages will be installed:
  autoconf autoconf-archive automake autotools-dev ethercat-dkms ethercat-master libethercat libltdl-dev libtool linuxcnc-ethercat m4
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,415 kB/5,387 kB of archives.
After this operation, 86.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-dkms 1.6.1.g419f621-1+8.3                                                                            
Ign:2 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-master 1.6.1.g419f621-1+8.3
Ign:3 http://opensuse.mirror.liquidtelecom.com/repositories/science%3A/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.40.0.g8a607c0-0
Ign:1 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-dkms 1.6.1.g419f621-1+8.3
Ign:2 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-master 1.6.1.g419f621-1+8.3
Ign:3 http://opensuse.mirror.liquidtelecom.com/repositories/science%3A/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.40.0.g8a607c0-0
Ign:1 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-dkms 1.6.1.g419f621-1+8.3
Ign:2 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-master 1.6.1.g419f621-1+8.3
Ign:3 http://opensuse.mirror.liquidtelecom.com/repositories/science%3A/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.40.0.g8a607c0-0
Err:1 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-dkms 1.6.1.g419f621-1+8.3
  Could not connect to opensuse.mirror.liquidtelecom.com:80 (2c0f:fe40:8001:10::1). - connect (101: Network is unreachable) Could not connect to opensuse.mirror.liquidtelecom.com:80 (197.155.77.1), connection timed out
Err:2 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-master 1.6.1.g419f621-1+8.3
  Unable to connect to opensuse.mirror.liquidtelecom.com:http:
Err:3 http://opensuse.mirror.liquidtelecom.com/repositories/science%3A/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.40.0.g8a607c0-0
  Unable to connect to opensuse.mirror.liquidtelecom.com:http:
E: Failed to fetch http://opensuse.mirror.liquidtelecom.com/repositories/science%3A/EtherLab/Debian_12/all/ethercat-dkms_1.6.1.g419f621-1%2B8.3_all.deb  Could not connect to opensuse.mirror.liquidtelecom.com:80 (2c0f:fe40:8001:10::1). - connect (101: Network is unreachable) Could not connect to opensuse.mirror.liquidtelecom.com:80 (197.155.77.1), connection timed out
E: Failed to fetch http://opensuse.mirror.liquidtelecom.com/repositories/science%3A/EtherLab/Debian_12/amd64/ethercat-master_1.6.1.g419f621-1%2B8.3_amd64.deb  Unable to connect to opensuse.mirror.liquidtelecom.com:http:
E: Failed to fetch http://opensuse.mirror.liquidtelecom.com/repositories/science%3A/EtherLab/Debian_12/amd64/linuxcnc-ethercat_1.40.0.g8a607c0-0_amd64.deb  Unable to connect to opensuse.mirror.liquidtelecom.com:http:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
linuxcnc@linuxcnc:~$ sudo apt install linuxcnc-ethercat
E: Conflicting values set for option Signed-By regarding source http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./: /etc/apt/trusted.gpg.d/science_EtherLab.gpg != /etc/apt/trusted.gpg.d/science_EtherLab.gpg.key.binary.gpg
E: The list of sources could not be read.

Any idea how to fix this?
Thanks
Henk

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

More
16 Sep 2024 11:35 #310249 by bertoldo
hello dear.

try it.

'unistall chave gpg
sudo rm /etc/apt/trusted.gpg.d/science_EtherLab.gpg
sudo rm /etc/apt/trusted.gpg.d/science_EtherLab.gpg.key.binary.gpg

'reinstall it
wget -O - download.opensuse.org/repositories/scien...ebian_12/Release.key | sudo apt-key add -

'update
sudo apt update

'install again
sudo apt install linuxcnc-ethercat

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

More
16 Sep 2024 18:42 #310277 by AndyDM01
so I got stuck, still can't get any movement , and yes i tried everything , someone please explain what are the basics to get an operational system...
from absolute zero ... in what order to do stuff ... i am sure i did something wrong and just got stuck so i will restart from zero but ... please please please someone can tell me the order to do stuff ... i just erased everything from the harddisk and have option to start from zero ... 

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

More
16 Sep 2024 19:33 #310281 by bertoldo
hello!

I went through this too! I'm finishing a document with files... very neatly so there are no doubts... when I finish I'll post it here

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

More
17 Sep 2024 17:38 #310325 by Henk
HI bertoldo
It doesnt work.
linuxcnc@linuxcnc:~$ wget -O - download.opensuse.org/repositories/scien...ebian_12/Release.key | sudo apt-key add -
--2024-09-17 19:36:19--  http://download.opensuse.org/repositories/scien...ebian_12/Release.key
Resolving download.opensuse.org (download.opensuse.org)... 195.135.223.226, 2a07:de40:b250:131:10:151:131:30
Connecting to download.opensuse.org (download.opensuse.org)|195.135.223.226|:80... Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
connected.
HTTP request sent, awaiting response... 404 Not Found
2024-09-17 19:36:20 ERROR 404: Not Found.

gpg: no valid OpenPGP data found.
linuxcnc@linuxcnc:~$

also when i try to update i get the following
linuxcnc@linuxcnc:~$ sudo apt update
E: Conflicting values set for option Signed-By regarding source http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./: /etc/apt/trusted.gpg.d/science_EtherLab.gpg != /etc/apt/trusted.gpg.d/science_EtherLab.gpg.key.binary.gpg
E: The list of sources could not be read.

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

More
17 Sep 2024 19:16 #310339 by AndyDM01
just some basic guidelines to get into the ethercat side off linuxcnc would mean a lot to the noobs

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

More
17 Sep 2024 20:25 #310345 by bertoldo
I'm almost done with mine... now I just need to change from CNC 3-axis to SCARA... which isn't easy for me because it's my first time. So I'll provide how I did it... with videos etc... I haven't faced that error of yours. I don't know if it's allowed for the moderator to suddenly make a WhatsApp group, which is easier and faster...

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

More
18 Sep 2024 09:23 #310358 by rodw
I shared this script for when the ethercat repo needs reinstalling
forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories
The following user(s) said Thank You: AndyDM01, bertoldo

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

Time to create page: 0.106 seconds
Powered by Kunena Forum