OPNsense Forum

English Forums => Hardware and Performance => Topic started by: starfox101 on July 10, 2023, 11:37:36 PM

Title: New DEC850
Post by: starfox101 on July 10, 2023, 11:37:36 PM
Got my new DEC850, lasted about 30 minutes. Login web console first time no problem. Thought I could Migrate my config. Some were it went wrong. Can't access web console, don't understand how to use console port to usb. I am running ubuntu 22.04. Hobby user, over my head
Title: Re: New DEC850
Post by: lilsense on July 11, 2023, 04:36:38 AM
plug in the USB to console. you can buy one of those blue cables from Amazon.

look for the USB in your /dev

then use screen /dev/usbfileyoufoundinthedevfolder 19600

Title: Re: New DEC850
Post by: starfox101 on July 11, 2023, 06:57:03 AM
thanks for the reply. I have the supplied usb cable, but it's black not blue. I get no response when plugged in.
Title: Re: New DEC850
Post by: Patrick M. Hausen on July 11, 2023, 07:55:20 AM
What do you mean by response? You need to use a serial terminal program like cu or minicom on your Ubuntu system.
Title: Re: New DEC850
Post by: starfox101 on July 11, 2023, 11:23:49 AM
sorry, I was expecting a response from the computer. When something is connected to usb port.
Using lsusb I believe I have located it. Bus 004 Device 005: ID 04e2:1411 Exar Corp. XR21B1411
I am trying minicom just can't put it togather
Title: Re: New DEC850
Post by: Patrick M. Hausen on July 11, 2023, 12:27:38 PM
There should be a /dev/tty* or /dev/cu* device that somehow hints at the USB connection by name. I don't know how exactly Linux manages serial devices, sorry.

When you found it, start "minicom -s" as root, type Ctrl-A O, pick the serial options and set the device path, 115200 for speed, hardware handshake, and 8N1.
Title: Re: New DEC850
Post by: starfox101 on July 11, 2023, 02:04:40 PM
I think I may have found it. but can't enter anything: no keyboard, nothing

Welcome to minicom 2.7.1

OPTIONS: I18n                                                               
Compiled on Dec 23 2019, 02:06:26.                                           
Port /dev/ttyUSB0, 06:57:30                                                 
                                                                             
Press CTRL-A Z for help on special keys

if I unplug the usb cable:  Cannot open /dev/ttyUSB0!
Title: Re: New DEC850
Post by: Patrick M. Hausen on July 11, 2023, 02:12:13 PM
Try disabling hardware handshake.
Title: Re: New DEC850
Post by: starfox101 on July 11, 2023, 02:36:09 PM
no such option:

A -    Serial Device      : /dev/ttyUSB0  port
B - Lockfile Location     : /var/lock
C -   Callin Program      :   
D -  Callout Program :
E -    Bps/Par/Bits       : 115200 8N1
F - Hardware Flow Control : Yes       
G - Software Flow Control : No

Thank you for the help
Title: Re: New DEC850
Post by: Patrick M. Hausen on July 11, 2023, 02:41:25 PM
hardware flow control --> No
Title: Re: New DEC850
Post by: starfox101 on July 11, 2023, 03:12:08 PM
Should have said tried that. Seems I'm getting close
Title: Re: New DEC850
Post by: Patrick M. Hausen on July 11, 2023, 03:20:15 PM
Try to reboot the unit while in minicom. Also didn't it come with a pamphlet with the serial port settings? Maybe 115200 is not correct, I don't know. Also with a new Deciso product - did you contact their support? This is not OPNsense support but strictly a community forum with volunteers trying to help.
Title: Re: New DEC850
Post by: starfox101 on July 11, 2023, 04:15:27 PM
Got it just before reading last post. Works better using screen. Does require a reset. No option to restore config. May just do fresh install..

Thanks so much for your help