script/sysconfig
author Florian Pose <fp@igh-essen.com>
Mon, 25 Sep 2006 17:28:31 +0000
branchstable-1.1
changeset 1727 861f4715ed6f
parent 1715 e675450f2174
permissions -rw-r--r--
MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
250
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#  EtherCAT sysconfig file
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  $Id$
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#------------------------------------------------------------------------------
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
#  PCI index of the (RTL8139-)EtherCAT device
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#  Setting this is mandatory for the EtherCAT init script!
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
#
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
#DEVICE_INDEX=99
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
#
1715
e675450f2174 MERGE trunk -r463:494 -> branches/stable-1.1 (Version 1.1)
Florian Pose <fp@igh-essen.com>
parents: 285
diff changeset
    16
#  Number of Ethernet-over-EtherCAT interfaces every master shall create
250
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#  on startup. Default is 0.
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
#
1715
e675450f2174 MERGE trunk -r463:494 -> branches/stable-1.1 (Version 1.1)
Florian Pose <fp@igh-essen.com>
parents: 285
diff changeset
    19
#EOE_INTERFACES=0
250
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
283
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    21
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    22
#  Bridge all EoE interfaces after master startup
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    23
#  This variable shall contain the name of the EoE bridge to set up.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    24
#  If the variable is empty or undefined, no EoE bridge will be built.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    25
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    26
#EOE_BRIDGE=eoebr0
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    27
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    28
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    29
#  IP address of the EoE bridge
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    30
#  Set both EOE_IP_ADDRESS and EOE_IP_NETMASK to let the local host communicate
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    31
#  with devices on the EoE bridge.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    32
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    33
#EOE_IP_ADDRESS=192.168.X.X
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    34
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    35
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    36
#  IP netmask of the EoE bridge
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    37
#  See EOE_IP_ADDRESS.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    38
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    39
#EOE_IP_NETMASK=255.255.255.0
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    40
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    41
#
285
d6145fc87a74 EoE bridge default gateway.
Florian Pose <fp@igh-essen.com>
parents: 283
diff changeset
    42
#  Renew default gateway after bridge installation.
d6145fc87a74 EoE bridge default gateway.
Florian Pose <fp@igh-essen.com>
parents: 283
diff changeset
    43
#  Set this to the new default gateway, if the default route shall
d6145fc87a74 EoE bridge default gateway.
Florian Pose <fp@igh-essen.com>
parents: 283
diff changeset
    44
#  be renewed after the bridge has been installed.
d6145fc87a74 EoE bridge default gateway.
Florian Pose <fp@igh-essen.com>
parents: 283
diff changeset
    45
#
d6145fc87a74 EoE bridge default gateway.
Florian Pose <fp@igh-essen.com>
parents: 283
diff changeset
    46
#EOE_GATEWAY=192.168.X.X
d6145fc87a74 EoE bridge default gateway.
Florian Pose <fp@igh-essen.com>
parents: 283
diff changeset
    47
d6145fc87a74 EoE bridge default gateway.
Florian Pose <fp@igh-essen.com>
parents: 283
diff changeset
    48
#
283
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    49
#  List of extra interfaces to include in the EoE bridge.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    50
#  Set this to interconnect the EoE bridge with other local interfaces.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    51
#  If EOE_BRIDGE is empty or undefined, setting this variable has no effect.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    52
#  Important: The IP address of these interfaces will be cleared. Set
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    53
#  EOE_IP_ADDRESS and EOE_IP_NETMASK accordingly to enable IP traffic to
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    54
#  extra interfaces.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    55
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    56
#EOE_EXTRA_INTERFACES=eth0
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    57
250
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    58
#------------------------------------------------------------------------------