I would like to get working with IBM System/360 on the Hercules emulator.

I use a mac.
With macports I have installed Hercules and c3270.
Through this site: [Running the IBM OS/360 MVT operating system on Hercules](https://www.youtube.com/watch?v=ZtK_p06br9k) ,I followed the instructions and have downloaded [the Hercules-ready MVT 21.8 images](https://app.box.com/s/m7qe4133q93cc3pfa14wvbjrm5nokat1).

Than I did the following instructed in the `00README.txt` file:

```
Startup:
--------

1.   From the asp directory, start Hercules:

      hercules -f conf/asp.conf

2.   Using a 3270 emulator, start a telnet session to port 3270 for
     device 010.  This is the OS master console.  It must be defined
     and connected at IPL, or the IPL will hang.

```

The first instruction gives me no trouble.

Concerning the second instruction, I found at this site the workings of the 3270 terminal: [Telnet/tn3270 Console How-To for Hercules Version 4](https://fish-git.github.io/html/telnet.html#x3270) ,

*Start an x3270 session and connect to Hercules with the following*

**Linux:**`x3270 -port nnnn -model 32xx-x hostname`

I assume this works the same for the console version c3270 I installed, thus:

`c3270 -port nnnn -model 32xx-x hostname`

**-port nnnn** I replaced with -port 3270

**-model 32xx-x** with 3279-2 (this seems not so important ?, just about terminal screen size)

**hostname** with 010 (since in the second instruction in the `00README.txt` file it says `device 010`.)

Thus the whole command is: `$ c3270 -port 3270 -model 3279-2 010`

This gives an error:

```
OSX@1:~ $ c3270 -port 3270 -model 3279-2 010
c3270 v3.3.15ga9 Sat Sep  2 12:15:29 UTC 2017

Copyright 1989-2014 by Paul Mattes, GTRC and others.
Type 'show copyright' for full copyright information.
Type 'help' for help information.

Trying 0.0.0.8, port 3270...
Connect to 010, port 3270: No route to host

[Press <Enter>]
OSX@2:~ $

```

What is going wrong here ?

And what is the meaning of ?:

```
This is the OS master console.  It must be defined
     and connected at IPL, or the IPL will hang.

```

**Edit 1.** (2 feb. 2018 / 21:29)
In respect to @wizzwizz4, I tried `017700000001` instead of `010` , as device number, with the following result:

```
$ c3270 -port 3270 -model 3279-2 017700000001
...
Trying 127.0.0.1, port 3270...
Connect to 017700000001, port 3270: Connection refused

```

**Edit 2.** (3 feb. 2018 / 12:10) **Solved for another setting**

I tried a different setting.
On mac os x I have installed [Vagrant](https://www.vagrantup.com/) ,and a vagrantbox for linux 14.04lts. I downloaded from [The MVS 3.8j Tur(n)key 4- System](http://wotho.ethz.ch/tk4-/) the zip-file [tk4-\_v1.00\_current.zip](http://wotho.ethz.ch/tk4-/tk4-_v1.00_current.zip). And I installed with `sudo apt install c3270` the telnet terminal emulator in the linux vagrantbox.

In the linux vagrantbox I extracted the zipfile to the folder `tk4`.

Then I did:

```
vagrant@ubuntu:~$ cd tk4
vagrant@ubuntu:~/tk4$ ./mvs

```

Which starts up MVS.

Then in another tab of the same terminal

```
vagrant@ubuntu:~$ c3270 localhost:3270

```

That gives the login screen.

Then I could fill in username and password.
Obviously this is not solving how to use any version of IBM System/360 etc. directly on mac os x. The TK4 version didn't seem to work on os x and is probably preconfigured for Linux and not os x.
However I am glad it does work the other way.

I found this video [Mainframe operating system MVS 3.8 turnkey TK4 how to install and operate](https://www.youtube.com/watch?v=UOL0HtlXVKM) helpfull. As well as [MVS\_TK4-\_v1.00\_Users\_Manual.pdf](http://wotho.ethz.ch/tk4-/MVS_TK4-_v1.00_Users_Manual.pdf), with information on username (for instance "HERC01") and password (for instance "CUL8TR"(belonging to HERC01)).