- Posts: 78
- Thank you received: 0
installing ethercat
- Abdulkareem
- Topic Author
- Offline
- Senior Member
-
Less
More
2 years 5 months ago #300114
by Abdulkareem
installing ethercat was created 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
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 to join the conversation.
2 years 5 months ago #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
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
Please Log in to join the conversation.
- Abdulkareem
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 0
2 years 5 months ago #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
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 to join the conversation.
2 years 5 months ago #300209
by onceloved
Replied by onceloved on topic installing ethercat
Please Log in to join the conversation.
2 years 5 months ago #300214
by rodw
Good point. the source method and the repository files are stored in different locations so it probably gets confused
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
Please Log in to join the conversation.
- Abdulkareem
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 0
2 years 5 months ago #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
Please Log in to join the conversation.
- Abdulkareem
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 0
2 years 5 months ago #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 to join the conversation.
2 years 5 months ago #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
Otherwise follow these instructions.
github.com/linuxcnc-ethercat/linuxcnc-ethercat
Please Log in to join the conversation.
Time to create page: 3.342 seconds
