Raspberry Pi: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Introduction= Just some notes in case I forget. =Setting Up= For the openssh-server you need to install and then use rasp-config to activate For sudoers you need to EDITOR=vi..." |
|||
Line 6: | Line 6: | ||
For the UART set it in the config.txt and to redirect bluetooth add | For the UART set it in the config.txt and to redirect bluetooth add | ||
<syntaxhighlight> | <syntaxhighlight> | ||
enable_uart=1 | |||
dtoverlay=pi3-miniuart-bt | dtoverlay=pi3-miniuart-bt | ||
dtoverlay=pi3-disable-bt | dtoverlay=pi3-disable-bt | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Change the baud rate in the cmdline.txt | |||
<syntaxhighlight> | |||
console=serial0,38400 console=tty1 root=PARTUUID=330e768f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes | |||
</syntaxhighlight> | |||
If used on a Model b+ pins 6,8 and 10 where 6 is gnd, 8 is TXD and 10 is RX. Don't forget RX->TX and TX->RX with UART |
Latest revision as of 11:50, 19 May 2021
Introduction
Just some notes in case I forget.
Setting Up
For the openssh-server you need to install and then use rasp-config to activate For sudoers you need to EDITOR=vi visudo For the UART set it in the config.txt and to redirect bluetooth add
enable_uart=1
dtoverlay=pi3-miniuart-bt
dtoverlay=pi3-disable-bt
Change the baud rate in the cmdline.txt
console=serial0,38400 console=tty1 root=PARTUUID=330e768f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes
If used on a Model b+ pins 6,8 and 10 where 6 is gnd, 8 is TXD and 10 is RX. Don't forget RX->TX and TX->RX with UART