change README.md

This commit is contained in:
2024-06-01 20:39:30 +01:00
parent e9cb0dfa3d
commit 3bf21195bf

View File

@@ -1,58 +1,61 @@
# Setup # Raspberry PI
## OS
### [Raspberry Pi OS Lite](https://www.raspberrypi.com/software/operating-systems/)
- flash the OS ([etcher](https://www.balena.io/etcher/))
- HeadLess setup
- Enable ssh
Create an empty file named ssh on 'boot' partition
- Wifi Network
Create a file in the root of boot called: wpa_supplicant.conf
country=PT ## Configuration and Commands
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={ ### HeadLess setup wifi network
ssid="NETWORK-NAME"
psk="NETWORK-PASSWORD"
}
- Connect the PI and wait 1 minute or 2 to boot
- Check the IP on DHCP Server
# Update OS Create an empty file named ssh in the /boot folder of SD Card.
sudo apt update && sudo apt upgrade /boot/wpa_supplicant.conf
# updade firmware ```bash
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=[COUNTRY CODE]
sudo apt update && sudo apt upgrade network={
sudo rpi-eeprom-update ssid="[NETWORK SSID]"
sudo apt install rpi-eeprom psk="[NETWORK PASSWORD]"
}
```
## Updade
```bash
sudo apt update && sudo apt upgrade
#update firmware
sudo rpi-eeprom-update
sudo apt install rpi-eeprom
```
### update firmware
```bash
sudo rpi-eeprom-update
sudo apt install rpi-eeprom
```
### default username/password
# default username/password
username : pi username : pi
password : raspberry password : raspberry
!important change the default password ## Shields
sudo passwd pi
create a new user
sudo useradd -m NEWUSERNAME
sudo passwd NEWUSERNAME
add user to sudoers
sudo usermod -aG sudo USERNAME
delete default pi user
sudo userdel -r pi
### HiFiBerry - DAC Plus
[Check Git](https://git.limbosolutions.com/marcio.fernandes/pi.bluetooth.speaker)
## Keyestudio ReSpeaker 2-Mic Pi HAT
[Oficial Site](https://wiki.keyestudio.com/Ks0314_keyestudio_ReSpeaker_2-Mic_Pi_HAT_V1.0https:/)
## Aditional References
* [Raspberry Pi Official Site](https://www.raspberrypi.com/software/operating-systems/)
* https://git.limbosolutions.com
* https://git.limbosolutions.com/kb
* https://git.limbosolutions.com/kb/linux
* https://git.limbosolutions.com/marcio.fernandes/pi.bluetooth.speaker