Getting errors while installing etherlab master

More
12 Apr 2024 13:05 #298066 by Mehta_123
E: Unable to locate package linux-headers-4.19.71-rt24-v7l
E: Couldn't find any package by glob 'linux-headers-4.19.71-rt24-v7l'
E: Couldn't find any package by regex 'linux-headers-4.19.71-rt24-v7l'

I want to install etherlab master on raspberry pi while installing get above errors please provide any solutions for Above errors
 

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

More
12 Apr 2024 16:47 #298080 by tommylight
Did you do
sudo apt update
Before trying to install?
Just getting it out of the way as i do not use RPI.

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

More
12 Apr 2024 20:57 #298124 by rodw
Way out of date
Install linuxcnc 2.9 from the official ISO and install ethercat from the provided and installed repositories. Refer to the sticky in the ethercat section

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

More
15 Apr 2024 06:58 #298270 by Mehta_123
Thanks for the reply !!

I did sudo apt update and upgrade.

Hi Rod, I was hoping for your reply since I followed your steps for installing Ethercat. I have successfully installed and able to detect slaves as well.

Also I have created udev rule so that I don't have to give permission everytime, but everytime I reboot or start rpi4 "/dev/EtherCAT0" vanishes !!

I have found solution from the last post of "Ethercat installation from repositories":
root@raspberrypi:~# /usr/sbin/ethercatctl stop
rmmod: ERROR: Module ec_master is in use by: ec_genet
root@raspberrypi:~# rmmod ec_genet
root@raspberrypi:~# /usr/sbin/ethercatctl stop
root@raspberrypi:~# /usr/sbin/ethercatctl start

After following this commands I am able to see "/dev/EtherCAT0", can you please help me with this so that I don't have to follow above commands?

Thanks !!

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

More
15 Apr 2024 07:24 #298272 by rodw
I suspect you missed setting upa udev rule as outlined in the instructions

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

More
15 Apr 2024 08:40 - 15 Apr 2024 08:56 #298274 by Mehta_123
Nope, I have followed these three steps:
sudo geany /etc/udev/rules.d/99-ethercat.rules
KERNAL=="EtherCAT[0-9]", MODE="0777"
sudo udevadm control --reload-rules

Did I miss something?

Thanks !!
Last edit: 15 Apr 2024 08:56 by Mehta_123.

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

Time to create page: 0.302 seconds
Powered by Kunena Forum