# HG changeset patch # User Florian Pose # Date 1213710330 0 # Node ID b9224ef0546cc419bf673b54284abb03ba45e174 # Parent f831ef59426dcf57199ef006a11ef9c713617c32 Updated install script; udev rule. diff -r f831ef59426d -r b9224ef0546c INSTALL --- a/INSTALL Tue Jun 17 13:27:28 2008 +0000 +++ b/INSTALL Tue Jun 17 13:45:30 2008 +0000 @@ -17,6 +17,7 @@ For the impatient: The procedure mainly consists of calling $ ./configure +$ make $ make modules (and as root) @@ -24,7 +25,23 @@ # make install # make modules_install -...and copying the init script and sysconfig file from $PREFIX/etc to the -appropriate locations and customizing the sysconfig file. +...and linking the init script and copying the sysconfig file from $PREFIX/etc +to the appropriate locations and customizing the sysconfig file. + +# ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat +# cp ${PREFIX}/etc/sysconfig/ethercat /etc/sysconfig/ethercat +# vi /etc/sysconfig/ethercat + +The EtherCAT character device will be created with mode 0660 and group root by +default. If you want to give normal users reading access, create a udev rule +like this: + +# echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules + +Now you can start the EtherCAT master: + +# /etc/init.d/ethercat start + +Have fun! -------------------------------------------------------------------------------