script/sysconfig/ethercat
author Florian Pose <fp@igh-essen.com>
Fri, 10 Aug 2007 15:08:44 +0000
branchstable-1.3
changeset 1743 1a7067207637
parent 1740 fa0af75bfbe9
child 573 cdee4ea90ce9
child 1744 7bc131b92039
permissions -rw-r--r--
Added stable-1.3 branch.
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#  EtherCAT sysconfig file
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  $Id$
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#------------------------------------------------------------------------------
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
#  PCI index of the (RTL8139-)EtherCAT device
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#  Setting this is mandatory for the EtherCAT init script!
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
#DEVICE_INDEX=99
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
#  Number of Ethernet-over-EtherCAT interfaces every master shall create
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#  on startup. Default is 0.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
#EOE_INTERFACES=0
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
#  Bridge all EoE interfaces after master startup
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    23
#  This variable shall contain the name of the EoE bridge to set up.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
#  If the variable is empty or undefined, no EoE bridge will be built.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
#EOE_BRIDGE=eoebr0
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
#  IP address of the EoE bridge
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
#  Set both EOE_IP_ADDRESS and EOE_IP_NETMASK to let the local host communicate
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
#  with devices on the EoE bridge.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
#EOE_IP_ADDRESS=192.168.X.X
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    35
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    36
#  IP netmask of the EoE bridge
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    37
#  See EOE_IP_ADDRESS.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    38
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    39
#EOE_IP_NETMASK=255.255.255.0
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    40
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    42
#  Renew default gateway after bridge installation.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    43
#  Set this to the new default gateway, if the default route shall
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    44
#  be renewed after the bridge has been installed.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    45
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    46
#EOE_GATEWAY=192.168.X.X
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    47
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    48
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    49
#  List of extra interfaces to include in the EoE bridge.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    50
#  Set this to interconnect the EoE bridge with other local interfaces.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    51
#  If EOE_BRIDGE is empty or undefined, setting this variable has no effect.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    52
#  Important: The IP address of these interfaces will be cleared. Set
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    53
#  EOE_IP_ADDRESS and EOE_IP_NETMASK accordingly to enable IP traffic to
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    54
#  extra interfaces.
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    55
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    56
#EOE_EXTRA_INTERFACES=eth0
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    57
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    58
#------------------------------------------------------------------------------