Generic driver device activation in documentation.

This commit is contained in:
Florian Pose
2013-12-10 10:38:03 +01:00
parent ffa0c395a8
commit 0e27831397

View File

@@ -1239,6 +1239,25 @@ allocations and other things, that could cause the system to freeze in
realtime context.
\end{itemize}
\paragraph{Device Activation} In order to send and receive frames through a
socket, the Ethernet device linked to that socket has to be activated,
otherwise all frames will be rejected. Activation has to take place before the
master module is loaded and can happen in several ways:
\begin{itemize}
\item Ad-hoc, using the command \lstinline+ip link set dev ethX up+ (or the
older \lstinline+ifconfig ethX up+),
\item Configured, depending on the distribution, for example using
\lstinline+ifcfg+ files (\lstinline+/etc/sysconfig/network/ifcfg-ethX+) in
openSUSE and others. This is the better choice, if the EtherCAT master shall
start at system boot time. Since the Ethernet device shall only be activated,
but no IP address etc.\ shall be assigned, it is enough to use
\lstinline+STARTMODE=auto+ as configuration.
\end{itemize}
%------------------------------------------------------------------------------
\section{Providing Ethernet Devices}