Installation guide

OSA cards can provide up to 16 ports for a single CHPID. By default, the LCS group device uses
port 0. To use a different port, issue a command similar to the following:
# echo portno > /sys/bus/ccwgroup/drivers/lcs/device_bus_id/portno
For more information about configuration of the LCS driver, refer to the following:
http://www-05.ibm.com/e-business/linkweb/publications/servlet/pbi.wss?
CTY=US&FNC=SRX&PBL=SC33-8289-02 (Linux for IBM System z and S/390 Device Drivers,
Features, and Commands)
Set the device online:
# echo 1 > /sys/bus/ccwgroup/drivers/lcs/read_device_bus_id/online
Define the alias.
Based on the type interface being added, add a line to /etc/modprobe.conf that is similar to
one of the following:
ethn alias lcs
trn alias lcs
Create a configuration script.
Create a file in /etc/sysconfig/network-scripts/ with a name like one of the following:
ifcfg-ethn
ifcfg-trn
The file should look similar to the following:
/etc/sysconfig/network-scripts/ifcfg-eth0
# IBM LCS
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:06:29:FB:5F:F1
IPADDR=9.12.20.136
NETMASK=255.255.255.0
ONBOOT=yes
NETTYPE=lcs
SUBCHANNELS=0.0.09a0,0.0.09a1
PORTNAME=0
TYPE=Ethernet
Based on the type interface being added, the DEVICE parameter should be one of the following:
DEVICE=ethn
DEVICE=trn
Activate the device.
Based on the type interface being added, issue an ifup command:
# ifup ethn
# ifup trn
22 .6 .2.2. Wo rking Wit h t he QET H De vice Drive r
Chapt er 2 2 . Addit ional Informat ion for IBM Syst em z Users
239