Use the chzdev or znetconf
command to configure network devices. Alternatively, you can use sysfs.
Before you begin
You must know the device bus-IDs that correspond
to the read, write, and data subchannel of your OSA-Express CHPID in QDIO mode or HiperSockets CHPID as defined in
the IOCDS of your mainframe.
Procedure
To create a qeth group device, either:
Issue the chzdev or znetconf command to create and configure a group device. The
command groups the correct bus-IDs for you and sets the device online.
For example, to configure and enable a group device for the active
configuration with the chzdev command,
issue:
chzdev -e -a qeth <read_device_bus_id>:<write_device_bus_id>:<data_device_bus_id>
Write the device numbers of the subchannel triplet to the
sysfs group attribute to only define
a group device.
This directory contains a number of attributes that determine the settings of the qeth group device.
The following sections describe how to use these attributes to configure a qeth group device.
Example
In this example (see Figure 1), a single OSA-Express CHPID in QDIO mode is used to connect a Linux® instance to a network.