Re: Persistent change to use layer2 in SLES 11 SP4

2019-03-01 Thread Mark Post
On 3/1/19 11:44 AM, Alan Altmark wrote:
> Help!   I have a dead network connection at a client and need to get it
> switched to layer2.   What file do I have to change?  I'd use yast, but I
> have no network connection with which to do so.  Just the virtual machine
> console.  I can see it trying to register layer 3 discipline, but this is
> (now) an ETHERNET mode VSWITCH.

>From the console:
qeth_configure 0.0. 0.0. 0.0.zzz 0
qeth_configure -l 0.0. 0.0. 0.0.zzz 1


Mark Post

--
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


Re: Persistent change to use layer2 in SLES 11 SP4

2019-03-01 Thread Robert J Brenneman
If the only thing you want to change is the layer2 mode setting you can do
this as root:

cd /sys/bus/ccwgroup/drivers/qeth/
echo 0 > online
echo 1 > layer2
echo 1 > online

and the interface ought to come online with the same IP address as before.
this will be temporary though and it will go back to L3 on reboot.
at this point you can SSH in and use yast to fix it permanently.

On Fri, Mar 1, 2019 at 11:49 AM Alan Altmark 
wrote:

> Help!   I have a dead network connection at a client and need to get it
> switched to layer2.   What file do I have to change?  I'd use yast, but I
> have no network connection with which to do so.  Just the virtual machine
> console.  I can see it trying to register layer 3 discipline, but this is
> (now) an ETHERNET mode VSWITCH.
>
> Thanks!
> Alan
> Alan Altmark
> Senior Managing z/VM and Linux Consultant
> IBM Systems Lab Services
> Phone: 607-429-3323 | Mobile: 607-321-7556
> E-mail: altma...@us.ibm.com
> Endicott, NY  USA
>
>
> --
> 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
>


--
Jay Brenneman

--
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


Re: Persistent change to use layer2 in SLES 11 SP4

2019-03-01 Thread Marcy Cortes
/etc/udev/rules.d/  file for the device

Here's what one looks like

ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT{program}="collect 
0.0.3000 %k 0.0.3000 0.0.3001 0.0.3002 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.3000", RUN+="/sbin/modprobe 
--quiet qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.3000", IMPORT{program}="collect 
0.0.3000 %k 0.0.3000 0.0.3001 0.0.3002 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.3001", RUN+="/sbin/modprobe 
--quiet qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.3001", IMPORT{program}="collect 
0.0.3000 %k 0.0.3000 0.0.3001 0.0.3002 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.3002", RUN+="/sbin/modprobe 
--quiet qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.3002", IMPORT{program}="collect 
0.0.3000 %k 0.0.3000 0.0.3001 0.0.3002 qeth"
TEST=="[ccwgroup/0.0.3000]", GOTO="qeth-0.0.3000_end"
ACTION=="add", SUBSYSTEM=="ccw", ENV{COLLECT_0.0.3000}=="0", 
ATTR{[drivers/ccwgroup:qeth]group}="0.0.3000,0.0.3001,0.0.3002"
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", 
ENV{COLLECT_0.0.3000}=="0", 
ATTR{[drivers/ccwgroup:qeth]group}="0.0.3000,0.0.3001,0.0.3002"
LABEL="qeth-0.0.3000_end"
# Enable Layer2 Support
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.3000", ATTR{layer2}="1"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.3000", ATTR{online}="1"





-Original Message-
From: Linux on 390 Port  On Behalf Of Alan Altmark
Sent: Friday, March 1, 2019 8:45 AM
To: LINUX-390@VM.MARIST.EDU
Subject: [LINUX-390] Persistent change to use layer2 in SLES 11 SP4

Help!   I have a dead network connection at a client and need to get it 
switched to layer2.   What file do I have to change?  I'd use yast, but I 
have no network connection with which to do so.  Just the virtual machine 
console.  I can see it trying to register layer 3 discipline, but this is 
(now) an ETHERNET mode VSWITCH.

Thanks!
Alan 
Alan Altmark
Senior Managing z/VM and Linux Consultant
IBM Systems Lab Services
Phone: 607-429-3323 | Mobile: 607-321-7556
E-mail: altma...@us.ibm.com   
Endicott, NY  USA


--
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 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


Persistent change to use layer2 in SLES 11 SP4

2019-03-01 Thread Alan Altmark
Help!   I have a dead network connection at a client and need to get it 
switched to layer2.   What file do I have to change?  I'd use yast, but I 
have no network connection with which to do so.  Just the virtual machine 
console.  I can see it trying to register layer 3 discipline, but this is 
(now) an ETHERNET mode VSWITCH.

Thanks!
Alan 
Alan Altmark
Senior Managing z/VM and Linux Consultant
IBM Systems Lab Services
Phone: 607-429-3323 | Mobile: 607-321-7556
E-mail: altma...@us.ibm.com   
Endicott, NY  USA


--
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