OPNsense Forum

English Forums => Hardware and Performance => Topic started by: Nadir22 on February 09, 2023, 06:05:55 AM

Title: DEC3860 serial console access
Post by: Nadir22 on February 09, 2023, 06:05:55 AM
Hi all, I need to access OPNsense installed on a DEC3860 hardware via serial console, this hardware has a one mini USB console port.
I tried connecting different mini USB to USB-C cables however I cannot get access to the serial console login screen.
Kindly could anyone please suggest a working cable for serial console access
Title: Re: DEC3860 serial console access
Post by: Radoslavas on February 09, 2023, 08:24:05 AM
May be this topic helps: https://forum.opnsense.org/index.php?topic=28149.0
On windows with putty works with no problem
Title: Re: DEC3860 serial console access
Post by: Nadir22 on February 09, 2023, 10:00:54 AM
I saw that topic however I need to get into the box via serial console and was wondering what cable I need to use because standard mini USB to USB-C cables I tried are not working and the issue is not related to serial connection parameters
Title: Re: DEC3860 serial console access
Post by: Patrick M. Hausen on February 09, 2023, 10:18:50 AM
Standard USB cables do work. They present a USB to serial adapter to the PC you connect. Your OS needs a driver for that - which current Windows, Mac OS, Linux, BSD ... have by default.

Check the connected hardware after plugging in according to your operating system.
Title: Re: DEC3860 serial console access
Post by: Nadir22 on February 09, 2023, 11:07:54 AM
The DEC3860 console port is mini USB and I need to connect to MacBook USB-C port, any hints on a proper cable to buy ?
Title: Re: DEC3860 serial console access
Post by: Patrick M. Hausen on February 09, 2023, 11:22:58 AM
As an Apple progress plagued user, don't you have a USB A to C adapter?

seriously, Mac user here, too. Everybody in my company has one of those small mobile docking stations with 2x USB A. Or at least a single port adapter.

When plugged in, there will be a new device named /dev/cu.<something>. I use minicom installed via Macports to connect. Homebrew probably has minicom, too.
Title: Re: DEC3860 serial console access
Post by: franco on February 09, 2023, 11:29:22 AM
"screen" is installed by default and the device on my end is some form of /dev/tty.usb*

And, yeah, you need an adapter in this this brave new world.


Cheers,
Franco
Title: Re: DEC3860 serial console access
Post by: Nadir22 on February 09, 2023, 11:41:47 AM
Quote from: pmhausen on February 09, 2023, 11:22:58 AM
As an Apple progress plagued user, don't you have a USB A to C adapter?

Yes I have but I tried 3 different standard cables and they do not work, so I was wondering whether the issue is related to cable or something else. I will try another standard USB cable then.
Title: Re: DEC3860 serial console access
Post by: Patrick M. Hausen on February 09, 2023, 12:12:25 PM
Did you look for a new device node in /dev? Which program are you trying to use?