Skip to content

Commit

Permalink
Merge pull request #116 from yguel/yguel-doc-kernel-update-howto
Browse files Browse the repository at this point in the history
Provides more helpful tips in case of kernel update.
  • Loading branch information
laurent-barbe committed Apr 19, 2024
2 parents 2f8cd8f + 3f8ff75 commit 45775ea
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion ethercat_driver_ros2/sphinx/quickstart/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ To do so:
$ sudo make modules_install install
$ sudo depmod
.. note:: This step is needed every time the Linux kernel is updated.
* Configure system:

.. code-block:: console
Expand All @@ -75,6 +74,28 @@ To do so:
$ sudo mkdir -p /etc/sysconfig
$ sudo cp /usr/local/etherlab/etc/sysconfig/ethercat /etc/sysconfig/ethercat
.. note::

These 4 steps may be needed every time the Linux kernel is updated.
Before re-doing the 4 steps, you can try the following lighter steps:

Go in the folder where the ethercat project was cloned, from step 2 (Setup sources) do:

.. code-block:: console
cd ethercat
sudo rm /usr/bin/ethercat /etc/init.d/ethercat
./bootstrap
Do integrally step 3 (Configure, build and install ...)
From Step 4 (Configure system)

.. code-block:: console
sudo ln -s /usr/local/etherlab/bin/ethercat /usr/bin/
sudo ln -s /usr/local/etherlab/etc/init.d/ethercat /etc/init.d/ethercat
* Create a new :code:`udev` rule:

.. code-block:: console
Expand Down

0 comments on commit 45775ea

Please sign in to comment.