Mango + USB to RS-232 (RJ-45)

Hello,

I was wondering if it is possible to use a USB to RS-232 (RJ-45) cable for remote serial access. Specifically, I’d like to know if I can connect such a cable and use it to establish a remote serial connection, as shown in the image below:

Would this setup work? Is it something we can do?

Hello,

The USB to Serial port is not supported.

Thanks.

are you looking at deploying the Mango, and having the USB to Serial cable to connect to other devices, I've got both items, what do you want me to test?

Hello,

May I know can the Mango support to be loaded the USB - Serial to other devices? :astonished:

I also have, but I don't think there is drivers for the USB to RS232.
This would be a very nice feature for network engineers.

USB-to-TTL chipsets like CH340 are commonly used in Linux/ARM, but I'm not sure for USB-to-RS232 chipsets. I've heard that some don't support Linux at all.

If you really want to use it, using MAX232 or so with Mango's TTL pin or USB-to-TTL adapters may possible, I guess.

1 Like

Does a driver exist for the device in stock kernel?
Does the driver exist for this architecture??
I assume that any driver that exists could be loaded.

That's a Cisco console cable in the image.
Usb to management ethernet.
I have Ubiquiti security gateway and Edgerouter Lite running OpenWrt I can connect to via serial using one.

1 Like

I conducted some initial tests, and everything appears to be working as expected. I will attempt to console into a device later to confirm functionality, but here are the steps I followed:

1. Installing USB to Serial Drivers

First, I installed the necessary USB to Serial drivers by running:

opkg update
opkg install kmod-usb-serial kmod-usb-serial-pl2303 kmod-usb-serial-ftdi kmod-usb-serial-cp210x

2. Connecting and Verifying the USB to Serial Adapter

After plugging in my USB to Serial adapter, I checked if it was recognized by the system using:

dmesg | grep -i usb

image

3. Installing Picocom for Serial Console Access

Next, I installed Picocom, as it is a lightweight alternative to tools like screen or minicom:

opkg update
opkg install picocom

I will update this post once I have tested the connection to a device via the serial console.

Let me know if you have any suggestions or if you've had similar experiences with USB to Serial adapters on OpenWRT. :rocket:

It works!

I tested using a Shadow right now. But I think it will also work on Mango.

2 Likes

Mango also works:

2 Likes