No. Ethernet ports can't transmit or receive RS-232 signals.

If your laptop has a traditional DB9 RS-232 serial port, use that with the appropriate serial cable. If it doesn't, use a USB to RS-232 serial adapter.

Answer from Spiff on Stack Exchange
🌐
ATEN
aten.com › products › discontinued products › uc232b
USB to RJ-45 (RS-232) Console Adapter (1.2 m) - UC232B, ATEN Converters | ATEN Corporate Headquarters
This high quality industrial adapter cable is designed to instantly add single RS-232 console port connectivity for networking appliances via a USB port. The adapter is powered via the USB connection.
Discussions

How to: USB RS232 to RJ45 interface pinout | Hardware Canucks
Hello everyone. I am not able to find a clear guide of wiring a usb serial to an rj45 jack. It is for a cisco console connection from my pc to a router. There is a serial usb cable in ebay... 6pin FTDI FT232RL USB to Serial Adapter Module USB to TTL RS232 Arduino Cable R3 | eBay But, i want to... More on hardwarecanucks.com
🌐 hardwarecanucks.com
December 21, 2014
Can I put RJ45 connectors on RS232 9-pin cable?
Is it for IP/Lan communication or is it Serial/RS232 over RJ45? If it's for IP/Lan, the high speed signal and noise rejection/specification relies on the twisted pairs. So I would not try running LAN/IP network over 9pin serial. Depending on distance it might work (like if it's short), but seems like a bad idea to me. If this is just normal serial RS232 that uses RJ45 as a connection type, that should work fine. More on reddit.com
🌐 r/CommercialAV
11
4
December 13, 2021
programming - Serial Communication with rs232/485 and rj45 - Electrical Engineering Stack Exchange
You will probably have to look ... cable to a USB-serial adapter. \$\endgroup\$ ... You are missing something major. You CANNOT connect a serial connection to an ethernet port and get anything useful out of it. You will need an adapter from RJ45 to an RS232 conector (usually ... More on electronics.stackexchange.com
🌐 electronics.stackexchange.com
May 20, 2015
Serial Console over RJ45 Ethernet-Patchpanels / RS232-Ethernet-Pinout?
You don't need to do anything special on the patch/extension side. Any RJ45 coupler/patch will result in no wire transposition. Only one cable in the chain needs to be a rollover, the rest can be Ethernet-spec. So: ACS - Rollover - Anything - Switch This is similar to how you can extend your laptop rollover cable with a standard female-female coupler and patch cable. Get some flat, 8-wire cable to make your rollover cables if you want to make your life easy and ditch anything DB9 unless necessary. I know this from direct experience. We use Avocent everywhere. Feel free to ask if you have more questions. More on reddit.com
🌐 r/networking
5
1
July 5, 2021
🌐
Matrixsolutionsinc
matrixsolutionsinc.com › aten-usb-to-rj45-rs232-adapter-cable
ATEN UC232B USB to RJ45 Adapter Cable - High-Speed RS232 Connectivity - Matrix Solutions
The ATEN UC232B is a high-quality USB-to-Serial console adapter designed to provide seamless RS-232 connectivity for networking appliances.
🌐
Eaton
tripplite.eaton.com › products catalog › network adapters › p44089ff
DB9 to RJ45 Modular Serial Adapter, RS-232 - Tripp Lite
Computer & Storage P430-006 RJ45 to DB9F Cisco Serial Console Port Rollover Cable, 6 ft. (1.83 m) USB Adapters USA-19HS Keyspan USB to Serial Adapter - USB-A Male to DB9 RS232 Male, 3 ft.
🌐
Video Products Inc
vpi.us › rj45-adapters › rj45-serial-crossover-adapter-840
RJ45 CAT5 RS232 serial crossover adapter device DCE DTE connect
RJ45 RS232 Serial Crossover Adapter · USB Adapters · Gender Changers · Flexible Adapters · Flexible USB Type A Female to Type B Male Adapter · Flexible USB Type A Female to Type B Female Adapter · Flexible USB Type A Gender Changer, Female to Female · Flexible USB Type A Gender Changer, Male to Male ·
🌐
Eaton
tripplite.eaton.com › products catalog › network adapters › p44089fm
DB9 to RJ45 Modular Serial Adapter, RS-232, RS-422, RS-485 | Eaton
USB Adapters U208-004-IND 4-Port RS-422/RS-485 USB to Serial FTDI Adapter with COM Retention (USB-B to DB9 F/M) USB Adapters U209-005-COM RS232 to USB Adapter Cable with COM Retention (USB-A to DB9 M/M), FTDI, 5 ft.
Find elsewhere
🌐
Hardware Canucks
hardwarecanucks.com › home › forums › pc builders & tweakers corner › guides & how-to's
How to: USB RS232 to RJ45 interface pinout | Hardware Canucks
December 21, 2014 - There's absolutely no way you can directly wire USB to the console port. Alternatively, eBay has some all-in-one cables: Cisco Console Cable USB RJ45 6ft FTDI Windows 8 7 Vista Mac Linux RS232 US | eBay ... Thanks again for the feed back... Yes, what original wanted to do, is to buy the eBay ...
🌐
NetworkTechInc
networktechinc.com › serial-rj45-adapters.html
Console Serial Port Adapters RJ45 Connectors, DB9M DB25 RJ45 Pins
Dual Monitor DVI USB KVM Extender with Video Wall Support Over IP via Two CAT6/7 Cables ... Also known as: serial port adapters, serial port connectors, console adapters, RJ45 connectors, serial port pinouts, serial cable adapters.
Call   330-562-7070
Address   1275 Danner Dr., 44202, Aurora
🌐
Amazon
amazon.com › COOSO-Serial-Female-Ethernet-Console › dp › B01MF9F7HF
Amazon.com: LFHUKEJI RJ45 to RS232, DB9 9-Pin Serial Port Male to RJ45 Cat5 Ethernet LAN Console 3.3Ft : Electronics
Buy LFHUKEJI RJ45 to RS232, DB9 9-Pin Serial Port Male to RJ45 Cat5 Ethernet LAN Console 3.3Ft: Serial Adapters - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
Top answer
1 of 3
44

That RJ45 to USB cable is not an Ethernet adapter.

It might superficially look like one, but it’s not.

That cable you purchased is a known as console cable (aka: Cisco cable or rollover cable). It’s meant/designed to connect your PC to a server (or other enterprise level device) via RS232; aka serial connection or link. That is not an Ethernet adapter, and cannot be used as one at all.

Generally, what you are looking for is a USB to Ethernet adapter that looks something like this:

You would plug the USB side into your PC and then connect the Ethernet end to your LAN via an Ethernet cable. These are fairly common to come by and should be pretty affordable. Just make sure to check if the USB A to RJ45 adapter you purchase explicitly states it’s an Ethernet adapter.

2 of 3
12

The 8P8C connector (commonly known as RJ45, even though this is incorrect) is used for a lot of different things.

While nowadays its most common use is for (some kinds of) Ethernet, it can also be used:

  • For RS-232 or other similar serial ports (instead of the more common DB-25 or DE-9 connectors), especially for console access on Cisco routers and other devices;
  • For analogue telephony (aka POTS);
  • For digital telephony (aka ISDN);
  • For proprietary telephony systems;
  • Sometimes even USB;
  • And many other things.

The adapter you bought is for the first type: to connect to an RS-232 serial port presented as 8P8C (RJ45). It is completely unrelated to Ethernet.

What you need is a USB Ethernet adapter. They come in many different shapes and sizes, and have varying characteristics and performances (100 Mbit/s, Gigabit, 2.5GbE, USB 2, USB 3, USB-A, USB-C...). You need to make sure the description of the product includes "Ethernet", along with the specs you want.

Some docks (especially USB-C docks) also include Ethernet ports, so it may be an alternative if you need other interfaces (more USB, HDMI, etc.).

If your computer has a USB-C port, you're probably better off using an adapter using that kind of port. Given the low prices of such adapters, picking a 2.5GbE adapter is probably a good idea even if you won't use it at its maximum potential if your switch/router doesn't support such speeds.

While there are a few adapters that take the form of a cable (with a male "RJ45" at the other end like the one you bought), most will have a female connector, and you will then need an Ethernet cable to connect that to the corresponding connector on your switch or router. The advantage is that you can easily change the cable if you need shorter or longer distances (or if the cable or plug gets damaged).

Top answer
1 of 3
6

Those plugs are most likely (hard to tell from a picture) Cisco console cable plugs. They convert a DB-9 serial interface to a RJ45 receptacle , but NOT for use with a regular network cable. (They also exist in a DB-25 version.)
They are intended to use with a Cisco console cable (that has a RJ45 plug on 1 end and a DB-9 on the other) or a roll-over cable (RJ45 plug on both ends, but different pin-out than a network cable).

A Cisco console cable + a plug like yours connected to the other end make together a serial 3-wire null-modem cable.
A roll-over cable with 2 of these plugs (on each end) also makes a 3-wire null-modem cable.

That may be all you need. Provided that your lab-device needs a 3-wire null-modem cable, which is the most common case.
But some require a straight cable and in some (rare) cases you need a 5-wire null-modem (or straight) cable.

As modern computers, especially laptops, typically don't have a DB-9 serial port anymore, you may also need a USB to serial converter plug.

For short: There are a lot of variables here. Without more details about the devices involved and the exact nature of your plugs I can't get any more specific.

2 of 3
3

As Tonny wrote, that adapter is most likely a Cisco RJ45-to-DB9 converter, which is a purely passive adapter. The RJ45 side is not Ethernet, it's just RS232 on a different type of connector (Cisco devices used to have console ports with an RJ45 connector rather than the more common DB9 or DB25 connectors).

If you have an RS232 port on your laptop, then you just need a cable. While this was extremely common a couple of decades ago, nowadays I believe it's quite rare to find a laptop with an RS232 port.

So what you need instead is more likely an RS232-to-USB (aka serial-to-USB) converter/adapter.

Once you have that, you should have a new character device for the serial port somewhere in /dev (details may vary, but probably some kind of /dev/tty-something).

If you just want to capture the data from the serial port to a file, you can just cat /dev/serial_port_device_name >filename.

If you need to change serial port settings you can use stty but beware that you must keep the port open while you do it, otherwise the settings will reverse to defaults right away.

If you want something more foolproof, you can probably write a short script using the language of your choice, or they may be additional tools to manage that.

Alternatively there are devices with serial ports and Ethernet connections (you would then usually use telnet or netcat to connect to the serial ports and capture the data), but these would be more expensive, and only useful if you need to capture data from a larger distance.

🌐
Amazon
amazon.com › rs232-rj45-adapter › s
Amazon.com: Rs232 To Rj45 Adapter
Shop RS232 to RJ45 adapters for extending serial connections. Find DB9 male and female options compatible with standard devices.
🌐
Super User
superuser.com › questions › 1657540 › conecting-a-controllers-rj45-port-to-laptops-usb-port
Conecting a controller's RJ45 port to laptop's USB port - Super User
June 18, 2021 - I have a CNC controller that uses RJ45 socket as a input for reciving instructions from my laptop. I use a USB to RS232 adapter and then RS232 to RJ45 adapter to finally connect my controller using a
🌐
Amazon
amazon.com › Cable-Matters-Console-Compatible-Rollover › dp › B078PVJ5ZQ
Amazon.com: Cable Matters USB to RJ45 Console Cable (Compatible with Cisco Console Cable, Rollover Cord) with FTDI 6 Feet : Electronics
USB-C Cisco Console Cable,OIKWAN ... for Laptops · OIKWAN USB to RS232, USB Serial Adapter with FTDI Chipset,USB 2.0 to Male DB9 Serial Cable for Windows 11,10, 8, 7, Vista, XP, 2000, Linux and Mac OS(6ft)…...
🌐
Amazon
amazon.com › ATEN-UC232BF-RS-232-Console-Adapter › dp › B0DX4KMD4B
Amazon.com: ATEN UC232BF USB to RJ-45 (RS-232) Console Adapter (FTDI/1.2 m) : Electronics
Supports straight RJ45 cable, no ... (anti-EMI) capability for stable transmission performance ... SABRENT USB 2.0 to Serial (DB9 RS232) Adapter ......
🌐
SeaLINK
sealevel.com › home › products › accessories › basic adapters & converters › db9f to rj45 modular adapter (rs-232) for seai/o (blue)
DB9F to RJ45 Modular Adapter (RS-232) for SeaI/O (Blue) - Sealevel Systems, Inc
The DB109 is a DB9F to RJ45 adapter that has a DB-9 female connector that plugs directly into any standard DB-9 RS-232 serial port and converts it to an RJ45 connection. The DB109 is designed to easily connect SeaI/O RS-232 devices to any standard ...