Ethercat installation from repositories - how to step by step

More
18 Dec 2024 14:59 #316917 by Tntmold
Thank you for the reply, I have a 404 not found for IP 195.135.223.226 80. Do you have an suggestions on how to fix this problem?

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
18 Dec 2024 20:08 #316932 by rodw

Thank you for the reply, I have a 404 not found for IP 195.135.223.226 80. Do you have an suggestions on how to fix this problem?

It really sounds like you have an issue with your internet connection. can you ping that IP address?
ping 195.135.223.226
PING 195.135.223.226 (195.135.223.226) 56(84) bytes of data.
64 bytes from 195.135.223.226: icmp_seq=1 ttl=42 time=479 ms
64 bytes from 195.135.223.226: icmp_seq=2 ttl=42 time=460 ms
64 bytes from 195.135.223.226: icmp_seq=3 ttl=42 time=329 ms

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

More
18 Dec 2024 21:55 - 18 Dec 2024 22:05 #316953 by Tntmold
Yes it pings with average time of 150ms but still can't find the files, there may be existing setup problems, here is what the update produces:

phil@sodickA:~$ sudo apt update
Ign:1 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm InRelease
Err:2 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:4 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B]                                             
Hit:5 www.linuxcnc.org bookworm InRelease                                                                                              
Hit:6 repository.qtpyvcp.com/apt stable InRelease
Err:4 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
  The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
Hit:3 repository.qtpyvcp.com/apt develop InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease: The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project
 
Last edit: 18 Dec 2024 22:05 by Tntmold. Reason: added info

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
18 Dec 2024 22:20 #316955 by rodw
When you installed Linuxcnc ISO you were not connected to the internet so its looking on a CD ROM that does not exist.
I would suggest you reinstall Linuxcnc while connected to the internet, then do this again

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

More
19 Dec 2024 15:11 #316988 by Sockheaven
It appears something has broken since last friday. I also am unable to install now, getting the same missing files you are seeing.

My linux ignorance really shows in these scenarios, I also need very clear step by step instructions. I'm currently blocked again and relying on an older 2.8.2 iso that was packaged up by Grotius on the forum:
github.com/grotius-cnc/LINUX_RTOS/releas...age-amd64.hybrid.iso

That iso has a package that you just need to double click on the desktop that installs all the ethercat stuff and you just need to edit the ethercat.conf file and youre good to go.
The following user(s) said Thank You: Tntmold

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

More
19 Dec 2024 17:07 #316994 by Tntmold
I wiped the disk and reloaded LinuxCNC 2.9.2 but still get invalid signatures

hil@SodickA:~$ sudo apt update
[sudo] password for phil:
Hit:1 deb.debian.org/debian bookworm InRelease
Hit:2 security.debian.org/debian-security bookworm-security InRelease
Hit:3 deb.debian.org/debian bookworm-updates InRelease
Hit:5 www.linuxcnc.org bookworm InRelease
Get:6 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B]
Err:6 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
Hit:4 repository.qtpyvcp.com/apt develop InRelease
Fetched 1,575 B in 2s (757 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
196 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease: The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project
W: Failed to fetch download.opensuse.org/repositories/scien...ebian_12/./InRelease The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project
W: Some index files failed to download. They have been ignored, or old ones used instead.

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 Dec 2024 18:26 #316998 by rodw
@TntMold, @sockheavan,
Please follow this sticky if you repositories are not installing
forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories

Unfortunately, there are licencing and legal implications that prevent Linuxcnc from doing what Grotius did.
If the developers do not deploy the changes to the ISO I have made on my request, These issues will continue.
 

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

More
20 Dec 2024 08:25 #317030 by Hakan
I wonder what Grotius did that can have such implications. After all it wasn't long ago we used to download and compile the ethercat master ourselves when we needed it.

Anyways, I have installed ethercat from repositories a few times the last few months and always ran into this with the signing and expired key. And the last time on 2.9.3 iso the ecat.sh didn't solve it. Can we have a pointer in the first sticky to the third sticky? I had a hard time finding the ecat.sh script to start with.

The ecat.sh script, admittedly I may have screwed some things up, did add a duplicate entry in /etc/apt/sources.d. The original was call ScienceLab-something. I removed that one. Then there was the question of where the new downloaded key went. Kind if forgotten the details but there became duplicate keys and one had to be removed.

In the end I wonder if it isn't easier to just remove the signed-by entry in the sources file. So now I only have this in the igvh.sources file
Types: deb
Suites: ./
URIs: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/

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

More
20 Dec 2024 22:07 #317064 by Tntmold
I am very new to Linux and this is obviously an ignorance problem. Why can't I run the script?


phil@SodickA:~/Downloads$ . ./ecat.sh
requires sudo to run eg: sudo ./ecat.sh
removing ethercat repository file\n
rm: remove write-protected regular file '/etc/apt/sources.list.d/ighvh.sources'? y
rm: cannot remove '/etc/apt/sources.list.d/ighvh.sources': Permission denied
Install ethercat repository
dd: failed to open '/etc/apt/trusted.gpg.d/science_EtherLab.gpg': Permission denied
--2024-12-20 15:55:08-- build.opensuse.org/projects/science:Ethe...ys/download?kind=gpg
Resolving build.opensuse.org (build.opensuse.org)... 195.135.223.221, 2a07:de40:b250:131:10:151:131:20
Connecting to build.opensuse.org (build.opensuse.org)|195.135.223.221|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘STDOUT’

- [ <=> ] 1.08K --.-KB/s in 0s

2024-12-20 15:55:09 (47.0 MB/s) - written to stdout [1109]

gpg: [stdout]: write error: Broken pipe
gpg: filter_flush failed on close: Broken pipe
tee: /etc/apt/sources.list.d/ighvh.sources: Permission denied
phil@SodickA:~/Downloads$ sudo .ecat.sh
sudo: .ecat.sh: command not found

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
20 Dec 2024 23:22 #317067 by tommylight
sudo ./ecat.sh

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

Time to create page: 0.108 seconds
Powered by Kunena Forum