Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provides more helpful tips in case of kernel update. #116

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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