Nono is an excellent Omron Luna emulator that emulates m88k and m68k processors. I had to make a few minor adjustments to get it to run on Ubuntu 22 so I share those tips here.
Before we begin only ethernet worked for me for bridging and not wifi. Since there are no debian packages(that I know of) so I built as follows:
- sudo apt install bmake build-essential gettext libbsd-dev libkqueue-dev libwxgtk3.0-gtk3-dev zlib1g-dev
- note the above list differs slightly from the list mentioned in the documentation.
- download and untar nono
- ./configure
- bmake -DNOTESTS depend
- bmake -DNOTESTS
- sudo bmake install
Now create a new directory and copy a live image. Then add the following config files
nono.cfg
vmtype=luna88k
spc0-id6-image=hd,liveimage-luna88k-raw-20220423.img
hostnet-driver=tap
fast-mode=1
nono-ifup
#!/usr/bin/sh
ip link set $1 up
ip link set $1 master br0
nono-ifdown
#!/usr/bin/sh
ip link set $1 down
ip link set dev $1 nonmaster
Set both above files to be executable with chmod +x nono-if*
Because Ubuntu 22 uses network-manager I used nmcli to first stop my normal network setup then, create the bridge, then add my ethernet interface to the bridge.
sudo nmcli con down "Wired connection 1"
sudo nmcli con add type bridge ifname br0
nmcli con add type bridge-slave ifname enx3c18a050bf3a master bridge-br0
nmcli con sho
was useful for seeing the status of the interfaces. nmcli -f GENERAL.DEVICE,GENERAL.TYPE,BRIDGE.SLAVES device show br0
to show the bride slaves, which should include your host ethernet and tap0. tap0 gets created when nono starts.
Now finally we can start nono. In my case I used sudo nono
in the directory with the config and disk image.