In answer to how to set up your FreeBSD machine, there are two main cases for getting serial. If you are installing FreeBSD with serial only, the bootloader serial instructions will be needed. If you already have a console and are just wanting to have serial access as well, then follow the post-install serial instructions.
2 at FreeBSD boot option screen to escape to loader prompt
- if you loose interactivity at this point, check to see if the virtual tty baud rate is 9600
This should allow for the rest of the installation to be done over the serial interface. If you want to continue having serial access after FreeBSD is installed, then before you reboot at the end of the installation you will want to drop to the command prompt.
At the console:
echo 'console="comconsole"' >> /boot/loader.conf
/etc/ttys in vi
- Modify the line starting with ttyu0 (might be ttyd0 on other versions of FreeBSD)
- On that line change
- after the reboot, the serial terminal should show the boot process, and end with a login prompt
- Note: setting
/boot/loader.conf could make the boot messages appear on the serial interface only. Just modify
/etc/ttys if you don't want the boot log over serial.