Compile etherlab's ethercat master 1.5.2 on openSUSE Leap 42.1
15 Nov 2016The --enable-8139too=no
makes it possible to compile on a newer kernel.
./configure --enable-8139too=no --prefix=/usr/local
make all modules
su
make modules_install install
depmod
ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat
cp ${PREFIX}/etc/sysconfig/ethercat
ln -s /etc/sysconfig/ethercat /etc/ethercat.conf
edit /etc/sysconfig/ethercat
service ethercat start
The ethernet device has to be enabled for the ethercat to work. It can be
checked with lshw -class network