I've connected to the Raspberry Pi using a serial programmer for my Arduino. I've connected using screen and when I boot my Raspberry Pi it spits out all the normal kernel boot messages.

However, at the end of the output, there is no login prompt, so I am unable to use my Raspberry Pi through the serial port.

I've tried Raspbian, Pidora, and Arch Linux with no luck on either. There must be something simple I am missing, but what is it!


1 Answer 1


Take a look in /etc/inittab, and you will find lines like:

# Example how to put a getty on a serial line (for a terminal)
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

Which set up how getty listen at the given device.

In this case, the following needs to be added:

T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

As the Raspberry Pi uses ttyAMA0 as its serial port. Reboot your Raspberry Pi and you should now be able to connect with, for example, screen and login.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.