From 8f2138b6ccbc4a0fcc61c19015d9b5e8f0fb0c77 Mon Sep 17 00:00:00 2001 From: Luiz Otavio O Souza Date: Thu, 26 May 2016 15:31:25 -0500 Subject: [PATCH] Change serial console to '3wire' and vt100. Fixes the console on ARM. --- src/etc/inc/pfsense-utils.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index 066d9d7432..fe7a357e22 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -974,14 +974,14 @@ function setup_serial_port($when = "save", $path = "") { $serial_type = 'std.' . $serialspeed; } else { $console_type = 'al.Pc'; - $serial_type = 'al.' . $serialspeed; + $serial_type = '3wire'; } foreach ($ttys_split as $tty) { if (stristr($tty, "ttyv0")) { fwrite($fd, "ttyv0 \"/usr/libexec/getty {$console_type}\" cons25 on secure\n"); } else if (stristr($tty, "ttyu")) { $ttyn = substr($tty, 0, 5); - fwrite($fd, "{$ttyn} \"/usr/libexec/getty {$serial_type}\" cons25 {$on_off} secure\n"); + fwrite($fd, "{$ttyn} \"/usr/libexec/getty {$serial_type}\" vt100 {$on_off} secure\n"); } else { fwrite($fd, $tty . "\n"); }