So Cisco's AnyConnect prevents access to virtual local networks, too, great!
Turns out, you can do more with a serial port in VMware Fusion than logging it's output. Like, use it as a proper serial console so you can log in when something is messing with your network stack.
This primarily shows @kuenishi's directions still work on macOS 10.14 Mojave with VMware Fusion 11.x Pro.
-
Create VM, add serial port, make sure VM is shut down, edit
.vmx
file's `serial0' lines to look like this:mbp:~ me$ grep -i serial Virtual\ Machines.localized/fbsd.vmwarevm/fbsd.vmx serial0.fileType = "pipe" serial0.fileName = "/Users/me/Virtual Machines.localized/fbsd.serial" serial0.present = "TRUE" mbp:~ me$
-
Boot your FreeBSD, enable login on the (1st) serial line.
-
To create a pty connected to the socket
serial0.fileName
and send socat to the background:socat unix-connect:/Users/me/Virtual\ Machines.localized/fbsd.serial pty,link=/tmp/fbsd.pty &
-
Now start screen to connect to the pty device:
screen /tmp/fbsd.pty
Done.
I had some troubles with re-connecting to the console but those
might've been stray socat
processes still having a lock on
the /tmp/*.pty
.