installing ethercat

More
08 May 2024 12:27 #300114 by Abdulkareem
hello guys
i am trying to install ethercat configurations for linuxcnc
i am using raspberry pi 4 with : 1 ) kernal : Linux raspberrypi 6.1.54-rt15 #1 SMP PREEMPT_RT Fri Nov 17 17:02:27 AEST 2023 aarch64 GNU/Linux

2) debian version :  Distributor ID:    Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:    bookworm

3) linuxcnc version : Verbose mode on
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.2

i am using this link to install ethercat: gist.github.com/Bouni/8b4532d0bdf012bd83c65d3eb62f8aa2
i get error when i finish installing and run command "ethercat master" , the error is :
cnc@raspberrypi:~$ ethercat master
Failed to obtain number of masters: Failed to open master device /dev/EtherCAT0: No such file or directory

 

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

More
08 May 2024 19:54 #300155 by rodw
Replied by rodw on topic installing ethercat
 Obsolete instructions.

Please try this. It should work for the official pi image of 2.9.2

forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
The following user(s) said Thank You: Abdulkareem

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

More
09 May 2024 09:47 #300208 by Abdulkareem
Replied by Abdulkareem on topic installing ethercat
i tried following the steps i keep getting this error
cnc@raspberrypi:~$ sudo apt update
E: Conflicting values set for option Signed-By regarding source download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./: /usr/share/keyrings/etherlab.gpg != /etc/apt/trusted.gpg.d/science_EtherLab.gpg
E: The list of sources could not be read.
cnc@raspberrypi:~$ sudo rm /usr/share/keyrings/etherlab.gpg
rm: cannot remove '/usr/share/keyrings/etherlab.gpg': No such file or directory
cnc@raspberrypi:~$ sudo rm /etc/apt/trusted.gpg.d/science_EtherLab.gpg
rm: cannot remove '/etc/apt/trusted.gpg.d/science_EtherLab.gpg': No such file or directory
cnc@raspberrypi:~$ sudo apt install linuxcnc-ethercat
E: Conflicting values set for option Signed-By regarding source download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./: /usr/share/keyrings/etherlab.gpg != /etc/apt/trusted.gpg.d/science_EtherLab.gpg
E: The list of sources could not be read

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

More
09 May 2024 09:50 #300209 by onceloved
Replied by onceloved on topic installing ethercat
It is recommended to reinstall
The following user(s) said Thank You: rodw, Abdulkareem

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

More
09 May 2024 10:39 - 09 May 2024 10:40 #300214 by rodw
Replied by rodw on topic installing ethercat

It is recommended to reinstall


Good point. the source method and the repository files are stored in different locations so it probably gets confused
Last edit: 09 May 2024 10:40 by rodw.
The following user(s) said Thank You: Abdulkareem

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

More
09 May 2024 10:58 - 09 May 2024 11:00 #300215 by Abdulkareem
Replied by Abdulkareem on topic installing ethercat
which kernel should i install, and if there are steps to follow it would be appreciated
Last edit: 09 May 2024 11:00 by Abdulkareem.

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

More
09 May 2024 11:43 #300217 by Abdulkareem
Replied by Abdulkareem on topic installing ethercat
thanks i fixed the error where do i get the linuxcnc-ethercat repository because i cannot locate the package

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

More
09 May 2024 21:49 #300245 by rodw
Replied by rodw on topic installing ethercat
If you use the official image from the downloads page, the ethercat packages should be dependencies of the linuxcnc-ethercat driver and would normally get installed automatically (but I don't use a pi so I can't check this, it may not work on your platform). Certainly ethercat should install ok

Otherwise follow these instructions.
github.com/linuxcnc-ethercat/linuxcnc-ethercat


 

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

Time to create page: 0.074 seconds
Powered by Kunena Forum