Questions tagged [serial-console]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 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
16 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
7 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
34 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
32 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
29 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
22 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
22 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
163 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
22 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
40 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
30 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
22 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
46 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
73 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
36 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
51 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
310 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
287 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
76 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 ...
0
votes
0answers
151 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
162 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
54 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
399 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 -...
0
votes
0answers
56 views

Configure user to automatically login on virtual console (tty1) for CentOS 8

We need two terminals/consoles per machine. One is connected with IPMI over Ethernet and the other is a software-based console that runs from the Intel BMC's web server. The IPMI terminal ( ttyS0 ) ...
4
votes
2answers
1k 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
579 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
2k 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
326 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
1k 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 ...
1
vote
0answers
60 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
35 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
260 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
606 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
364 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
198 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
742 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
111 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
286 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
305 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 ...
0
votes
0answers
97 views

Chained serial connections to Linux machines with picocom and screen issues

I am connecting via serial terminal (picocom) to a Linux machine which at the same time has several serial interfaces I want to use. In that Linux machine I can only use screen to do so. My problem is ...
1
vote
0answers
16 views

Assigning users to serial device server

I'm working on a server (CentOS 7) that will be connected to a serial device service. I also have 6 client machines. The SDS makes the devices show as actual devices in linux and can be controlled by ...
1
vote
1answer
67 views

challenges using devices and stdin

I am using an embedded ubuntu based processor as a machine vision system. It communicates over 2 serial ports with an associated flight controller. My problem was that normal open(), close() calls ...
0
votes
1answer
256 views

How can I halt a boot over serial when a prompt is displayed?

I have a computer that I'm connected to via serial. I want to stop it as it boots up as part of a bash script. The computer issues a prompt along with a short time window to push a key to halt the ...
3
votes
0answers
628 views

Why do I not get a console with systemd?

I'm trying to get a login prompt on an embedded system using Debian and systemd. The system is connected via a physical serial console to a host PC. If I start the kernel with the cmdline parameters ...
0
votes
1answer
2k views

Dpkg-reconfigure openssh-server fails on boot

When I boot the linux, dpkg-reconfigure openssh-server fails and the booting gets stopped there. But when i press ctrl+c it resumes the booting with dpkg-reconfigure failed.
1
vote
1answer
3k views

What is the difference between serial-getty@ttyAMA0.service and getty@ttyAMA0.service

To disable some getty on my device /dev/ttyAMA0, I have to mask it with systemctl mask serial-getty@ttyAMA0.service. This works fine. So I enable a getty on ttyUSB1 with systemctl enable getty@ftdi2....
1
vote
1answer
1k views

Android Serial Port is being used for no permission to open

I have a Wandboard IMX 6 with Android OS. I can't read RS232 data. I was wrote an app for this on QtCreator with C++. I have an issue. When i pressed the connect button i take serial port is being ...
0
votes
1answer
316 views

Getting rid of a serial console on Respeaker Core V2

I have a Respeaker Core v2.0 and I would like to use the UART interface (this board has a USB to TTL adapter connected to the Uart port) in order to make this board communicate with another one. ...
1
vote
1answer
529 views

How to send F10 with gtkterm?

How can I send F1..F12 especially F10 in gtkterm? I have to press F10 at the right moment to select the boot menu of an APU2 system.