fp@198: ------------------------------------------------------------------------------- fp@198: fp@198: This is the INSTALL file of the IgH EtherCAT Master. fp@198: fp@198: $Id$ fp@198: fp@198: ------------------------------------------------------------------------------- fp@198: fp@198: Building and installing fp@355: ======================= fp@355: fp@785: The build and installation procedure is described in section 2.1 in the fp@785: documentation available from http://etherlab.org/en/ethercat. fp@355: fp@198: ------------------------------------------------------------------------------- fp@380: fp@785: For the impatient: The procedure mainly consists of calling fp@380: fp@487: $ ./configure fp@1017: $ make fp@487: $ make modules fp@380: fp@487: (and as root) fp@487: fp@560: # make install fp@487: # make modules_install fp@1106: # depmod fp@487: fp@1017: ...and linking the init script and copying the sysconfig file from $PREFIX/etc fp@1017: to the appropriate locations and customizing the sysconfig file. fp@1017: fp@1017: # ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat fp@1017: # cp ${PREFIX}/etc/sysconfig/ethercat /etc/sysconfig/ethercat fp@1017: # vi /etc/sysconfig/ethercat fp@1017: fp@1654: Make sure, that the 'udev' package is installed, to automatically create the fp@1654: EtherCAT character devices. The character devices will be created with mode fp@1654: 0660 and group root by default. If you want to give normal users reading fp@1654: access, create a udev rule like this: fp@1017: fp@1017: # echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules fp@1017: fp@1017: Now you can start the EtherCAT master: fp@1017: fp@1017: # /etc/init.d/ethercat start fp@1017: fp@1081: Have a look at the examples/ subdirectory for some application examples. fp@1081: fp@1017: Have fun! fp@380: fp@380: -------------------------------------------------------------------------------