Questions tagged [serial-console]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
56 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
32 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
43 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
78 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
32 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
63 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
20 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 ) ...
2
votes
1answer
317 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
278 views

Connect SSH server to serial port

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
226 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
158 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
877 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
50 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
25 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
154 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
310 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
198 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
64 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 ...
0
votes
1answer
284 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
93 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
236 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
154 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
74 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
64 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
195 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
528 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
1k 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
2k 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
257 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
462 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.
1
vote
2answers
2k views

Send raw to serial with 0xA data

I try sending to serial port someone string echo -ne '\x55\x90\x17\x01\x00' > /dev/ttyACM0, usb monitoring show me this data: ffff8c957536f540 2932377867 S Bo:2:005:3 -115 5 = 55901701 00 this ...
1
vote
1answer
49 views

Serial console is not erasing display

I am logging into an Arch Linux install running on an ARM dev board via USB serial connection. Installation went smoothly, and everything seems fine. However, my console is behaving strangely; it ...
1
vote
0answers
198 views

libvirt and kvm/qemu, password on console redirection/serial doesn't work

I have added a serial,and a console to connect my vm without X using this command. virsh console myvm Unfortunately my vm has a luks encrypted root and..I can put the password only from graphical ...
0
votes
1answer
396 views

On Qubes OS 4.0, how to get xl console access to sys-net?

I tried xl console sys-net which is something that works for any other VM (AppVM, TemplateVM), it even works for sys-net-dm (I don't know what that is though) [ctor@dom0 ~]$ time sudo xl console ...
5
votes
2answers
3k views

Retrieve file over serial without kermit and lrzsz

I have an embedded Linux on a custom board and I would like to send and receive file over its serial port. The only way to communicate with this device is over serial and the device offers a console ...
0
votes
0answers
393 views

Slow boot when using kernel parameter console=ttyS0 to hide all output

For an end-user friendly operating system, I am creating a basic linux distribution using the Buildroot tool. I am using Syslinux/Isolinux as the bootloader and the Linux 4.14.54 (Long Term Support) ...
0
votes
1answer
84 views

How does one determine how to configure minicom to connect serially to a system on a chip?

I have this other question in which I am trying to connect to a router using a serial connection from my Raspberry PI. I am able to see the input from the boot loading messages using minicom but it'...
1
vote
0answers
349 views

No early serial console on a system that needs a kernel module loaded for the UART

I have a Board which uses a High-speed UART instead of some legacy hardware thats compiled into the kernel. The serial device only gets detected after loading the kernel module intel_lpss_pci. I am on ...
2
votes
1answer
396 views

How do you use a serial console to start and log into Oracle Linux/RHEL?

I have a headless appliance that has a lone serial console. I have an external HD with Linux installed. I can boot linux on my appliance using the USB HD (I know this because I can log into the ...
2
votes
0answers
488 views

Problems connecting via serial to usb port to PCengines APU board using HL-340

To connect to my APU board via serial line, I bought a QinHeng Electronics HL-340. My operating system is Debian Linux 9.4 What ever I try, I only see junk displayed on screen or the cursor jumping ...
0
votes
0answers
54 views

Raspberry Pi3: Connecting sim-card module to Serial Pins

I am trying to connect a sim-card (GSM) module to my RPi. I've connected its serial pins, to the serial pins on the Pi. I then edited the /boot/config.txt file by adding enable_uart=1 to the end. ...
2
votes
1answer
712 views

Suitables TERM variable values for a serial console

To enable a serial console on Linux, one uses getty (most usually, its variant agetty). This binary takes as argument, among other, the value to initialize the TERM variable with. On Debian, with Sys ...
1
vote
1answer
1k views

System fails to boot when providing `console` boot parameter to enable serial access

What I want to accomplish I would like to have remote terminal access to my NAS (which runs Debian Stretch) via an USB-RS232 adapter. As this machine is supposed to be headless, I would also like to ...
1
vote
1answer
408 views

How to run GNU screen in detached mode over serial console and save output?

I want to use GNU screen to run a single command in detached mode over serial console and save it's output to the log file on the host where screen is running. Basically, non-interactive equivalent of ...
0
votes
1answer
529 views

serial device output looks fine in gnu screen but garbled using cat

I have a serial device (Omega RDXL4SD thermocouple reader, comms details p 22 here) connected to a USB port on my Raspberry Pi running Raspbian via an FTDI cable. It appears at /dev/ttyUSB0 and the ...
4
votes
0answers
1k views

Single-user mode output to console (tty1) AND serial (ttyS0)

I am using grub2 on CentOS 7. I would like to know if it's possible to display output to both serial (ttyS0) and console (tty1) when I attempt to boot into single user mode. The ultimate goal is to ...
1
vote
0answers
387 views

Display PXE Network Boot Process in VirtualBox Serial Console

I want to start a VirtualBox VM in headless mode and view the network boot process in the terminal via a serial console (e.g. using screen or minicom). How do I accomplish this? Additional context ...
3
votes
0answers
266 views

Installing and running Devuan over serial console

I have a laptop with a broken screen and I am using it as a home server. So I would like to install Devuan GNU/Linux on it by using a serial console. I have a null-modem serial cable and I have ...