Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [serial-console]

The tag has no usage guidance.

-1
votes
0answers
16 views

LTE Modem not working in 1 out of 20 boots

I have an embedded device that runs Ubuntu 16.04 and has a LTE modem connected to it. The modem usually works normally on boot and shows up as usb2 device (when using ifconfig). It also gives my ...
0
votes
0answers
25 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 ...
0
votes
0answers
28 views

Serial console and terminal with openrc and sysvinit

I have a PC with a serial interface and I would like to run GNU/Linux on it using a serial console (this would spare me attaching a screen and a keyboard to it since I would like to use it as a server)...
3
votes
1answer
77 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
21 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
13 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
57 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
39 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 ...
2
votes
0answers
228 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
269 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
340 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....
0
votes
1answer
350 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
110 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. ...
0
votes
1answer
208 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
394 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
38 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 ...
0
votes
0answers
110 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
0answers
31 views

Why serial of libvirt using pts/* is avaliable only to root?

I have a old vm,no networking(sic!) so I use the old good serial for comunicate from host. On libvirt/qemu is possible to setup a pseudotty pts like a real serial port. Serial is ok on guest,on host ...
0
votes
1answer
161 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 ...
1
vote
2answers
619 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
195 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
40 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
229 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
193 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
296 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
44 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
310 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
646 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
159 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
344 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 ...
3
votes
0answers
673 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
242 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
190 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 ...
1
vote
0answers
420 views

Serial console using ttyS5 for EFI boot

I have a host where I run minicom and there is a board with two serial ports (ttyS4,ttyS5). I connect board to host with serial to usb which is identified as ttyUSB0 in my host. When I set kernel ...
-1
votes
1answer
65 views

Make access to serial console impossible

If I stop getty for the following vt I can achieve what I want, but only until reboot systemctl stop serial-getty@ttymxc1 1) How do I make it permanent? "disable" does not help. 2) How do I make it ...
0
votes
1answer
700 views

No User Prompt on Serial Console

I am trying to enable the serial console on my SystemD VM so I can get in to it via the console, but when connecting it is not letting me select the user. Reading through the serial console ...
1
vote
1answer
155 views

Set ttyS0 keyboard layout

I have a beauty of a serial terminal, but it doesn't natively support a Dvorak keymap. Is there a way to remap this with software, or at the kernel level? It's a Wyse WY-185.
2
votes
1answer
3k views

Access root filesystem from U-boot

I'm trying to debug an embedded device, connection via serial port, connected with USB to UART cable. Embedded Linux v.2.6.26.5 How to access the root filesystem "/" and subdirectories under the root ...
1
vote
0answers
96 views

Terminal freeze encountered when trying to avoid password prompt for serial port access using minicom

I am trying to open the device /dev/ttyUSB5 using minicom: user4@user-pc-4:~$ sudo minicom -D /dev/ttyUSB5 -b 115200 The above throws the password prompt at the terminal when I run it. Before doing ...
0
votes
1answer
319 views

serial DMA pausing after 2048 bytes

I have a sama5d36 device running Debian jessie (kernel 4.1.10) with a DMA USART. To get the DMA USART to output correctly I had to turn off ECHO and ONLCR. stty -F /dev/ttyS2 -echo -onlcr speed ...
3
votes
1answer
119 views

Why doesn't /proc/self/fd/0 have a writable bit in serial session before a shell is started?

I came across a program which uses a very old version of linenoise library. All write() are done to STDIN_FILENO, like this: write(STDIN_FILENO,prompt,plen) write fails with -1 and errno set to ...
0
votes
2answers
202 views

ModemManager flooding console on embedded Debian 8

I am developing a Debian 8 (Jessie) based system for an embedded solution, using multistrap to build a rootfs. The system is headless, and can be accessed via a serial console meant for debugging and ...
7
votes
2answers
2k views

Command wraps around same line after 80 characters

I have an annoying problem with minicom connected to a serial console to a Yocto Linux machine. The command that I enter wraps around on the same line after 80th character. This becomes very ...
1
vote
1answer
981 views

Break key for solaris sparc with serial terminal

On Solaris I use stop+a to enter prom If terminal is serial console without stop key,what is the break key? I try stty -a but no break key found. CTRL+C of course doesn't work because only ...
4
votes
1answer
484 views

How to configure embedded kernel to use serial line for PPP instead of TTY

I am about to start working on an embedded system which runs kernel v2.6.x. It is configured to use its serial line as a TTY (accessible via e.g. minicom, stty), but I want to run IP over the serial ...
1
vote
1answer
1k views

How can I install OpenBSD using the serial console, without external monitor? With a bootable USB stick?

How can I install OpenBSD on my HP Server using the serial console, without external monitor? I have no monitor in the Datacenter, but I have my Laptop with Debian/GNU/Linux. So far so good. How do ...
1
vote
1answer
937 views

Can't remove ttyS0 from /etc/securetty

Running RHEL6.6. Been trying to secure the system, and am having difficulty disabling root logins over the serial connection. My understanding is that I need to comment-out/remove the ttyS0 line, ...
0
votes
1answer
102 views

Is there any tool in linux which will specify baud rate

I have tried gtkterm and a couple of other tools. None of them seem to support a baud rate which is higher than 115200. Could someone suggest some tools which will allow higher baud rates?
2
votes
0answers
172 views

How to assign different configuration for ttyS0 under different environments

I have a computer (let's call it as DevPC) that sometimes run Linux in native environment and that sometimes run Linux on Xen. I connect this computer to another computer (let's call it as MonitorPC) ...
1
vote
0answers
881 views

Unable to get login prompt on /dev/ttyUSB0

I am attempting to connect a TI-89 graphing calculator as a serial terminal to a Raspberry Pi running the latest version of Raspbian. The calculator is emulating a PL2303 serial adapter at /dev/...