How to use the FTDI USB serial cable to RJ45 adapter to connect to the console on Cisco/Juniper Switch Router Firewall in Linux Ubuntu Debian Redhat

This should work for most console ports of other manufacturers too.  It is a quick and simple method for emegencies or deploying a few appliances/devices in a non-standard environment or small environment. 

However, if this is a route thing, or the equipment is not physically close to you, it would be best to use some sort of "Terminal" server which is an IP connected switch with several serial ports built-in for this purpose.  Normally they accessible by web/ssh/telnet, so you don't have to worry about getting physical access to the device (eg. if it's in a communications room, datacenter or another place that is not convenient to physically access).

Step 1 - Just plugin the USB side and then connect to the console port of the device

The console port is often located at the back of the device, but some devices may have them at the front of the unit.  Also be careful that you don't connect it to the Management port of the device, as then this won't work and you won't receive any output to the terminal.

You should get output like this after plugging in the USB to RJ45 adapter:

[ 2113.427366] usb 1-1.2: new full-speed USB device number 24 using ehci-pci
[ 2113.542286] usb 1-1.2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 2113.542289] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2113.542292] usb 1-1.2: Product: FT232R USB UART
[ 2113.542294] usb 1-1.2: Manufacturer: FTDI
[ 2113.542295] usb 1-1.2: SerialNumber: A50285BI
[ 2113.544859] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
[ 2113.544901] usb 1-1.2: Detected FT232RL
[ 2113.545854] usb 1-1.2:
FTDI USB Serial Device converter now attached to ttyUSB0

Note the "attached to ttyUSB0" part, normally a standard serial cable would be available by deault on /dev/ttyS0, but with the USB adapter it will live on /dev/ttyUSB0

If you don't get the above output, confirm that the ftdi_sio kernel module is loaded.  If it's not there, you may need the following packages:


Here is the easiest way to install the missing ftdi driver on Debian/Ubuntu/Mint

sudo apt install linux-modules-extra-`uname -r`

Step 2 - Connect to the console port on your device using screen/putty or other tool

One of the easiest tools to use is screen or putty, but any serial/terminal program will normally do the job.

screen /dev/ttyUSB0

Below is an example of consoling into a Juniper switch.



ftdi, usb, rj, adapter, console, cisco, juniper, router, firewall, linux, ubuntu, debian, redhatthis, ports, manufacturers, method, emegencies, deploying, appliances, devices, quot, terminal, server, ip, accessible, ssh, telnet, eg, communications, datacenter, plugin, located, output, plugging, ehci, pci, idvendor, idproduct, bcddevice, mfr, serialnumber, ft, uart, manufacturer, bi, ftdi_sio, converter, detected, rl, ttyusb, deault, dev, ttys, putty, easiest, consoling,

Latest Articles

  • How To Stop DNSMasq from listening on all IPs/Interfaces and allow only localhost
  • du - VAS Billing Subscriptions Hack/Scam MLPremiumSub Invascom Astromart Issues Complaint
  • Docker Swarm vs Kubernetes Comparison Guide
  • When is it time to leave your VPS/VDS Cloud Hosting Provider?
  • 2024 Buyer's Guide: How to Choose and Buy the Best VPS/VDS for Your Needs - Tips and Strategies
  • Postfix / sendmail config for DKIM, SPF and DMARC Tutorial Guide E-mail Delivery for and More HowTo
  • Install Grafana on Linux Debian Ubuntu Tutorial Guide
  • How To Completely Disable ufw in Linux Ubuntu Mint Debian
  • System has not been booted with systemd as init system (PID 1). Can't operate. Failed to talk to init daemon. Ubuntu Debian Linux Solution Cannot reboot
  • Mint Ubuntu Linux Gnome Showing Home Directory on Desktop instead of Desktop Directory
  • vi vim not doing code highlighting E319: Sorry, the command is not available in this version solution
  • Proxmox How To Rename Node Hostname Fix Solution
  • Linux how to get list of all timezones on system Ubuntu
  • Proxmox install issue cannot see the buttons or install wrong / bad resolution cannot see the entire screen problem solution
  • error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. solution
  • Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/ line 326. autoreconf: failed to run aclocal: No such file or directory solution
  • /bin/sh: autoreconf: command not found solution
  • glib-2.0 required to compile QEMU solution
  • How To Upgrade Debian 8,9,10 to Debian 12 Bookworm
  • Linux dhcp dhclient Mint Redhat Ubuntu Debian How To Use Local Domain DNS Server Instead of ISPs