script/sysconfig/ethercat
branchstable-1.3
changeset 1744 7bc131b92039
parent 1740 fa0af75bfbe9
child 1758 2f7f5fa7b870
equal deleted inserted replaced
1743:1a7067207637 1744:7bc131b92039
     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 MASTER<X>_DEVICE variable specifies the ethernet device for master 'X',
       
    13 # while the MASTER<X>_BACKUP variable specifies the backup ethernet device for
       
    14 # redundancy purposes.
       
    15 #
       
    16 # Specify the MAC address (hexadecimal with colons) of the Ethernet device to
       
    17 # use. Example: "00:00:08:44:ab:66"
       
    18 #
       
    19 # The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
       
    20 # the master to accept the first device offered by any ethernet driver.
       
    21 #
       
    22 # The MASTER<X>_DEVICE variables also determine, how many masters will be
       
    23 # created: A non-empty variable MASTER0_DEVICE will create one master, adding
       
    24 # a non-empty variable MASTER1_DEVICE will create a second master, and so on.
       
    25 #
       
    26 # Note: The backup devices are not implemented, yet.
       
    27 #
       
    28 MASTER0_DEVICE=""
       
    29 MASTER0_BACKUP=""
       
    30 
       
    31 #MASTER1_DEVICE=""
       
    32 #MASTER1_BACKUP=""
    14 
    33 
    15 #
    34 #
    16 #  Number of Ethernet-over-EtherCAT interfaces every master shall create
    35 # Ethernet driver modules to replace with EtherCAT-capable ones.
    17 #  on startup. Default is 0.
       
    18 #
    36 #
    19 #EOE_INTERFACES=0
    37 # The init script will try to unload the ethernet driver modules in the list
    20 
    38 # and replace them with the EtherCAT-capable ones, respectively. If a certain
       
    39 # (EtherCAT-capable) driver is not found, a warning will appear.
    21 #
    40 #
    22 #  Bridge all EoE interfaces after master startup
    41 # Possible values are "8139too", "e100", "e1000", and "forcedeth".
    23 #  This variable shall contain the name of the EoE bridge to set up.
    42 # Separate multiple drivers with spaces.
    24 #  If the variable is empty or undefined, no EoE bridge will be built.
       
    25 #
    43 #
    26 #EOE_BRIDGE=eoebr0
    44 # Note: The e100, e1000 and forcedeth drivers are not built by default. Enable
    27 
    45 # them with the --enable-<driver> configure switches.
    28 #
    46 # 
    29 #  IP address of the EoE bridge
    47 DEVICE_MODULES=""
    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 
    48 
    58 #------------------------------------------------------------------------------
    49 #------------------------------------------------------------------------------