equal
deleted
inserted
replaced
15 ------------------------------------------------------------------------------- |
15 ------------------------------------------------------------------------------- |
16 |
16 |
17 For the impatient: The procedure mainly consists of calling |
17 For the impatient: The procedure mainly consists of calling |
18 |
18 |
19 $ ./configure |
19 $ ./configure |
|
20 $ make |
20 $ make modules |
21 $ make modules |
21 |
22 |
22 (and as root) |
23 (and as root) |
23 |
24 |
24 # make install |
25 # make install |
25 # make modules_install |
26 # make modules_install |
26 |
27 |
27 ...and copying the init script and sysconfig file from $PREFIX/etc to the |
28 ...and linking the init script and copying the sysconfig file from $PREFIX/etc |
28 appropriate locations and customizing the sysconfig file. |
29 to the appropriate locations and customizing the sysconfig file. |
|
30 |
|
31 # ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat |
|
32 # cp ${PREFIX}/etc/sysconfig/ethercat /etc/sysconfig/ethercat |
|
33 # vi /etc/sysconfig/ethercat |
|
34 |
|
35 The EtherCAT character device will be created with mode 0660 and group root by |
|
36 default. If you want to give normal users reading access, create a udev rule |
|
37 like this: |
|
38 |
|
39 # echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules |
|
40 |
|
41 Now you can start the EtherCAT master: |
|
42 |
|
43 # /etc/init.d/ethercat start |
|
44 |
|
45 Have fun! |
29 |
46 |
30 ------------------------------------------------------------------------------- |
47 ------------------------------------------------------------------------------- |