Questions tagged [serial-console]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

syslinux output duplicated in QEMU serial console

Any idea why syslinux output is duplicated in QEMU serial console? SeaBIOS (version rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org) iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+3FF8F290+3FEEF290 ...
0
votes
2answers
35 views

Stabilizing serial device names across reboots for serial console

I have an embedded Linux system with 2 built-in serial ports, and a PCI board that adds 8 more. The kernel enumerates the devices in a way that the port numbers end up getting interleaved, for ...
0
votes
0answers
26 views

Minicom - How do I store the newline delay setting?

In Minicom, I prefer to change my Newline tx delay (ms) setting via CTRL-A T to incorporate some delay between newlines, usually 100ms. That way there is a delay when I am pasting something into a ...
0
votes
0answers
188 views

Serial Console via TCP disconnects after some time and fails to reconnect

I am facing a rather unusual problem. I have Centos 8.2 installed on a machine. I have installed KVM, virtual machine manager and cockpit virtual machines. I have a Virtual machine inside of kvm which ...
1
vote
0answers
31 views

Does kernel boot support serial redirection at very high speeds?

I have a UART that is displayed in a Linux boot log as: AMDI0020:01: ttyS5 at MMIO 0xfedca000 (irq = 4, base_baud = 3000000) is a 16550A I want to enable Linux kernel boot log to this UART port. To ...
1
vote
0answers
33 views

Is it possible to set serial speed for an early kernel boot log to a MMIO UART?

I have a UART that is displayed in a Linux boot log as: AMDI0020:01: ttyS5 at MMIO 0xfedca000 (irq = 4, base_baud = 3000000) is a 16550A I want to enable Linux kernel boot log to this UART port. To ...
1
vote
0answers
24 views

How to redirect GRUB2 output to a MMIO serial UART?

Is it possible to redirect GRUB2 output to a MMIO serial UART? For example I have a UART that is displayed in a Linux boot log as: AMDI0020:01: ttyS5 at MMIO 0xfedca000 (irq = 4, base_baud = 3000000) ...
0
votes
1answer
16 views

How to know the end of an ANSI control code?

I'm working on code for a serial terminal and I'm implementing the ANSI escape codes for moving around the cursor, clearing the screen, etc, and I am curious how to know which to use since there doesn'...
2
votes
1answer
50 views

How do I host a shell for a serial terminal?

I am building a dumb terminal with an arduino and I can now see the output of serial connections. How do I get a login/shell? I have tried screen /dev/ttyACM0 and that lets me type on the host ...
0
votes
0answers
32 views

Create serial connection for /dev/hiddev0 or /dev/hidraw0

I have a light projector which creates /dev/hiddev0 and /dev/hidraw0 connections when plugging in (USB+HDMI connection) I need it to be a serial connection, in order to control it. Is there any rule I ...
0
votes
0answers
23 views

Understanding kernel interrupt messages

Linux stalls randomly and unable to ping and ssh into my NXP LS1046a processor board and I dont know how to trace down the problem from the following messages. On the serial I see the following: [ ...
0
votes
1answer
55 views

Serial device ttyS0 is missing after configuring BIOS for console redirect

I am running Alpine Linux on a device on which I was making use of a serial console configured on /dev/ttyS0 to login. I recently enabled console redirection in my BIOS so that I could use the same ...
0
votes
0answers
20 views

Having a shell with console connection without using the physical port in Linux system

A program starts when you are connected to Linux by console port. Otherwise, it refuses to start. I have to connect to my server remotely by SSH connection. I'm looking for a way to do something to ...
0
votes
0answers
12 views

Correct serial DCD behavior for embedded device

I'm researching serial communication connections with USB port. I learned that the reset command resets the tty flag CLOCAL to -clocal. Which is a correct behavior. reset command over serial ...
2
votes
0answers
40 views

Key mapping on a physical terminal (Teleray 1060) when using getty

I have an old physical terminal (Teleray 1060) that I am attempting to use as a Linux terminal using getty. I have started a login session just fine. However, my terminal lacks an enter key, having ...
1
vote
1answer
50 views

reset command over serial connection setting clocal to -clocal

I have a connection from my debian computer to a device with debian linux on it. If I type the reset command on the serial commandline the clocal will be set to -clocal. I search the internet why, but ...
0
votes
1answer
112 views

How can I encrypt serial console?

I've my headless linux box configured with a serial console. /etc/default/grub: GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200" GRUB_TERMINAL="console serial" ...
0
votes
0answers
27 views

What termios settings cause endpoint to get garbled serial?

I have two endpoints. One is Windows Subsystem for Linux (Ubuntu) and the other is a small AR9331 router (running OpenWRT and has 16550 chip). They are connected over a USB-to-Serial connection. ...
0
votes
0answers
28 views

/dev/ttyS0 doesn't give back prompt after mount

I created a file system and after the mount command i don't get back the prompt in serial port. I connected to the system also via SSH and i see the mount has been finished. the serial port continue ...
0
votes
3answers
1k views

How to store console output to a file

I am running embedded Linux and my command line has console=/dev/ttyO0,.... I have terminal program connected to this UART and can see EVERYTHING produced by the system. Now, when running in the field,...
1
vote
1answer
67 views

Login prompt is not output correctly, thus not able to log into Linux through ttyS0

My system is a intel Atom based board without a vedio card, communication can be carried out through serial port(at baut rate of 115200) and ethernet port. I installed CentOS through PXE, after ...
2
votes
1answer
72 views

How to Configure OpenSSH Server to connect to an isolated computer's console via a serial port?

Imagine the following scenario: "Client" and "Connected" both exist on a network. A third computer, "Isolated," is not on any network but exposes a console over a serial ...
1
vote
2answers
73 views

How can I block a normal user from logging in via the serial console (`ttyS0`) without blocking root?

How can I block a normal user on a Ubuntu/Redhat from logging in via the serial console (ttyS0) without blocking root ? Only root needs console access, no other users. I have cleared /etc/securetty, ...
3
votes
0answers
31 views

Is there a way to change where systemd sends its output during shutdown?

I want systemd to send shutdown messages to a TTY that is different from the one that was used during bootup. More specifically, if the system starts to shutdown, the system should send any messages ...
0
votes
0answers
305 views

Garbled serial console output even with correct baud rate

I'm trying to connect to a headless NAS box via serial console, and have reached a wall that even Google can't seem to help with. I have a USB to 3.5mm serial cable, with the USB end going into my ...
5
votes
1answer
209 views

How to active the second console to a FreeBSD guest running in bhyve?

Background I'm running FreeBSD 12.1-RELEASE as a host for bhyve virtual machines. I have a FreeBSD 12.1-RELEASE guest running inside a VM. I would like to have two TTY-class devices configured for it. ...
0
votes
1answer
239 views

How to enter message in serial communication using screen

I use screen \dev\ttyUSB0 command to connect to virtual serial port. It prints out the incoming communication, but I dont know how to send message back to the connected device. Thanks for answers ...
1
vote
0answers
107 views

Make sslh or nginx listen to serial port, to get VPN or HTTP(S) or SSH over serial port (real, emulated and/or virtual)

I would like to make more services than serial-console-login available via serial-port. In essence, I want to make a traditionally network-listening service (with strong encryption/authentication) of ...
1
vote
0answers
864 views

Samsung SMT-G7401 hack

Samsung SMT-G7401 hack introduction I have an SMT-G7401_PCS01B (Horizon box) from UPC Switzerland and I would like to install debian or multimedia linux distribution on it if is it possible, if is ...
3
votes
2answers
746 views

how can I slow down pasting text into a serial terminal?

I'm working on a raspberry pi, and trying to paste some text files into a command-line text editor nano... but the text ends up corrupted on the remote end (partial/incomplete text). I can only guess ...
0
votes
1answer
173 views

No password prompt for serial connection

I want to setup a password prompt (root user) when login through minicom (serial connection). After running passwd command (connected through ssh), i can setup a password for the root user. After that ...
1
vote
1answer
300 views

Can't get kernel messages logged to the serial console of a systemd system

I would like to log the kernel messages of system to the serial console on ttyS0. A similar problem was addressed under How to get kernel messages on serial console on a systemd system? but I still ...
2
votes
2answers
312 views

Why are there TTYs only on one GPU?

I recently installed Centos 7 on a Dell PowerEdge R740 with a Nvidia GPU added to it. After installation I was surprised to see that the iDRAC remote console capabilities was not working. Not even ...
0
votes
1answer
89 views

Serial console messes up occationally

Occationally my serial console messes up severely like this: Typing doesn't work there are all anymore. Though the machine still functions fine. So if I reboot it (as shown in the screenshot. PC ...
0
votes
1answer
906 views

Send binary file to ttyUSB0 serially in linux

I have a binary file(obtained from assembly code). I need to transfer this file to an fpga serially via ttyUSB0. I read in some posts that using cat and echo data can be transferred to ttyS0. echo -...
4
votes
2answers
3k views

Allow passwordless root login on the serial console

I do a lot of local development work with (CentOS/RHEL) virtual machines. Rather than configuring everything with a default root password -- which, if exposed to the network, can be problematic -- I'd ...
2
votes
1answer
736 views

Launch serial port client after logging in through SSH server

I need to a way to connect SSH to the serial port. There is a device connected at a serial port with a shell. I basically want to pipe the SSH client directly to the serial port. Basically you are ...
3
votes
2answers
4k views

Copy a file over serial connection

So what I am trying to achieve seems quite simple, but I can not seem to find a way to do it without using external utilities or not pre-installed libraries. I have an embedded system running Linux (...
0
votes
2answers
514 views

Send a binary file though serial terminal

I have a question related to the serial terminal. I have a Linux computer and I connect to an ARM mini-computer running debian with screen /dev/ttyUSB0 115200. From there, I can login and type ...
1
vote
1answer
2k views

Send a binary file through serial terminal

I have a question related to the serial terminal. It is sometimes possible to connect to a device using a command such as screen. One example would be screen /dev/ttyUSB0 115200. I can connect ...
2
votes
0answers
95 views

How can I set two serials for GRUB

I'm on debian 10. I want to show GRUB messages based on the configuration in BIOS for serial_com0 and serial_com1. I want a general config that worked on my all devices without knowing what the BIOS ...
1
vote
0answers
41 views

Connecting a Mac to Ubuntu server with a serial port

I have a USB-to-Serial converter for my Mac I want to use to connect to an Ubuntu server that outputs all its console over its serial port (it's an APU2 machine with no graphics output). On the server ...
0
votes
1answer
422 views

Is SSH enabled on a minimal ubuntu server installation?

I recently bought an APU2 machine from PC Engines and installed Ubuntu 18.04 on it. The APU2 has no graphics output and I had to modify the netboot ubuntu installation to redirect the graphics output ...
1
vote
1answer
1k views

Direct Serial Connection to a Router Using “screen” Command

Problem: I'm trying to make a direct serial connection to a router (in this case a MikroTik) via the serial port. I've tried the format I've found in numerous links Googling: sudo screen /dev/...
0
votes
0answers
498 views

Run a serial connection over SSH

EDIT: After some advice here and additional investigation here, the situation is now as follows: I have a serial device that takes input in batches of four bytes and outputs responses in batches of ...
0
votes
0answers
303 views

How to set a large stty size?(default 80x24)

I'm really not sure where is the problem, so I'm putting all message i think helpful here. dmesg | grep drm [ 0.316388] fb0: switching to cirrusdrmfb from EFI VGA [ 0.316769] [drm] fb mappable ...
1
vote
1answer
1k views

Accessing serial console over ssh-connection

We have a debian buster booting into multi-user.target (enabled via sudo systemctl set-default multi-user.target) and a USB serial adapter. Loggin in and accessing serial console via sudo screen /dev/...
0
votes
0answers
127 views

Linux system process activity suspended

Introduction: I am running a cpp application on an embedded systems device with onboard Linux, which gathers sensor data, prepares it into a JSON formatted string payload and publishes the payload on ...
0
votes
0answers
324 views

How does systemd disable kernel console logging when starting getty?

I have noticed that if I have a kernel serial debugging enabled (and I see all the lovely kernel log lines printing out to the console), if I systemctl start getty@ttyS0 the screen is cleared and ...
3
votes
1answer
543 views

Connected using screen over RS-232. How do I transfer a file to my local system?

I'm connected to a device over a serial cable and using screen I have full access to the remote system. How do I transfer an entire file(s) to my local system? Not just the contents of the file, I ...