Raspberry Pi Serial TTY Console: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "Using a PL2303HXD cable connect to a USB port on the computer. I bought mine form eBay for around AU$6. Make sure you get the PL2303HXD and not the PL2303HX. Note the D on t...")
 
No edit summary
Line 1: Line 1:
Using a PL2303HXD cable connect to a USB port on the computer.  I bought mine form eBay for around AU$6. Make sure you get the PL2303HXD and not the PL2303HX.  Note the D on the end of the model number.
Using a PL2303HXD cable connection to a USB port on the computer.  I bought mine form eBay for around AU$6. Make sure you get the PL2303HXD and not the PL2303HX.  Note the D on the end of the model number.
= Installing =
<pre>
<pre>
sudo wget https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console
sudo wget https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console
Line 5: Line 6:
</pre>
</pre>


= Enabling/Disabling =
<pre>
<pre>
rpi-serial-console <status|enable|disable>
rpi-serial-console <status|enable|disable>
</pre>
</pre>
== Configuring Speed ==
<pre>
sudo rpi-serial-console enable 57600
</pre>
= Connection Settings =
{|class="wikitable"
!colspan="2"|Default Settings
|-
!style="text-align:right;"|Speed/Baud
|115200
|-
!style="text-align:right;"|Data Bits
|8
|-
!style="text-align:right;"|Stop Bits
|1
|-
!style="text-align:right;"|Parity
|None
|-
!style="text-align:right;"|Flow
|XON/XOFF
|}


[[Category : Raspberry Pi]]
[[Category : Raspberry Pi]]

Revision as of 05:48, 14 January 2016

Using a PL2303HXD cable connection to a USB port on the computer. I bought mine form eBay for around AU$6. Make sure you get the PL2303HXD and not the PL2303HX. Note the D on the end of the model number.

Installing

sudo wget https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console
sudo chmod +x /usr/bin/rpi-serial-console

Enabling/Disabling

rpi-serial-console <status|enable|disable>

Configuring Speed

sudo rpi-serial-console enable 57600

Connection Settings

Default Settings
Speed/Baud 115200
Data Bits 8
Stop Bits 1
Parity None
Flow XON/XOFF