Hi rodw
I followed your procedure.
forum.linuxcnc.org/ethercat/45336-etherc...step?start=80#273846
From the terminal the master is displayed, but the slave is not seen.
I tried the procedure used in the past with Bullseye and it works: from the terminal you can see the EtherCAT master and slave.
Note: For Bullseye I installed the dependencies before building the master from source.
I didn't do it here because I think the dependencies already installed with yesterday's .deb, and it's correct because it works
This is the procedure I followed.
I hope it can be useful.
Code:
apt-get install git autoconf libtool linux-headers-$(uname -r)
git clone https://gitlab.com/etherlab.org/ethercat.git
cd ethercat
git checkout stable-1.5
./bootstrap
./configure --help
./configure --enable-generic --disable-8139too
make
make all modules
make modules_install install
depmod
#Copy ethercat launcher :
cp -f /git/ethercat/script/init.d/ethercat /etc/init.d/
#Make ethercat launcher executable :
chmod +x /git/ethercat/script/init.d/ethercat
#copy ethercat mac and driver config sheet to system :
mkdir -p /etc/sysconfig/
cp -f /git/ethercat/script/sysconfig/ethercat /etc/sysconfig/
#Retrieve mac adres :
echo MASTER0_DEVICE="$(cat /sys/class/net/enp1s0/address)" > /etc/sysconfig/ethercat
#We choose the generic driver to activate :
echo DEVICE_MODULES="generic" >> /etc/sysconfig/ethercat
#From etherlab orginal :
echo "KERNEL=="\"EtherCAT[0-9]*\"", MODE="\"777\"", GROUP=""\"ethercat\"" > /etc/udev/rules.d/99-ethercat.rules
chmod go+rwx /etc/udev/rules.d/99-ethercat.rules
sudo systemctl enable ethercat.service
sudo systemctl start ethercat.service
sudo systemctl status ethercat.service
sudo chmod 666 /dev/EtherCAT0
/etc/init.d/ethercat start