[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pfsense-discussion
Subject:    Re: [pfSense] 2.2.1 "serial console" menu different on some boxes
From:       Chris Buechler <cmb () pfsense ! com>
Date:       2015-03-24 18:09:48
Message-ID: CAOMqvJAu6YT5SPUKrXUkq8Ub5ZefyYiOY6i9wWrYEeHFOi5saQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Mar 24, 2015 at 8:27 AM, Vick Khera <vivek@khera.org> wrote:

> On two of my firewalls upgraded to 2.2.1, I see three options in
> Advanced->Admin Access menu serial communications menu:
>
> Serial Terminal *Enables the first serial port with 115200/8/N/1 by
> default, or another speed selectable below.* Note: This will redirect the
> console output and messages to the serial port. You can still access the
> console menu from the internal video card/keyboard. A *null modem* serial
> cable or adapter is required to use the serial console.Serial Speed
> 115200  57600  38400  19200  14400  9600   bps
> Allows selection of different speeds for the serial console port. Primary
> Console  Serial Console  VGA Console
> Select the preferred console if multiple consoles are present. The
> preferred console will show pfSense boot script output. All consoles
> display OS boot messages, console messages, and the console menu.
>
> but on others I see:
>
> Serial Speed  115200  57600  38400  19200  14400  9600   bps
> Allows selection of different speeds for the serial console port. Primary
> Console  Serial Console  VGA Console
> Select the preferred console if multiple consoles are present. The
> preferred console will show pfSense boot script output. All consoles
> display OS boot messages, console messages, and the console menu.
>
>
> The latter is running the netgate firmware, being a netgate box.  This box
> configuration for /etc/ttys and loader.conf does seem to be as if the
> checkbox is turned on.
>
> Is this intentional?
>

Yes. The systems we ship pre-installed which run from a serial console have
$g['enableserial_force'] = true, which makes that checkbox not appear so
you can't disable the serial console on systems that only have a serial
console.

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar \
24, 2015 at 8:27 AM, Vick Khera <span dir="ltr">&lt;<a href="mailto:vivek@khera.org" \
target="_blank">vivek@khera.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr">On two of my firewalls upgraded to 2.2.1, I see three options in \
Advanced-&gt;Admin Access menu serial communications menu:<div><br></div><div><table \
width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area" \
style="color:rgb(0,0,0);font-family:Tahoma,sans-serif;font-size:10.8333330154419px;line-height:12px;background-color:rgb(221,221,221)"><tbody><tr><td \
width="22%" valign="top" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;padding-right:20px;padding-left:8 \
px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)">Serial \
Terminal</td><td width="78%" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)"><input \
name="enableserial" type="checkbox" value="yes" checked \
style="font-family:Tahoma,sans-serif;font-size:1.1em">  <strong>Enables the first \
serial port with 115200/8/N/1 by default, or another speed selectable below.</strong> \
<span style="font-size:11px">Note: This will redirect the console output and messages \
to the serial port. You can still access the console menu from the internal video \
card/keyboard. A  <b>null modem</b>  serial cable or adapter is required to use the \
serial console.</span></td></tr><tr><td width="22%" valign="top" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;padding-right:20px;padding-left:8 \
px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)">Serial \
Speed</td><td width="78%" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)"><select \
name="serialspeed" style="font-family:Tahoma,sans-serif;font-size:1em">  \
<option value="115200" selected>115200</option>  										<option \
value="57600">57600</option>  										<option value="38400">38400</option>  \
<option value="19200">19200</option>  										<option value="14400">14400</option>  \
<option value="9600">9600</option>  									</select>  bps  <br>Allows selection of \
different speeds for the serial console port.	</td></tr><tr><td width="22%" \
valign="top" style="font-family:Tahoma,sans-serif;font-size:0.9em;padding-right:20px;p \
adding-left:8px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)">Primary \
Console</td><td width="78%" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)"><select \
name="primaryconsole" style="font-family:Tahoma,sans-serif;font-size:1em">  \
<option value="serial" selected>Serial Console</option>  										<option \
value="video">VGA Console</option>  									</select>  <br>Select the preferred \
console if multiple consoles are present. The preferred console will show pfSense \
boot script output. All consoles display OS boot messages, console messages, and the \
console menu.	</td></tr><tr><td colspan="2" height="12" \
style="font-family:Tahoma,sans-serif;font-size:11px;padding-left:6px;padding-top:2px;padding-bottom:2px"> \
</td></tr></tbody></table></div><div><br></div><div>but on others I \
see:</div><div><br></div><div><table width="100%" border="0" cellpadding="6" \
cellspacing="0" summary="main area" \
style="color:rgb(0,0,0);font-family:Tahoma,sans-serif;font-size:10.8333330154419px;line-height:12px;background-color:rgb(221,221,221)"><tbody><tr><td \
width="22%" valign="top" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;padding-right:20px;padding-left:8 \
px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)">Serial \
Speed</td><td width="78%" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)"><select \
name="serialspeed" style="font-family:Tahoma,sans-serif;font-size:1em">  \
<option value="115200" selected>115200</option>  										<option \
value="57600">57600</option>  										<option value="38400">38400</option>  \
<option value="19200">19200</option>  										<option value="14400">14400</option>  \
<option value="9600">9600</option>  									</select>  bps  <br>Allows selection of \
different speeds for the serial console port.	</td></tr><tr><td width="22%" \
valign="top" style="font-family:Tahoma,sans-serif;font-size:0.9em;padding-right:20px;p \
adding-left:8px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)">Primary \
Console</td><td width="78%" \
style="font-family:Tahoma,sans-serif;font-size:0.9em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153)"><select \
name="primaryconsole" style="font-family:Tahoma,sans-serif;font-size:1em">  \
<option value="serial" selected>Serial Console</option>  										<option \
value="video">VGA Console</option>  									</select>  <br>Select the preferred \
console if multiple consoles are present. The preferred console will show pfSense \
boot script output. All consoles display OS boot messages, console messages, and the \
console menu.	</td></tr><tr><td colspan="2" height="12" \
style="font-family:Tahoma,sans-serif;font-size:11px;padding-left:6px;padding-top:2px;padding-bottom:2px"> \
</td></tr></tbody></table></div><div><br></div><div><br></div><div>The latter is \
running the netgate firmware, being a netgate box.   This box configuration for \
/etc/ttys and loader.conf does seem to be as if the checkbox is turned \
on.</div><div><br></div><div>Is this \
intentional?</div></div></blockquote><div><br></div><div>Yes. The systems we ship \
pre-installed which run from a serial console have $g[&#39;enableserial_force&#39;] = \
true, which makes that checkbox not appear so you can&#39;t disable the serial \
console on systems that only have a serial console.   \
</div><div><br></div></div></div></div>



_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic