-
Notifications
You must be signed in to change notification settings - Fork 6
Configure gxemul and run OpenBSD luna88k on FreeBSD
Kai Nacke edited this page Dec 27, 2023
·
1 revision
gxemul runs best on the *BSD operating systems. I use FreeBSD 14. My configuration uses the tap device on the FreeBSD side.
- Install package gxemul:
pkg install gxemul
- Add the following lines to
/etc/rc.conf
:
cloned_interfaces="bridge0 tap0"
autobridge_interfaces="bridge0"
autobridge_bridge0="tap0 em0"
ifconfig_bridge0="DHCP"
- Add the following line to
/etc/sysctl.conf
net.link.tap.up_on_open=1
- Download the following files from the live image provided by Kenji Aoyama:
- boot
- liveimage-luna88k-raw-20231016.img.gz (or the file with newer time stamp)
- Create a config file
lunam88k.cfg
with the following content:
net(
tapdev("/dev/tap0")
)
machine(
type("luna88k")
subtype("luna-88k")
disk("liveimage-luna88k-raw-20231016.img")
load("boot")
)
- You can then start OpenBSD with the command:
gxemul @ lunam88k.cfg
- Login to OpenBSD
- Enable sshd by comment out the line
sshd_flags=NO
in filerc.conf.local
- Configure network by changing the content of file
/etc/hostname.le0
toinet autoconf
- Enable sshd by comment out the line
You are now able to boot OpenBSD/lunam88k and ssh into it.