Mercurial > docs > s390-linux
changeset 4:0f8e7242bfd5
Conclusion & final note
author | Josef "Jeff" Sipek <jeffpc@josefsipek.net> |
---|---|
date | Wed, 12 Sep 2007 23:40:36 -0400 |
parents | 33ddc0880634 |
children | 09f7bdc1d04c |
files | body.html |
diffstat | 1 files changed, 43 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/body.html Wed Sep 12 23:40:17 2007 -0400 +++ b/body.html Wed Sep 12 23:40:36 2007 -0400 @@ -434,9 +434,51 @@ <p> Following is a series of questions about creating a new user (non-root) -account, create yourself an account. +account, create yourself an account. Once you finish answering the, the +installer will spend quite some time installing all the packages. At the +end, you will be asked if you want to reboot your computer. Say that you do. +When the system stops, in the Hercules console, enter <pre>ipl 120</pre>. +Now, wait a bit, and after not too long, try to ssh into +<strong>username@10.1.1.2</strong> (where username is what you entered +during the non-root user account creation). You should get a shell. It is +Linux. It is a mainframe. It is <strong>yours</strong>. Have fun! :) +</p> + +<p> +Once you've had enough fun for the day, just shutdown the Linux system +(halt, shutdown, whatever way you prefer), and then run <pre>quit</pre> in +the Hercules window. </p> +<p> +If you decide to play with a system you already installed, start Hercules: + +<pre># hercules -f s390.cnf</pre> + +Set up iptables: + +<pre> +# iptables -t nat -A POSTROUTING -o eth0 -s 10.1.1.0/24 -j MASQUERADE +# iptables -A FORWARD -s 10.1.1.0/24 -j ACCEPT +# iptables -A FORWARD -d 10.1.1.0/24 -j ACCEPT +# echo 1 > /proc/sys/net/ipv4/ip_forward +# echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp +</pre> + +and IPL from device 120 (the system DASD): + +<pre>ipl 120</pre> + +When Linux starts up, you should be able to SSH in without any problems. +</p> + +<h2>Final Note</h2> +I hope this HOWTO helped you get started with a mainframe of your own. I +tried to be as acurate and specific with the details where I tought it was +necessary - the s/390 specific parts. If you have any suggestions, or +comments (content, spelling, etc.) feel free to contact me via email: +<a href="mailto:jeffpc@josefsipek.net">jeffpc@josefsipek.net</a>. + <hr> <h2>Full history</h2> <pre>