Debian Buster 10 + Linuxcnc + Ethercat + ISO cd Download 1.7 GB

More
05 Jun 2021 19:04 #211242 by nic
Hi Grotius,

it`s strange but I have used the same hard disk. I think debian don`t like my new amd gpu. I fixed it already (after 3h .. xD) with the amd firmware.

Thank`s a lot anyway for your answer.

Is the Linux 11 in your opinion better than buster?

Best regards,

Nic

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

More
29 Mar 2022 19:31 #238638 by LAUSCH
Hi all,

When I ran the Ethercat_installer.sh it end up with the following error message:
cat: /sys/class/net/enp0s25/address: No such file or directory
cat: /sys/class/net/enp0s25/address: No such file or directory
.. Retrieved MAC adres :
.. .. Appending MAC adres to last line of ethercat file /etc/default/
make: Entering directory '/usr/share/ethercat/linuxcnc_ethercat'
make[1]: Entering directory '/usr/share/ethercat/linuxcnc_ethercat/src'
make[2]: Entering directory '/usr/share/ethercat/linuxcnc_ethercat/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/share/ethercat/linuxcnc_ethercat/src'
make[2]: Entering directory '/usr/share/ethercat/linuxcnc_ethercat/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/share/ethercat/linuxcnc_ethercat/src'
make[1]: Leaving directory '/usr/share/ethercat/linuxcnc_ethercat/src'
make: Leaving directory '/usr/share/ethercat/linuxcnc_ethercat'
Compiling the linuxcnc-ethercat lcec driver
Updating EtherCAT master confiuration
modprobe: ERROR: could not insert 'ec_master': Invalid argument
failed!
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.

$ ip a revealed that my network device is not called enp0s25

following approached solved the issue:
$ sudo ip link set <your network device name> down
$ sudo ip link set dev <your network device name> name enp0s25
$ sudo ip link set enp0s25 up
$ sudo ip a

Afterwards i ran "Ethercat_installer" again and it executed successfully.

 
The following user(s) said Thank You: tommylight

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

More
13 Sep 2023 18:07 #280660 by Sockheaven
Hi All,
I am about to start bringing up a new machine next month and getting my resources all together.
I will try using the most recent ISO that was posted here, but it leads me to ask the question "Is there a plan to include the EtherCAT support into the standard download"?

I'd love to see this happen instead of relying on frozen builds (forgive my ignorance if there is an easy way to upgrade once installed on a machine - my experience with Linux doesn't go much further than what I have learned getting LinuxCNC up and running).

I suspect the EtherCAT support would make the Raspberry Pi build work quite well too as it would eliminate the need for external Mesa Boards and the configuration that entails.

Best Regards,
Paul

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

More
14 Sep 2023 09:40 #280722 by rodw
This ISO forum.linuxcnc.org/9-installing-linuxcnc...or-linuxcnc-x86-only
includes the ethercat repositories and also this shows how to install ethercat on that ISO these days.
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step

I have built an image for the pi linked on the frum here but have not included ethercat repos. etherlabmaster have told me they are hosting packages for the pi but I was not certain that I could build the ethercat  hal driver and add the packages to my repository. The hal driver should build from source. Try my fork of it here whcih is what I build the debs i uploaded. github.com/rodw-au/linuxcnc-ethercat

There are some liciencing issues preventing linuxcnc from including ethercat stuff but by including the repositorises in our sources.list should not break any rules..
The following user(s) said Thank You: Sockheaven

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

More
14 Sep 2023 14:04 #280743 by Sockheaven
Ahh bummer on the licensing.
Thanks for the info, I was wondering why this hadn't made it into the standard build.
Best Regards,
Paul

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

More
14 Sep 2023 20:57 #280783 by rodw
My ISO is not really frozen. to get the latest linuxcnc and ethercat, you just need to  type
sudo apt update
sudo apt upgrade

This will get linuxcnc as of the date you do it.
The following user(s) said Thank You: Sockheaven

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

More
15 Sep 2023 13:35 #280847 by Sockheaven
OH - never considered doing that. Thanks!
The following user(s) said Thank You: rodw

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

More
10 Nov 2023 17:26 #285036 by Sockheaven
I seem to be having issues using the upgrade command.
I was on LinuxCNC 2.8.4 and am prepping for a new machine build next week. decided to try the upgrade path mentioned above:
sudo apt update
sudo apt upgrade

While the procedure seems to have done "something" LinuxCNC remained at 2.8.4.
Another oddity is that when i tried to start my project (using the etherlab master that was previously installed) the ec_generic controller appears to be removed from the computer.

Startup error:
Failed to open /dev/EtherCAT0: No such file or directory
LCEC: requesting master 0 (index 0) failed
lcec: rtapi_app_main: Invalid argument (-22)

If i try to re-run teh "ethercat_installer" that comes with that ISO, it fails near the end with this error:
Compiling the linuxcnc-ethercat lcec driver
Updating EtherCAT master confiuration
modinfo: ERROR: Module ec_generic not found.

I'm going to just re-install at this point, but I have had similar issues on other computers trying to update debian, feels like i'm missing a key step somewhere.

Best Regards,
Paul

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

More
10 Nov 2023 21:19 #285052 by rodw
Am upgrade keeps you on the same debian version and just install any new releases in that version.

You can't just install ethercat and expect it to work. Please follow my stickyed instructions in the ethercat section of the forum to configure it.
I honestly think you would be better off installing the new Debian Bookworm 2.9.1 ISO from linuxcnc's download page.

Whilst it is possible to use sudo apt-get dist-upgrade to upgrade from Buster to later releases, I would not recommend this path as it is very time consuming and takes a lot longer than installing from the iso

The good news from an email last night is Sasha Ittner's linuxcnc ethercat driver is now hosted  in etherlabmaster repository so there is no need to bother with compiling it  from source. And I don't need to host it on package.io any longer.

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

Time to create page: 0.124 seconds
Powered by Kunena Forum