IBM s/390 manual Etc/xinetd.d # vi telnet, # ps -ef grep xinetd

Page 23

After the installation outlined above, you should be able to log into the system and ping another host on your subnet.10 If the gateway IP system you specified is functional, you may be able to access remote hosts. You will note, however, that other systems cannot telnet to your ThinkPad Linux.11 If you want to permit telnet or ftp into your machine, you need to do the following:

#

/sbin/chkconfig

telnet on

(to

permit

incoming telnet)

#

/sbin/chkconfig

wu-ftpd on

(to

run an

ftp server)

If this does not work for some reason, you can edit the relevant files as follows:

#

cd

/etc/xinetd.d

 

# vi telnet

(you can use another editor, if you like)

 

change “Disable = Yes”

 

 

to “Disable = No”

 

 

(save and exit from your editor)

 

Stop and restart your Linux system, OR force xinetd to restart:

#ps -ef grep xinetd

(find the line for xinetd and read the PID number)

# kill -s USR1 pidnumber

(the PID number for xinetd)

Similar editing of the wu-ftpd file in the same directory will enable the ftp server.

10You may have problems if you ping systems on other subnets. The remote system must have a defined route back to you in order for the ping to work. Testing with another system on your local subnet avoids routing problems.

11This is not required for FLEX-ES operation.

Chapter 2. System and Linux installation

13

Image 23
Contents Bill Ogden ThinkPad Enabled for S/390Page International Technical Support Organization First Edition October Contents Shutting down Index Vi S/390 PID ThinkPad Enabled for S/390 Author Special noticeComments welcome IBM trademarksIntroduction ThinkPad/EFS systems Purpose of this redbookFLEX-ES Positioning with other small S/390s LinuxThinkPad/EFS hardware used Terminology Disk planning System and Linux installationDifferences Mount Point Device Requested Actual Type Purpose Linux installationThinkPad Partition Manually Partition12.17.150 Device Partition Type Default Boot12.17.210 255.255.255.0Gnome # df -h Installation notesMonitor Setup IBM 9513 T55A TFT No clock chip 24 bit Select Start X automatically# kill -s USR1 pidnumber PID number for xinetd Etc/xinetd.d # vi telnet# ps -ef grep xinetd 14 S/390 PID ThinkPad Enabled for S/390 FLEX-ES and OS/390 installation Brief introduction FLEX-ESPC Processor in ThinkPad Page Installation Installing the FLEX-ES license key # mkdir /s391 OS/390 AD systemsNext steps AD systemsBasic CD-ROM formats 2 OS/390 on CD-ROMFLEX-ES formats 3 OS/390 device configurationMount /dev/cdrom /mnt/cdrom Installation tasksUnzipping and installing Awsckd CD-ROM files An unzip programFile ownership Minor problemsFiles unzip in wrong order Volume in two separate zip filesFLEX-ES Operation Comments FLEX-ES system and resource definitions$ resadm -r Building a shell script$ cd /usr/flexes/rundir # resadm -s R10A.rescf$ sh shos Flexes ipl a80 0a82cs =stor IPL OS/390Terminal Solicitor A80,8 Operation and useUser terminal connection 11.42.47Rmf Linux TN3270Iodf requirements System performance monitors5 TCP/IP for OS/390 # exit Shutting down# resadm -T # resadm -k36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Server memory Operating Systems Messages consoleSecurity Vmstat command CPU Importance of Linux swapping# cat /proc/partitions Using a second Linux hard diskUltrabay Second disk planning Device Volser Addr Use Disk layout AD systemPartition Mount Size Use Alternative method FLEX-ES FakeTape on OS/390222222 560Multi-system setup Function Keys Used X3270 client$ x3270 -model 3 -keymap pc -port tn3270 localhost $ x3270 -model 3 -keymap pc -port tn3270 localhostt91f# vi # cd /usr/lib/X11/app-defaults # cp X3270 X3270oldRemote resources System B Disk cachesWrites Cache Hits FSI Channel Adapters Tuning cachesizeDisk fragmentation Backup and restore considerationsScsi adapter for the ThinkPad $ tar -cvzf /holding/OS39RA.tarz /s390/OS39RA Using tar to back up S/390 volumes$ cd /usr/flexes/rundir $ sh buOS39RAc Using tar and ftpCD-RW drive 16 S/390 identificationRAS discussion Display PSW and registersLinux windows Verify ckd diskThinkPad power control Installing FLEX-ES upgradesCommon commands Useful Linux commandsText editors Multiple consoles, sessions, screens62 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 64 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 66 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 68 S/390 PID ThinkPad Enabled for S/390 Basic definitions for a single HDD Appendix A. FLEX-ES definition listingsShell script for a single HDD Definitions for two HDDs Shell script for two HDDs System definitions Appendix B. FLEX-ES parametersCpu0 Cpu1 Cpu2 Emulated control unit types Resource definitionsTypical resource definitions Emulated device typesCKD disk resources Terminal resources LAN resources Tape resourcesCloned devices Common rules Resadm commandCLI commands 560 Home/tape3 Flexes mount A90 S390/WORK01710 Altcons 84 S/390 PID ThinkPad Enabled for S/390 Special notices 86 S/390 PID ThinkPad Enabled for S/390 Other resources How to get IBM RedbooksIBM Redbooks Referenced Web sitesIBM Redbooks collections Index Pipe Port Power control Terminal logo Terminal Solicitor 16, 18, 31, 39, 65 92 S/390 PID ThinkPad Enabled for S/390 Partners in Development ThinkPad Enabled for S/390 Page Page System setup AD CD-ROM use System operation ThinkPad Enabled for S/390