change README.md
This commit is contained in:
89
README.md
89
README.md
@@ -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={
|
|
||||||
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
|
### 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
|
```bash
|
||||||
sudo rpi-eeprom-update
|
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||||
sudo apt install rpi-eeprom
|
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user