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