- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Ethercat installation from repositories - how to step by step
Ethercat installation from repositories - how to step by step
- rodw
- Topic Author
- Offline
- Platinum Member
- Posts: 10700
- Thank you received: 3530
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 or Create an account to join the conversation.
- endian
- Offline
- Elite Member
- Posts: 171
- Thank you received: 42
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 or Create an account to join the conversation.
- rodw
- Topic Author
- Offline
- Platinum Member
- Posts: 10700
- Thank you received: 3530
github.com/LinuxCNC/linuxcnc-live-build/...worm/config/archives
Please Log in or Create an account to join the conversation.
- NickH
- Offline
- New Member
- Posts: 12
- Thank you received: 1
Maybe my ethernet connection though I'm sure I have the right interface in ethercat.conf. Any ideas?
Please Log in or Create an account to join the conversation.
- zylos146
- Offline
- New Member
- Posts: 1
- Thank you received: 0
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 or Create an account to join the conversation.
- AndriySM
- Offline
- New Member
- Posts: 4
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19360
- Thank you received: 6481
2. Do in a terminal " sudo apt update " before trying to install
Please Log in or Create an account to join the conversation.
- AndriySM
- Offline
- New Member
- Posts: 4
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- rodw
- Topic Author
- Offline
- Platinum Member
- Posts: 10700
- Thank you received: 3530
Please Log in or Create an account to join the conversation.
- rodw
- Topic Author
- Offline
- Platinum Member
- Posts: 10700
- Thank you received: 3530
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 or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Ethercat installation from repositories - how to step by step