[etherlab-users] Debian Stretch
Steve Hartmann
SHartmann at cnt.canon.com
Mon Jan 7 16:27:23 CET 2019
Thanks everyone for the comments. I knew it would be something simple.
As for my question about UDEV, it ends up UDEV works fine, I had just accidentally omitted something from my rule.
From: Michael Graichen <michael.graichen at hotmail.com>
Date: Monday, January 7, 2019 at 7:27 AM
To: Steve Hartmann <SHartmann at cnt.canon.com>, Etherlab Users <etherlab-users at etherlab.org>
Subject: AW: Debian Stretch
Hey,
> Second, they have switched to systemd. I have just been running the sbin/ethercatctl script to start and stop the service. Anyone know the magic mojo to > add it to the system so I can use systemctrl and thus be able to have it start on system startup?
you need to copy or link the script to /usr/local/sbin
systemctl status ethercat - Gives you the status
systemctl start ethercat - Starts it
systemctl stop ethercat - Stops it
systemctl enable ethercat - Puts it in Autostart
systemctl disable ethercat - Removes it from Autostart
________________________________
Von: etherlab-users <etherlab-users-bounces at etherlab.org> im Auftrag von Steve Hartmann <SHartmann at cnt.canon.com>
Gesendet: Freitag, 4. Januar 2019 18:21
An: Etherlab Users
Betreff: [etherlab-users] Debian Stretch
We have been using etherLabs etherCAT stack on Debian Wheezy with a Xenomai kernel for some time now. For reasons outside of ethercat we want to move to Stretch (Debian 9) using the RT_PREEMPT kernel. I have the stack up and running, but some system differences are causing me some difficulties. I have been reading articles, but was wanting to know if someone here has already gone through the pain and would be willing to share their work.
First of all, I have found that although the UDev directories are still there, they are all empty and UDev seems to be deprecated. The UDev rule, 99-EtherCAT.rules, which contains the line “KERNEL=="EtherCAT[0-9]*", MODE="0664"” no longer seems to have any effect. Anyone know the new procedure to set the file mode for the EtherCAT devices?
Second, they have switched to systemd. I have just been running the sbin/ethercatctl script to start and stop the service. Anyone know the magic mojo to add it to the system so I can use systemctrl and thus be able to have it start on system startup?
TIA,
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20190107/960b0d8b/attachment-0004.htm>
More information about the Etherlab-users
mailing list