INSTALL
author Florian Pose <fp@igh-essen.com>
Mon, 25 Sep 2006 14:17:44 +0000
branchstable-1.1
changeset 1725 a5a8a64d2b52
parent 1721 8d1fcfe68ced
child 380 971d079ff771
permissions -rw-r--r--
MERGE trunk -r 552:553 -> branches/stable-1.1 (--with-linux, mydist)
-------------------------------------------------------------------------------

This is the INSTALL file of the IgH EtherCAT Master.

$Id$

-------------------------------------------------------------------------------

Building and installing
=======================

The first two steps are only necessary, if the kernel sources to compile
against are not those of the running kernel.

1) Create a copy of the configuration template:

  $ cp ethercat.conf.tmpl ethercat.conf

2) Adjust the variables in the configuration file to your needs.

3) Build the EtherCAT master and network device driver modules:

  $ make

4) Install the the EtherCAT master (as root):

  # make install

  This will create the following files and directories:
    - /etc/sysconfig/ethercat (configuration file)
    - /etc/init.d/ethercat    (startup script)
    - /usr/sbin/rcethercat    (link to startup script)

  The modules will be placed in /lib/modules/<KERNEL>/ethercat
  (where <KERNEL> is the Linux kernel version configured in ethercat.conf).

5) Adjust the configuration file /etc/sysconfig/ethercat to your needs.

-------------------------------------------------------------------------------