Professional Documents
Culture Documents
Netgate 6100 Security Gateway Manual - Connecting To The USB Console Port Netgate Documentation
Netgate 6100 Security Gateway Manual - Connecting To The USB Console Port Netgate Documentation
Previous
Netgate 6100 Wall Mount
Next
Connec�ng to the RJ45 Console Port
On This Page
▪ Install the Driver
▪ Connect a USB Cable
▪ Apply Power to the Device
▪ Locate the Console Port Device
▪ Launch a Terminal Program
▪ Client-Specific Examples
▪ PuTTY in Windows
▪ PuTTY in Linux
▪ GNU screen
▪ Terminal Se�ngs
▪ Terminal Op�miza�on
▪ What’s Next?
▪ Troubleshoo�ng
▪ Serial Device Missing
▪ No Serial Output
▪ PuTTY has issues with line drawing
▪ Garbled Serial Output
▪ Serial Output Stops A�er the BIOS
There are �mes when directly accessing the console is required. Perhaps GUI or SSH access has
been locked out, or the password has been lost or forgo�en.
1 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
If needed, install an appropriate Silicon Labs CP210x USB to UART Bridge driver on the
Netgate Docs Appliances Pla�orms Support Training
worksta�on used to connect with the device.
Note
The correct driver should install automa�cally for Windows 10 and above the first �me
the worksta�on is connected to the Netgate® appliance. It may take up to 3 minutes for
the driver to install.
Gently push the USB Micro-B (5-pin) plug end into the console port on the appliance and
connect the USB Type A plug into an available USB port on the worksta�on.
Tip
Be certain to gently push in the USB Micro-B (5-pin) connector on the device side
completely. With most cables there will be a tangible “click”, “snap”, or similar indica�on
when the cable is fully engaged.
If the client OS does not see the serial device, connect the power cord to the device to allow it
to start boo�ng.
If the device appears without power, then be�er to wait un�l the terminal is open before
connec�ng power so the client can view the en�re boot output.
2 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
The appropriate console port device that the worksta�on assigned as the serial port must be
located before a�emp�ng to connect to the console.
Note
Even if the serial port was assigned in the BIOS, the worksta�on OS may remap it to a
different COM Port.
To locate the device name on Windows, open Device Manager and expand the sec�on for
Ports (COM & LPT). Look for an entry with a �tle such as Silicon Labs CP210x USB to
UART Bridge. If there is a label in the name that contains “COMX” where X is a decimal
digit (e.g. COM3 ), that value is what would be used as the port in the terminal program.
Note
3 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
If the serial device is not present, ensure the device has power and then check again.
Netgate Docs Appliances Pla�orms Support Training
For Windows the best prac�ce is to run PuTTY in Windows or SecureCRT . An example of
how to configure PuTTY is below.
Warning
Client-Specific Examples
PuTTY in Windows
• Open PuTTY and select Session under Category on the le� hand side.
• Set the Connec�on type to Serial
• Set Serial line to the console port determined previously
• Set the Speed to 115200 bits per second.
• Click the Open bu�on
4 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
PuTTY in Linux
Note
The sudo command will prompt for the local worksta�on password of the current
account.
5 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
GNU screen
In many cases screen may be invoked simply by using the proper command line, where
<console-port> is the console port that was located above.
Note
The sudo command will prompt for the local worksta�on password of the current account.
If por�ons of the text are unreadable but appear to be properly forma�ed, the most likely culprit
is a character encoding mismatch in the terminal. Adding the -U parameter to the screen
command line arguments forces it to use UTF-8 for character encoding:
Terminal Settings
6 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
Speed:
Netgate Docs Appliances Pla�orms Support Training
115200 baud, the speed of the BIOS
Data bits:
Parity:
None
Stop bits:
Flow Control:
Off or XON/OFF.
Warning
Terminal Optimization
Beyond the required se�ngs there are addi�onal op�ons in terminal programs which will help
input behavior and output rendering to ensure the best experience. These se�ngs vary loca�on
and support by client, and may not be available in all clients or terminals.
These are:
Terminal Type:
xterm
Color Support:
This se�ng may be under Terminal Emula�on, Window Colors, Text, Advanced Terminfo, or
similar areas.
UTF-8
Line Drawing:
Look for and enable se�ng such as “Draw lines graphically”, “Use unicode graphics
characters”, and/or “Use Unicode line drawing code points”.
These se�ngs may be under Terminal Appearance, Window Transla�on, or similar areas.
Xterm R6
In Pu�y this is under Terminal > Keyboard and is labeled The Func�on Keys and Keypad.
Font:
For the best experience, use a modern monospace unicode font such as Deja Vu Sans Mono,
Libera�on Mono, Monaco, Consolas, Fira Code, or similar.
This se�ng may be under Terminal Appearance, Window Appearance, Text, or similar areas.
What’s Next?
A�er connec�ng a terminal client, it may not immediately see any output. This could be because
the device has already finished boo�ng or it may be that the device is wai�ng for some other
input.
If the device does not yet have power applied, plug it in and monitor the terminal output.
If the device is already powered on, try pressing Space . If there is s�ll no output, press Enter . If
the device was booted, it may redisplay the console menu or login prompt, or produce other
output indica�ng its status.
From the console, a variety of things are possible, such as changing interface addresses. There is
a full explana�on of every console menu op�on in the pfSense so�ware documenta�on .
Troubleshooting
Serial Device Missing
With a USB serial console there are a few reasons why the serial port may not be present in the
client opera�ng system, including:
No Power
8 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
Some models require power before the client can connect to the USB serial console.
Netgate Docs Appliances Pla�orms Support Training
For USB consoles, the USB cable may not be fully engaged on both ends. Gently, but firmly,
ensure the cable has a good connec�on on both sides.
Some USB cables are not suitable for use as data cables. For example, some cables are only
capable of delivering power for charging devices and not ac�ng as data cables. Others may
be of low quality or have poor or worn connectors.
The ideal cable to use is the one that came with the device. Failing that, ensure the cable is
of the correct type and specifica�ons, and try mul�ple cables.
Wrong Device
In some cases there may be mul�ple serial devices available. Ensure the one used by the
serial client is the correct one. Some devices expose mul�ple ports, so using the incorrect
port may lead to no output or unexpected output.
Hardware Failure
There could be a hardware failure preven�ng the serial console from working. Contact
Netgate TAC for assistance.
No Serial Output
For USB consoles, the USB cable may not be fully engaged on both ends. Gently, but firmly,
ensure the cable has a good connec�on on both sides.
Wrong Device
In some cases there may be mul�ple serial devices available. Ensure the one used by the
serial client is the correct one. Some devices expose mul�ple ports, so using the incorrect
port may lead to no output or unexpected output.
Ensure the terminal program is configured for the correct speed. The default BIOS speed is
115200 , and many other modern opera�ng systems use that speed as well.
Some older opera�ng systems or custom configura�ons may use slower speeds such as
9600 or 38400 .
9 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
Device
NetgateOS Serial Console Se�ngs
Docs Appliances Pla�orms Support Training
Ensure the opera�ng system is configured for the proper console (e.g. ttyS1 in Linux).
Consult the various opera�ng install guides on this site for further informa�on.
PuTTY generally handles most cases OK but can have issues with line drawing characters on
certain pla�orms.
Window:
Columns x Rows:
80x24
Font:
Use font in both ANSI and OEM modes or Use Unicode line drawing code points
The colour
If the serial output appears to be garbled, missing characters, binary, or random characters check
the following items:
Flow Control
10 of 11 2024-04-04, 08:07
Netgate 6100 Security Gateway Manual — Connecting t... https://docs.netgate.com/pfsense/en/latest/solutions/net...
In some cases flow control can interfere with serial communica�on, causing dropped
Netgate Docs Appliances Pla�orms Support Training
characters or other issues. Disabling flow control in the client can poten�ally correct this
problem.
On PuTTY and other GUI clients there is typically a per-session op�on to disable flow
control. In PuTTY, the Flow Control op�on is in the se�ngs tree under Connec�on, then
Serial.
To disable flow control in GNU Screen, add the -ixon and/or -ixoff parameters a�er the
serial speed as in the following example:
Terminal Speed
Ensure the terminal program is configured for the correct speed. (See No Serial Output )
Character Encoding
Ensure the terminal program is configured for the proper character encoding, such as UTF-8
or La�n-1, depending on the opera�ng system. (See GNU Screen )
If serial output is shown for the BIOS but stops a�erward, check the following items:
Terminal Speed
Ensure the terminal program is configured for the correct speed for the installed opera�ng
system. (See No Serial Output )
Ensure the installed opera�ng system is configured to ac�vate the serial console and that it
is configured for the proper console (e.g. ttyS1 in Linux). Consult the various opera�ng
install guides on this site for further informa�on.
Bootable Media
If boo�ng from a USB flash drive, ensure that the drive was wri�en correctly and contains a
bootable opera�ng system image.
11 of 11 2024-04-04, 08:07