equal
deleted
inserted
replaced
5 $Id$ |
5 $Id$ |
6 |
6 |
7 ------------------------------------------------------------------------------- |
7 ------------------------------------------------------------------------------- |
8 |
8 |
9 Building and installing |
9 Building and installing |
10 ========================== |
10 ======================= |
|
11 |
|
12 The first two steps are only necessary, if the kernel sources to compile |
|
13 against are not those of the running kernel. |
11 |
14 |
12 1) Create a copy of the configuration template: |
15 1) Create a copy of the configuration template: |
13 |
16 |
14 $ cp ethercat.conf.tmpl ethercat.conf |
17 $ cp ethercat.conf.tmpl ethercat.conf |
15 |
18 |
26 This will create the following files and directories: |
29 This will create the following files and directories: |
27 - /etc/sysconfig/ethercat (configuration file) |
30 - /etc/sysconfig/ethercat (configuration file) |
28 - /etc/init.d/ethercat (startup script) |
31 - /etc/init.d/ethercat (startup script) |
29 - /usr/sbin/rcethercat (link to startup script) |
32 - /usr/sbin/rcethercat (link to startup script) |
30 |
33 |
31 The modules will be placed in /lib/modules/<KERNEL>/kernel/drivers/net |
34 The modules will be placed in /lib/modules/<KERNEL>/ethercat |
32 (where <KERNEL> is the Linux kernel version configured in ethercat.conf). |
35 (where <KERNEL> is the Linux kernel version configured in ethercat.conf). |
33 |
36 |
|
37 5) Adjust the configuration file /etc/sysconfig/ethercat to your needs. |
|
38 |
34 ------------------------------------------------------------------------------- |
39 ------------------------------------------------------------------------------- |