script/sysconfig
author Florian Pose <fp@igh-essen.com>
Mon, 26 Jun 2006 14:36:11 +0000
changeset 283 a480a0703c58
parent 251 c1d0b63a9302
child 285 d6145fc87a74
permissions -rw-r--r--
Configuring EoE bridge at startup.
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
#
251
c1d0b63a9302 EoE in Free-Run mode; Finished slave configuration state machine.
Florian Pose <fp@igh-essen.com>
parents: 250
diff changeset
    16
#  Number of Ethernet-over-EtherCAT devices 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
#
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
#EOE_DEVICES=0
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
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    42
#  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
    43
#  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
    44
#  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
    45
#  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
    46
#  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
    47
#  extra interfaces.
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    48
#
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    49
#EOE_EXTRA_INTERFACES=eth0
a480a0703c58 Configuring EoE bridge at startup.
Florian Pose <fp@igh-essen.com>
parents: 251
diff changeset
    50
250
440ae5f6d2c3 Created scripts directory and improved install and init scripts.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    51
#------------------------------------------------------------------------------