script/sysconfig/ethercat
changeset 573 cdee4ea90ce9
parent 563 d113b63c55c4
child 588 ba69f7f34fbf
equal deleted inserted replaced
572:aef7ea866a41 573:cdee4ea90ce9
     1 #------------------------------------------------------------------------------
     1 #------------------------------------------------------------------------------
     2 #
     2 #
     3 #  EtherCAT sysconfig file
     3 #  EtherCAT master sysconfig file
     4 #
     4 #
     5 #  $Id$
     5 #  $Id$
     6 #
     6 #
     7 #------------------------------------------------------------------------------
     7 #------------------------------------------------------------------------------
     8 
     8 
     9 #
     9 #
    10 #  PCI index of the (RTL8139-)EtherCAT device
    10 # Master device and backup-device settings.
    11 #  Setting this is mandatory for the EtherCAT init script!
       
    12 #
    11 #
    13 #DEVICE_INDEX=99
    12 # The MASTERX_DEVICE variable specifies the ethernet device for master 'X',
    14 
    13 # while the MASTERX_BACKUP variable specifies the backup ethernet device for
       
    14 # redundancy purposes.
    15 #
    15 #
    16 #  Number of Ethernet-over-EtherCAT interfaces every master shall create
    16 # There are three formats for specifying ethernet devices:
    17 #  on startup. Default is 0.
    17 # 1) MAC address (example: "00:00:08:44:55:66"). Specify the MAC address of
       
    18 #    the ethernet card to use.
       
    19 # 2) PCI bus address (example: "01:1c.0"). Specify the PCU bis address of the
       
    20 #    ethernet card to use.
       
    21 # 3) Driver and device index (example: "8139too:0"). Currently there are two
       
    22 #    drivers available: "8139too" and "e100". The device index is the index
       
    23 #    into driver-supported PCI cards.
    18 #
    24 #
    19 #EOE_INTERFACES=0
    25 # The MASTERX_DEVICE variables also determine, how many masters will be
    20 
    26 # created: A non-empty variable MASTER0_DEVICE will create one master, adding
       
    27 # a non-empty variable MASTER1_DEVICE will create a second master, and so on.
    21 #
    28 #
    22 #  Bridge all EoE interfaces after master startup
    29 MASTER0_DEVICE=
    23 #  This variable shall contain the name of the EoE bridge to set up.
    30 MASTER0_BACKUP=
    24 #  If the variable is empty or undefined, no EoE bridge will be built.
       
    25 #
       
    26 #EOE_BRIDGE=eoebr0
       
    27 
       
    28 #
       
    29 #  IP address of the EoE bridge
       
    30 #  Set both EOE_IP_ADDRESS and EOE_IP_NETMASK to let the local host communicate
       
    31 #  with devices on the EoE bridge.
       
    32 #
       
    33 #EOE_IP_ADDRESS=192.168.X.X
       
    34 
       
    35 #
       
    36 #  IP netmask of the EoE bridge
       
    37 #  See EOE_IP_ADDRESS.
       
    38 #
       
    39 #EOE_IP_NETMASK=255.255.255.0
       
    40 
       
    41 #
       
    42 #  Renew default gateway after bridge installation.
       
    43 #  Set this to the new default gateway, if the default route shall
       
    44 #  be renewed after the bridge has been installed.
       
    45 #
       
    46 #EOE_GATEWAY=192.168.X.X
       
    47 
       
    48 #
       
    49 #  List of extra interfaces to include in the EoE bridge.
       
    50 #  Set this to interconnect the EoE bridge with other local interfaces.
       
    51 #  If EOE_BRIDGE is empty or undefined, setting this variable has no effect.
       
    52 #  Important: The IP address of these interfaces will be cleared. Set
       
    53 #  EOE_IP_ADDRESS and EOE_IP_NETMASK accordingly to enable IP traffic to
       
    54 #  extra interfaces.
       
    55 #
       
    56 #EOE_EXTRA_INTERFACES=eth0
       
    57 
    31 
    58 #------------------------------------------------------------------------------
    32 #------------------------------------------------------------------------------