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

More
3 years 2 months ago #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 to join the conversation.

More
3 years 2 months ago #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 to join the conversation.

More
3 years 2 months ago #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
Code:
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
Code:
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!

​​​​​​​

Please Log in to join the conversation.

More
3 years 2 months ago #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.

Please Log in to join the conversation.

More
3 years 2 months ago #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

Please Log in to join the conversation.

More
3 years 2 months ago #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 to join the conversation.

More
3 years 2 months ago #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

Please Log in to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum