ethercat: /lib/x86_64-linux-gnu/libstdc++.so.6

More
07 Aug 2023 07:25 #277200 by gueee78
Hello Rod!

Yes, I exactly followed your sticky thread, except the ethercat master part, since I unstalled it from Bjarne's repo.

Was I supposed to install the ethercat-dkms, libethercat, libethercat-dev and ethercat-master via apt anyway?

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

More
07 Aug 2023 07:51 #277203 by rodw
I'm not sure yet as I have not tried. But I am sure you will need to change the contents of realtime.mk as per the part in the spoiler.

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

More
07 Aug 2023 08:47 #277207 by gueee78
I needed to install the packages and now it's working, thanks again!

So for everyone who needs it here are the steps I took:

1) a fresh install of debian 12.1 as recommended in Rod's sticky
2) install lcnc 2.9 from repos
3) install ethercat master from Bjarne's repo. instructions can be found at gitlab.com/etherlab.org/ethercat/-/issues/61
4) install kernel headers, build-essential, ethercat-dkms, libethercat, libethercat-dev, ethercat-master via apt
5) edit /etc/ethercat.conf, add
MASTER0_DEVICE="xx:aa:yy:zz:bb:cc" and DEVICE_MODULES="generic"
6) back to RodW's sticky following the rest of the steps starting from
sudo systemctl enable ethercat.service
sudo systemctl start ethercat.service
sudo systemctl status ethercat.service
sudo chmod 666 /dev/EtherCAT0

I hope it'll help!

Thanks to all for your support!

​​​​​​​
The following user(s) said Thank You: tommylight, rodw

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

More
09 Aug 2023 04:15 #277400 by rodw

Thanks for your reply!

Meanwhile I went over to gitlab and first tried to compile ethercat-master, with no success.
Fortunately Bjarne von Horn jumped in and gave me the link to his home repo and that actually worked.
gitlab.com/etherlab.org/ethercat/-/issues/61#note_1501705278
 

Many thanks for your work here.  visited your issue and after a bit more help, I got ethercat installed on my Secureboot machine.
The first post in the sticky  thread has been updated with the current process (including the secure boot)
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
Any testing or review would be appreciated. I have not tested on real hardware. I am expecting a second NIC to arrive tomorrow and I will set up some slaves.

The installation is actually easier now with the way the keys are installed etc.
The following user(s) said Thank You: jjdege

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

More
09 Aug 2023 10:13 #277414 by jjdege
Hi everyone
I had the same problem, now with the new indications it is solved and it works well even on real hardware
thanks for the work done
The following user(s) said Thank You: rodw

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

More
09 Aug 2023 11:36 #277427 by rodw

Hi everyone
I had the same problem, now with the new indications it is solved and it works well even on real hardware
thanks for the work done

Great, did you follow the updated sticky above? Someone is saying it did not work for him on that thread.

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

More
09 Aug 2023 14:05 - 09 Aug 2023 14:28 #277442 by jjdege
yes sure rodw, i used this:
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
and commented out the old repository in sources.list
Thank you
Last edit: 09 Aug 2023 14:28 by jjdege.
The following user(s) said Thank You: rodw

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

Time to create page: 0.128 seconds
Powered by Kunena Forum