change README.md
This commit is contained in:
89
README.md
89
README.md
@@ -1,58 +1,61 @@
|
||||
# Setup
|
||||
## 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
|
||||
# Raspberry PI
|
||||
|
||||
country=PT
|
||||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||
update_config=1
|
||||
|
||||
network={
|
||||
ssid="NETWORK-NAME"
|
||||
psk="NETWORK-PASSWORD"
|
||||
}
|
||||
- Connect the PI and wait 1 minute or 2 to boot
|
||||
- Check the IP on DHCP Server
|
||||
## Configuration and Commands
|
||||
|
||||
# Update OS
|
||||
### HeadLess setup wifi network
|
||||
|
||||
sudo apt update && sudo apt upgrade
|
||||
Create an empty file named ssh in the /boot folder of SD Card.
|
||||
|
||||
# updade firmware
|
||||
/boot/wpa_supplicant.conf
|
||||
|
||||
sudo apt update && sudo apt upgrade
|
||||
sudo rpi-eeprom-update
|
||||
sudo apt install rpi-eeprom
|
||||
```bash
|
||||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||
update_config=1
|
||||
country=[COUNTRY CODE]
|
||||
|
||||
network={
|
||||
ssid="[NETWORK SSID]"
|
||||
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
|
||||
password : raspberry
|
||||
|
||||
!important change the default password
|
||||
|
||||
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
|
||||
|
||||
## Shields
|
||||
|
||||
### 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
|
||||
|
||||
Reference in New Issue
Block a user