From b47f9249d7cb6c337d6860bd30e5db03477a5f2b Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Tue, 24 Aug 2021 13:27:28 +0200 Subject: [PATCH] Documentation for interface names. --- script/ethercat.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/ethercat.conf b/script/ethercat.conf index 91ccaeb8..f6f0a549 100644 --- a/script/ethercat.conf +++ b/script/ethercat.conf @@ -17,6 +17,10 @@ # Specify the MAC address (hexadecimal with colons) of the Ethernet device to # use. Example: "00:00:08:44:ab:66" # +# Alternatively, a network interface name can be specified. The interface +# name will be resolved to a MAC address using the 'ip' command. +# Example: "eth0" +# # The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells # the master to accept the first device offered by any Ethernet driver. # @@ -24,6 +28,10 @@ # created: A non-empty variable MASTER0_DEVICE will create one master, adding a # non-empty variable MASTER1_DEVICE will create a second master, and so on. # +# Examples: +# MASTER0_DEVICE="00:00:08:44:ab:66" +# MASTER0_DEVICE="eth0" +# MASTER0_DEVICE="" #MASTER1_DEVICE=""