This is forked from: https://gitlab.com/etherlab.org/ethercat/
Branch stable-1.5
is used.
Run the following commands:
./bootstrap
./configure # or, on the ZOTAC: ./configure --enable-r8169
make all modules
As root:
make modules_install install
depmod
ln -s /usr/local/etc/init.d/ethercat /etc/init.d/ethercat
cp /usr/local/etc/sysconfig/ethercat /etc/sysconfig/ethercat
Edit the /etc/sysconfig/ethercat
configuration file, and set:
MASTER0_DEVICE
to the MAC address of the ethernet device you want to useDEVICE_MODULES
to the module (e.g:generic
)