Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I've got a Raspberry Pi with a Raspbian SD card, connected to my Debian laptop via a USB TTY cable. The cable is supplying power to the board; my user is in the dialout group, and can see /dev/ttyUSB0. What application should I use to obtain terminal access to my Pi via this serial port?

share|improve this question

3 Answers 3

I use the Occidentalis distro and it has the following lines at the end of /etc/inittab:

#Spawn a getty on Raspberry Pi serial line
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

Once you have this you should be able to use a terminal emulator like minicom on your Debian laptop to connect to the RPi and you will get a login prompt. Make sure the port speed on the laptop matches the settings on the RPi (115200 in the example above).

share|improve this answer

You can use any terminal emulator such as PuTTY. You can even do a simple test with cat /dev/ttyUSB0 and try typing stuff in there...

However, there must be something running at the other end, such as getty for you to be able to login. I believe this might be activated by default on ttyAMA0.

share|improve this answer

Edit /etc/inittab to spawn serial consoles.

I like to use the "Minicom" client on the other end, rather than putty.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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