[HECnet] Raspberry PI SIMH-VAX distro?

Jordi Guillaumes i Pons jg at jordi.guillaumes.name
Fri Nov 23 01:37:42 PST 2012


El 23/11/2012, a les 2:55, Sampsa Laine <sampsa at mac.com> va escriure:

Anyone got one of these built? I've got a raspberry Pi collecting dust and figured I might as well turn it into something useful, like an emulated VAX.


I do. It is realy easy to do. If I recall it correctly you need to do (after setting up the raspbian distro):

$ sudo apt-get install git
$ git pull https://github.com/simh
$ cd simh
$ git checkout v3.9-0     # This is optional if you don't want to build the HEAD version
$ sudo apt-get install vde2
$ sudo apt-get install libvdeplug2
$ sudo apt-get install libvdeplug2-dev
$ sudo apt-get libpcap-dev
$ sudo apt-get bridge-utils

Then you can build the emulators you want to use. I recommend to build just what you need, since compilation takes a little bit in the rasp-pi:

$ make vax
$ make vax780
$ make pdp11
$ ...

I am pretty sure you don't need anything more. And if you don't want to use vde then you can omit those packages too. If you use vde then you will probably want to set up your network using a /etc/network/interfaces file similar to mine:

auto lo

iface lo inet loopback
#iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

auto tap0
        iface tap0 inet manual
        vde2-switch -t tap0 -n 16 -s /tmp/vde.ctl -M /tmp/vde.mgmt -m 666 --mgmtmode 666

auto br0
        iface br0 inet static
        address 192.168.0.8
        network 192.168.0.0
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.128
        bridge_ports eth0 tap0
        up sysctl net.ipv4.conf.br0.proxy_arp=1


(The wlan stuff is not really necessary, and of course you must modify the adresses acordingly to your own configuration)

With this setup I run 5 simulators in a single Pi, including a vax780 running VMS 4.7 working as my area router. Oh, I run Johnny's bridge in the Pi as well :)



Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES



More information about the Hecnet-list mailing list