Questions tagged [serial-console]
The serial-console tag has no summary.
190 questions
0
votes
0
answers
9
views
Reading data from serial port on linux
We have an old setup of a PLC and an old PC (from 90s). The PC previously ran a windows program reading PLC data from a Serial port and plotting it on the monitor. Long story short, the old program no ...
0
votes
1
answer
150
views
How do I adapt the /etc/issue file depending on how the terminal is attached: serial line vs. network?
I've got a machine running OpenSuSE Leap 15.5, which can be remote-controlled both by usign a local serial line (RS232), and via network (SSH). Now I've got an /etc/issue file auto-generated by /usr/...
15
votes
2
answers
1k
views
VT320 over ttyUSB0 crashes when encountering emoji
For better or worse, I hooked up my VT320 to my Linux machine. I'm trying to run some software on, but the serial connection seems to end up in a crashed state whenever somes emojis are rendered.
Not ...
0
votes
1
answer
772
views
Serial console: How can I switch off automatic login?
I've got a cluster of four nodes running Debian Bullseye. All of them are connected to a controller board via a UART for admin purposes. The control board uses picocom to access the serial console of ...
0
votes
1
answer
132
views
What is the equivalent of "clear line con 0"?
What is the equivalent of clear line con 0 in Cisco IOS?
I'm using serial-getty@ttyS0.
7
votes
3
answers
1k
views
Is the difference between physical terminal and Linux virtual terminal the use of serial cable?
In the early days of computing, the setup is usually like this:
and we call the VT-100 "physical terminal".
But in Linux, we call virtual terminals "virtual" (the ones accessed by ...
0
votes
1
answer
634
views
Using telnet command without protocol negotiation
I'm using telnet to connect to a serial port via a TCP/IP server. I need a raw, unfiltered, unbuffered connection, and can get most of the way there, but no matter what I do telnet sends protocol ...
0
votes
1
answer
103
views
Bricked ssh port
Soo I was playing with firewalld on my ubuntu server instance (Oracle Cloud) and I forgot to add rule for ssh Port so I can't connect to it
I tried using serial console becouse OCI lets you connect to ...
0
votes
1
answer
645
views
Virtual COM port using only USB cable
I have seen that it is possible to connect two computers by USB cable and make a virtual ethernet bridge or something like that.
My question is, can we do something similar but configure the ...
2
votes
1
answer
2k
views
Debian VM doesn’t boot on QEMU with "console=hvc0" kernel parameter
I’m running virtual linux machine (debian12) on QEMU with -device virtconsole argument. That argument adds /dev/hvcX device nodes to VM. QEMU can connect that device to unix socket on host. If i pass “...
1
vote
0
answers
138
views
Redirect pstore to a file
PSTORE description says
pstore is an oops/panic logger that writes its logs to a block device and non-block device
I configured my kernel (embedded system) to store console output to pstore too.
Now ...
3
votes
4
answers
247
views
Protect against vanishing output redirection targets
I have a daemon running on an embedded Linux device with its output redirected to the serial console:
my_daemon > /dev/ttyS0
But now if a user exits the shell running on the serial interface then ...
0
votes
1
answer
242
views
Dumb terminal agetty keyboard layout filter
I recently acquired an old Heathkit dumb terminal, and I would like to get it working with the colemak keyboard layout. Because the terminal sends ascii codes directly over serial, I don't believe ...
4
votes
1
answer
1k
views
Is there a difference in serial data formatting between Linux and Windows?
I am trying to read in serial data from an RS-485 RFID reader using a RS-485 to USB converter found here and a python script running Pyserial.
The issue I'm facing is that when I print out what is ...
0
votes
0
answers
78
views
What is unit number in /boot/device.hints FreeBSD configuration
In device.hints FreeBSD manpage we have following description:
A device hint line looks like:
hint.driver.unit.keyword="value"
where driver is the name of a device driver, unit is the ...
0
votes
0
answers
82
views
screen extensions to vt52
The documentation for the vt52 terminal does not include the codes transmitted for
CTRL+ something, ALT+ something (clearly: they did not exist).
screen launched in vt52 mode sends some keys. For ...
3
votes
1
answer
773
views
How to get a serial console on a modern Laptop
I would like to observe my Linux system while getting suspended. Reading out the dmesg does not work, because my system stops logging until the device resumes. But that's exactly the problem, my ...
0
votes
1
answer
2k
views
How to setup serial console on CentOS8/RedHat8?
I rely on serial console on CentOS 8 to debug.
I ever set it up on CentOS 7 by editing file /etc/default/grub as below,
GRUB_CMDLINE_LINUX="crashkernel=auto console=tty0 console=ttyS0,...
2
votes
1
answer
3k
views
Serial flow control issue with ttyUSB0
This is related to a previous thread I created about a month ago and which was answered.
Today I am attempting to setup a serial console login prompt on a laptop running Ubunutu 20 with a Belkin ...
0
votes
1
answer
388
views
Serial connection possibility between Windows and CentOs7
I want to establish connection via putty (serial connection) using UC232a adapter connected to null modem cable, connected to mini-serial-to-DB9 adapter and then to another PC with CentOS 7.
First of ...
3
votes
1
answer
2k
views
Some characters get lost when pasting large amounts of text into serial console
When pasting large amounts of text into a serial console like screen or minicom, some characters get lost and are not being transmitted.
1
vote
1
answer
638
views
find where USB 3.0 device attached
I would like to read a serial input (as for example here) in linux command line but I am not able to find out the attached device (Arduino) path.
I can identify the device:
# lsusb
Bus 005 Device 001: ...
0
votes
2
answers
397
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 ...
1
vote
0
answers
218
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 ...
2
votes
0
answers
448
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) ...