unsubscribe
roger.ship...@daimler.com If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support. -- 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/
Re: Hipersocket
Look at this manual..don't worry about the title..It has a great write up and directions on HIPER. We just went from SLES9 th 10 and I use the instructions: http://www.redbooks.ibm.com/redpieces/pdfs/sg246847.pdf example: echo 0.0.b500,0.0.b501,0.0.b502 > /sys/bus/ccwgroup/drivers/qeth/group echo 1 > /sys/devices/qeth/0.0.b500/online . cat /sys/devices/qeth/0.0.b500/if_name . response should be hsi0 ifconfig hsi0 xx.xxx.xxx.xxx netmask 255.255.255.0 mtu 32768 up mpac...@gmail.com Sent by: LINUX-390@VM.MARIST.EDU 03/31/2009 12:42 PM Please respond to LINUX-390@VM.MARIST.EDU To LINUX-390@VM.MARIST.EDU cc Subject Re: Hipersocket Not having any luck with Hipersockets in SLES10, working great in SLES9 Does this look correct for a Hipersocket device in SLES10? sles002:/etc/sysconfig/hardware # cat hwcfg-qeth-bus-ccw-0.0.0704 CCW_CHAN_IDS='' CCW_CHAN_MODE='' CCW_CHAN_NUM='3' LCS_LANCMD_TIMEOUT='' MODULE='' MODULE_OPTIONS='' QETH_IPA_TAKEOVER='0' QETH_LAYER2_SUPPORT='0' QETH_OPTIONS='' SCRIPTDOWN='hwdown-ccw' SCRIPTUP='hwup-ccw' SCRIPTUP_ccw='hwup-ccw' SCRIPTUP_ccwgroup='hwup-qeth' STARTMODE='auto' I'm getting these messages at startup. Waiting for mandatory devices: qeth-bus-ccw-0.0.0704 qeth-bus-ccw-0.0.0705 qeth-bus-ccw-0.0.0706 __NSC__ 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 qeth-bus-ccw-0.0.0704 No interface found [1A..failedqeth-bus-ccw-0.0.0705 No interface found [1A..failedqeth-bus-ccw-0.0.0706 No interface found [1A..failedSetting up service network . . . . . . . . . . . . . . . ...failed And I've verified that the devices are connected to the guest. 2009/3/31 John Schnitzler Jr > > >Are Hipersocket devices supposed to show up in Yast as 3 different > devices, > >where an OSA adapter shows up as 1?SLES10 SP2 > > >IBM OSA Express Network card (0.0.1d00)│ > >IBM Hipersocket (0.0.0704) │Not configured > > │ > >IBM Hipersocket (0.0.0705) │Not configured > > │ > >IBM Hipersocket (0.0.0706) │Not configured > > > Mark, Yes, until they are configured, the OSA is the same way. > > John, -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- 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 If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
Re: SFTP Authentication Question
you need to place the Z/OS public_rsa key into the authorized key file on the Linux guest and make sure that the SSHD is configured to allow authorization via public key. I don't believe you can provide password in a batch job, but you could try it interactive and see if that is the problem mary_elw...@navyfederal.org Sent by: LINUX-390@VM.MARIST.EDU 12/23/2008 12:32 PM Please respond to LINUX-390@VM.MARIST.EDU To LINUX-390@VM.MARIST.EDU cc Subject SFTP Authentication Question I'm trying to change over from FTP to SFTP on Linux. I've created a userid sftpzos on the linux guest. I've created a .ssh/authorized_key file in his home directory and populated it with the public key from z/OS. On z/OS I executed the ssh-keyscan and have placed the output in the /etc/ssh/ssh_known_hosts file. I do not run SSHD on z/OS. Only the linux guest runs SSHD. I then submit a batch SFTP on z/OS to log in to the linux guest with userid sftpzos. Below is some of the job output debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts debug3: check_host_in_hostfile: match line 49 debug1: Host '172.29.251.106' is known and matches the RSA host key. debug1: Found key in /etc/ssh/ssh_known_hosts:49 debug2: bits set: 506/1024 debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /u/oss08/sftp/id_dsa (1ce1e050) debug2: key: /u/oss08/sftp/id_rsa (1ce1e1e0) debug1: Authentications that can continue: publickey,keyboard-interactive debug3: start over, passed a different list publickey,keyboard-interactive debug3: preferred publickey debug3: authmethod_lookup publickey debug3: remaining preferred: debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /u/oss08/sftp/id_dsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Offering public key: /u/oss08/sftp/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,keyboard-interactive debug2: we did not send a packet, disable method debug1: No more authentication methods to try. FOTS1373 Permission denied (publickey,keyboard-interactive). FOTS0841 Connection closed In /var/log/messages I see this Dec 23 14:53:42 OSA-LNX5 sshd[25330]: debug3: fd 4 is not O_NONBLOCK Dec 23 14:53:42 OSA-LNX5 sshd[25330]: debug1: Forked child 19717. Dec 23 14:53:42 OSA-LNX5 sshd[25330]: debug3: send_rexec_state: entering fd = 7 config len 557 Dec 23 14:53:42 OSA-LNX5 sshd[25330]: debug3: ssh_msg_send: type 0 Dec 23 14:53:42 OSA-LNX5 sshd[25330]: debug3: send_rexec_state: done Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug1: rexec start in 4 out 4 newsock 4 pipe 6 sock 7 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug1: inetd sockets after dupping: 3, 3 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: Connection from 172.29.249.10 port 2103 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug1: Client protocol version 2.0; client software version OpenSSH_3.8.1p1 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug1: match: OpenSSH_3.8.1p1 pat OpenSSH_3.* Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug1: Enabling compatibility mode for protocol 2.0 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug1: Local version string SSH-2.0-OpenSSH_4.1 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug2: fd 3 setting O_NONBLOCK Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug2: Network child is on pid 19718 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: preauth child monitor started Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_request_receive entering Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: monitor_read: checking request 0 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_answer_moduli: got parameters: 1024 1024 8192 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_request_send entering: type 1 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug2: monitor_read: 0 used once, disabling now Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_request_receive entering Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: monitor_read: checking request 4 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_answer_sign Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_answer_sign: signature 0x80070b80(143) Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_request_send entering: type 5 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug2: monitor_read: 4 used once, disabling now Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_request_receive entering Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: monitor_read: checking request 6 Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3: mm_answer_pwnamallow Dec 23 14:53:42 OSA-LNX5 sshd[19717]: debug3:
Re: Missing OSA/2 Interfaces
Had this problem before and this is what I did to get the interface to work: Our address was 600..so replace it with your 0.0.0510 insert your address in youraddress Log on to linux thru vm console Cd to /sys/bus/ccwgroup/devices/0.0.0600 Echo 1 > online Then do ifconfig eth0 youraddress netmask 255.255.255.0 mtu 1500 up Route add default gw youraddressgw -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of David Stuart Sent: Thursday, August 30, 2007 10:28 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Missing OSA/2 Interfaces Hi Mark, I issued a "modprobe qeth" again, and the output was identical to what I sent you previously. "ifconfig -a" output was also identical to what I sent previously. Needless to say, the "rcnetwork start" didn't accomplish much. As for initrd not having the logic to load dqio and qeth, I think it does. I did a "shutdown -r" and watched the reboot very carefully again. The following sequence comes up on the HMC Integrated Console: Setting up network interfaces lo loIP address 127.0.0.1/8 [1A done. lo waiting for mandatory devices lcs-bus-ccw-0.0.0510 lcs-bus-ccw-0.0.0512 __NSC__ 2 0 lcs-bus-ccw-0.0.0510 No interface found lcs-bus-ccw-0.0.0512 No interface found Setting up service network....failed. And then the Samba startup, CUPS startup, Apache startup, etc., all fail. 0.0.0510 and 0.0.0512 are the proper device numbers for the OSA ports. And the OSA card and ports are shared with 4 other LPARs, and they're working just fine, so I am pretty sure it's not an OSA problem. And I don't understand how moving /usr could cause this, unless I deleted something somewhere that I wasn't supposed to. I am completely stumped, which is not all that hard, given what I know about Linux. The only thing I can think of next would be a POR of the 9672, which I can't do until September sometime, or a re-install of SLES 9 SP3, or both. Any/all ideas appreciated. Dave Dave Stuart Prin. Info. Systems Support Analyst County of Ventura, CA 805-662-6731 [EMAIL PROTECTED] >>> "Mark Post" <[EMAIL PROTECTED]> 8/30/2007 8:10 AM >>> Dave, sorry it took me so long to get back to you about this. The lsmod command showed that the qdio and qeth modules were not loaded. The modprobe you did looked pretty successful. If you did an "ifconfig -a" after that, eth0 might have shown up, in which case an "rcnetwork start" command should bring things up the rest of the way. I have no idea why your initrd doesn't have the logic in it to load the qdio and qeth modules at boot time. But, once your system is back up and running, you should re-run mkinitrd, and re-run zipl. Then, reboot to make sure things come up the way you expect. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Hipersockets vs qdio
Any one want to advise on the following? I have Z/VM running with three Linux guests (sles9) sharing an OSA card in qdio mode. I also have hypersockets working within the zvm and one linux and two Z/OS 1.6 lpars. I need to add several more linux guest, but I do not want to keep sharing the osa card. I have been reading about the network setup using virtual lans, virtual switches, and just defining a hipersockets nic. I believe using hipersockets will give me better performance. Any one know differently? Would I be better off just defineing the nic with hiper and forget about all the virtual lan stuff? I read that you can do this, but it did not say how. If so How do I do this...be specific ...I'm new at all of this, Linux and VM. I know I can do these commands when logon as maint on vm, but where do I place them to be permanent. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390