The serial console is a text entry and display device for system administration connected through a serial link.
Questions tagged [serial-console]
104 questions
18
votes
2 answers
What is the correct way to connect serial console on RPi4 Model B?
My config.txt has:
dtoverlay=pi3-disable-bt
enable_uart=1
at the end and my cmdline.txt has:
root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200
And here's how I've connected it:
I followed this based on some other examples on this…
Unmanned Player
- 291
- 1
- 2
- 5
14
votes
4 answers
Change/reset password WITHOUT monitor/keyboard
I forgot the password to my Pi, but don't have access to a compatible monitor/keyboard. I've seen methods like these but they all involve editing cmdline.txt and then booting with a monitor and keyboard attached to run passwd pi from the main…
Luke M
- 747
- 1
- 7
- 17
11
votes
4 answers
How to identify the USB to Serial wire mismatched?
I am not alone, I experienced a similar problem as:
"...instead of having the pin connections described as they should be they were mismatched so GND is described as TXD, TXD as RXD, and RXD as GDN."
Having hours of problem and doubts, I found out…
Alain
- 445
- 1
- 6
- 13
10
votes
4 answers
Colored console over serial connection?
I am accessing two of my Pis via a serial connection on pins 8 and 10. One of them uses a serial to USB connector for my Mac and the other uses an HC-06 which connects to my Android. The console/terminal over serial is very bland and colorless,…
Patrick Cook
- 6,365
- 8
- 38
- 63
7
votes
3 answers
Debugging USB OTG Serial on the Pi Zero W
I have a whole bunch of Pi Zeros and Zero Ws. I've flashed SD cards with the latest Raspbian Jessie Lite, and I've followed the instructions at https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a with g_serial:
$ cat…
Kristian Glass
- 171
- 1
- 1
- 5
6
votes
2 answers
Sending Commands from PC to Raspberry Pi via USB
I am currently doing a project with the Raspberry Pi as a controller connected to a PC via USB and using the Pi to send commands to other devices connected via GPIO pins.
Simplified version: communication from PC to Pi to rest of system.
I'm…
intensified
- 61
- 1
- 2
- 2
6
votes
3 answers
How to install PiTFT and use to the GPIO for other usage (like serial console)
I am about to install PiTFT on a RPi model B.
However, doing so, I will lose the GPIOs for other usage (like
a serial cable cable, for instance).
Is it possible to install a PiTFT and still have a serial console cable
connected somehow to the RPi…
Alain
- 445
- 1
- 6
- 13
5
votes
2 answers
Garbage on Raspberry Pi console
Hey! There's a solution under the question, go look...
I'm using the Adafruit USB to TTL connector purchased from Microcenter. I have two separate parts, and have tried them both.
I've wired it 6/Black, 8/White, 10/Green on the GPIO pins. I…
Zoey Green
- 153
- 1
- 7
4
votes
1 answer
Why am I seeing some garbage bytes at the serial console login?
When I log into my serial console using screen /dev/ttyUSB0 115200, I see some garbage in the output:
��
Arch Linux 3.6.11-10-ARCH+ (ttyAMA0)
raspberry login: root
�Password:
Login incorrect
raspberry login: root
Password:
These question marks…
Lekensteyn
- 1,521
- 1
- 15
- 24
4
votes
2 answers
How can I disable the serial console on distributions that use U-Boot?
I'm trying to use a Raspberry Pi with a UART peripheral and a non-Raspbian Linux distribution. It seems like most of these distributions use U-Boot. I'm running into two problems:
U-Boot outputs on the serial console by default, which confuses the…
squircle
- 143
- 1
- 5
4
votes
4 answers
How an I improve sshd latency over WiFi?
I am using my pi4 as a portable dev server which I ssh into from a Chromebook over my home WiFi network.
What I'm seeing is that the character latency is very high, seriously impacting my developer experience. I've tried using mosh, which helps…
pinoyyid
- 51
- 7
3
votes
3 answers
connecting a USB to Serial TTL PL2303HX to Raspberry Pi
I have a USB to Serial TTL PL2303HX (Prolific chipset) that I would like to connect to my Pi. My Pi model is 2011.12.
The USB to Serial adapter has 5 PINs labeled as follows:
3V3
TXD
RXD
GND
+5V
I received 4 cables with the USB to Serial Adapter…
Chris Snow
- 263
- 3
- 10
3
votes
1 answer
Rasbian: Does it include a Serial Terminal to connect to the hardware serial port?
I have RPI A+ and with its single USB port, I am not able to install any software at the moment. (I have an USB hub on order)
I am trying to test new hardware I designed and want to see the output of the hardware Serial port. Is there some kind of…
Bertus Kruger
- 228
- 1
- 4
- 10
3
votes
2 answers
How to enable or fix the TTL console connection on the Raspberry Pi?
EDIT: Finally got it to work, see answer below for a complete guide on how to make this thing work starting from scratch
I have a PL2303HX cable connected to the GPIO on 5V GND RXD TXD and it IS working but not completely.
When I boot the Pi I can…
TCZ8
- 171
- 1
- 6
3
votes
4 answers
USB to Serial converter / connect to pi?
I have a drawer full of USB/RS232 adapters... is it possible to attach the Tx/Rx pins on the serial end of this cable to the Tx/Rx GPIO pins on the pi and have console access?
EDIT: Bought this:…
AaronJAnderson
- 143
- 1
- 1
- 4