Hi all,

"portno=" in sysconfig OPTIONS ?
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ap-s390info-Adding_a_Network_Device.html
Example of /etc/sysconfig/network-scripts/ifcfg-eth0
...
OPTIONS='layer2=1 portno=0'
...

________________________________________
De : Linux on 390 Port [LINUX-390@VM.MARIST.EDU] de la part de Marcy Cortes 
[marcy.d.cor...@wellsfargo.com]
Date d'envoi : mardi 8 septembre 2015 17:03
À : LINUX-390@VM.MARIST.EDU
Objet : Re: Using OSA port 1 in LPAR

qeth_configure

Or use Yast2 in SUSE.   Can't speak to RH.

Usage: /sbin/qeth_configure [options] <read chan> <write chan> <data chan> 
<online>
        -i Configure IP takeover
        -l Configure Layer2 support
        -f force creation of udev rules, do not check values in /sys
        -t Valid cardtypes are: qeth, hsi, osn
        -o General QETH options, separated by spaces
        -n QETH port number to use, 0 or 1. Only needed for real, not virtual 
devices.
        -p QETH Portname to use. Only needed if sharing a real OSA with z/OS.
        read/write/data chan = x.y.ssss where
                                  x is always 0 until IBM creates something 
that uses that number
                                  y is the logical channel subsystem (lcss) 
number. Most often this is 0, but it could be non-zero
                                  ssss is the four digit subchannel address of 
the device, in hexidecimal, with leading zeros.
        online = 0 to take the device offline
                 1 to bring the device online




-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan 
Altmark
Sent: Tuesday, September 08, 2015 7:51 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] Using OSA port 1 in LPAR

On Saturday, 09/05/2015 at 07:23 EDT, Ronald van der Laan <nl50...@gmail.com> 
wrote:
> Just configure a second eth device on another triplet on the same chpid.
> Then in the udev rule, you find the portno parameter.
>
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.nnnn",
ATTR{portno}="1"

Isn't there a sysconfig or whatever configuration option to do that?  IMO, 
humans shouldn't be updating the udev rules file.

Alan Altmark

Senior Managing z/VM and Linux Consultant Lab Services System z Delivery 
Practice IBM Systems & Technology Group ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to