- Posts: 12160
- Thank you received: 0
Ethercat installation from repositories - how to step by step
2 years 3 months ago #305111
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
These are also needed to install anything with dkms like the Realtek r8168-dkms network driver.Looking at the above post, I don't recall installing headers separately. Maybe that is it.
Please Log in to join the conversation.
2 years 3 months ago #305166
by endian
Replied by endian on topic Ethercat installation from repositories - how to step by step
hello rod,
can you help me locate ethercat-master folder from where is installed ethercat-master on your hybrid.iso file... I need to change network drivers if it is possible... is it possible to change it please?
can you help me locate ethercat-master folder from where is installed ethercat-master on your hybrid.iso file... I need to change network drivers if it is possible... is it possible to change it please?
Please Log in to join the conversation.
2 years 3 months ago #305170
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
I don/t install anything, we just set up the ethercat repositories in /etc/apt here
github.com/LinuxCNC/linuxcnc-live-build/...worm/config/archives
github.com/LinuxCNC/linuxcnc-live-build/...worm/config/archives
Please Log in to join the conversation.
2 years 3 months ago #305884
by NickH
Replied by NickH on topic Ethercat installation from repositories - how to step by step
So having reinstalled I'm back to the point of halcmd loadusr running, and 'show pins' showing the two entries from RodW' ethercat-conf, but none of my pins showing. Running 'ethercat sIaves -v' shows nothing also; I have one servo connected.
Maybe my ethernet connection though I'm sure I have the right interface in ethercat.conf. Any ideas?
Maybe my ethernet connection though I'm sure I have the right interface in ethercat.conf. Any ideas?
Please Log in to join the conversation.
2 years 3 months ago #306192
by zylos146
Replied by zylos146 on topic Ethercat installation from repositories - how to step by step
Endian, the issue you're experiencing with
The deb file is missing the fake_lib folder inside, but the Makefile/configure scripts are expecting it to still exist.
You can see this in the `/var/lib/dkms/ethercat-dkms/1.6.1/build/make.log`
I had to manually download the fake_lib from the origin ` gitlab.com/etherlab.org/ethercat `
I then had to move it into `/var/lib/dkms/ethercat-dkms/1.6.1/source`, run `sudo make`, then run `sudo dpkg --configure ethercat-dkms` to forcibly re-configure the dkms package.
I then ran the standard linuxcnc-ethercat install and it no longer complained about the DKMS package.
For a more proper fix, you'll need to wait for the package maintainer to release a new package version without the issue.
Is because the ethercat-dkms package was recently broken it appears (July 26th)dpkg: error processing package ethercat-dkms (--configure):
installed ethercat-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of ethercat-master:
ethercat-master depends on ethercat-dkms; however:
Package ethercat-dkms is not configured yet.
The deb file is missing the fake_lib folder inside, but the Makefile/configure scripts are expecting it to still exist.
You can see this in the `/var/lib/dkms/ethercat-dkms/1.6.1/build/make.log`
I had to manually download the fake_lib from the origin ` gitlab.com/etherlab.org/ethercat `
I then had to move it into `/var/lib/dkms/ethercat-dkms/1.6.1/source`, run `sudo make`, then run `sudo dpkg --configure ethercat-dkms` to forcibly re-configure the dkms package.
I then ran the standard linuxcnc-ethercat install and it no longer complained about the DKMS package.
For a more proper fix, you'll need to wait for the package maintainer to release a new package version without the issue.
Please Log in to join the conversation.
2 years 3 months ago #306237
by AndriySM
Replied by AndriySM on topic Ethercat installation from repositories - how to step by step
good morning, I'm new to linuxcnc, I tried following all the steps described in the guide but I can't install ethercat on linuxcnc, I always get the same errorWhat could it be that it can't find the necessary files. Where am I wrong
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 3 months ago #306238
by tommylight
Replied by tommylight on topic Ethercat installation from repositories - how to step by step
1. Does the PC have an internet connection?
2. Do in a terminal " sudo apt update " before trying to install
2. Do in a terminal " sudo apt update " before trying to install
Please Log in to join the conversation.
2 years 3 months ago #306245
by AndriySM
Replied by AndriySM on topic Ethercat installation from repositories - how to step by step
Yes, the PC has an internet connection, running the sudo apt update command, which I did before, gives me this error
Please Log in to join the conversation.
2 years 3 months ago #306248
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
There appears to be something broken at ethercat themselves.
Please Log in to join the conversation.
2 years 3 months ago #306255
by rodw
gitlab.com/etherlab.org/ethercat/-/issues/131
Replied by rodw on topic Ethercat installation from repositories - how to step by step
I have raised an issue with themThere appears to be something broken at ethercat themselves.
gitlab.com/etherlab.org/ethercat/-/issues/131
Please Log in to join the conversation.
Time to create page: 1.193 seconds
