Headless system or serial console
cpghost at cordula.ws
cpghost at cordula.ws
Fri Feb 18 01:54:35 GMT 2005
On Thu, Feb 17, 2005 at 11:57:27PM +0100, Joachim Dagerot wrote:
> 1. Is there a way to get a serial console after the installation is done? How? (Link?)
All you need to do is to enable a getty on a serial port, e.g.
by editing /etc/ttys:
console none unknown off secure
ttyd0 "/usr/libexec/getty std.9600" dialup on secure
If you don't plan to attach a monitor (or don't have a VGA circuitery
at all on the box), you can also turn 'off' the virtual terminals
ttyv? in /etc/ttys
You can also add this to /etc/syslog.conf:
# uncomment this to log all writes to /dev/console to /var/log/console.log
console.info /var/log/console.log
And double check the entry for /var/log/console.log in /etc/newsyslog.conf:
/var/log/console.log 600 5 100 * J
After rebooting, you can connect to the serial port with 9600 8N1.
You may want to use a crossed serial cable (null-modem cable) for this.
Regards,
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
More information about the freebsd-questions
mailing list