<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hey, <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
> <span style="font-size:11pt">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?</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt">you need to copy or link the script to /usr/local/sbin</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt">systemctl status ethercat - Gives you the status</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt">systemctl start ethercat - Starts it</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><span style="font-size:11pt">systemctl stop ethercat - Stops it</span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><span style="font-size:11pt">systemctl enable ethercat - Puts it in Autostart</span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><span style="font-size:11pt">systemctl disable ethercat - Removes it from Autostart</span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><br>
</span><span style="font-size:11pt">
<pre><span style="font-size:11pt"></span></pre>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:11pt"></span><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> etherlab-users <etherlab-users-bounces@etherlab.org> im Auftrag von Steve Hartmann <SHartmann@cnt.canon.com><br>
<b>Gesendet:</b> Freitag, 4. Januar 2019 18:21<br>
<b>An:</b> Etherlab Users<br>
<b>Betreff:</b> [etherlab-users] Debian Stretch</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"MS Mincho"}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif}
.x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="font-size:11.0pt">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.</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt">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?</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt">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?</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt">TIA,</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt">Steven</span></p>
</div>
</div>
</body>
</html>