fix readme
This commit is contained in:
parent
75749efa02
commit
46621773c5
18
README.md
18
README.md
@ -56,11 +56,11 @@ Establish a ssh connection to your Pi:
|
||||
- the Pi should be reachable under `raspberrypi` or `raspberrypi.local` in your network, if not try to find out it's IP address from your router.
|
||||
- default username is `pi` and default password is `raspberry`
|
||||
- Example: `ssh pi@raspberrypi.local` or `ssh pi@192.168.2.100`
|
||||
> ⚠️ Warning: you should change the default passwort by executing `passwd` after login
|
||||
> ⚠️ Warning: you should change the default password by executing `passwd` after login
|
||||
|
||||
### Automatic setup
|
||||
|
||||
> ⚠️ Warning: executing scripts from the internet without checking is bad. This is only done to get things done fast. In any doubts you can perform the [Manual setup](#manual-setup) and execute all commands step-by-setop to understand what's going on.
|
||||
> ⚠️ Warning: executing scripts from the internet without checking is bad. This is only done to get things done fast. In any doubts you can perform the [Manual setup](#manual-setup) and execute all commands step-by-step to understand what's going on.
|
||||
|
||||
- download and excecute setup script (you will be prompted to confirm certain steps beforehand anyway)
|
||||
> `curl https://git.bstly.de/Lurkars/luniebox/raw/branch/main/luniebox.sh -o luniebox.sh`
|
||||
@ -99,9 +99,9 @@ setup application
|
||||
>
|
||||
> `cp /home/pi/luniebox/contrib/config/luniebox.cfg /home/pi/luniebox/config/luniebox.cfg`
|
||||
>
|
||||
> `sudo cp /home/pi/luniebox/contrib/luniebox-app.service /etc/systemd/system/`
|
||||
> `sudo cp /home/pi/luniebox/contrib/service/luniebox-app.service /etc/systemd/system/`
|
||||
>
|
||||
> `sudo cp /home/pi/luniebox/contrib/luniebox-daemon.service /etc/systemd/system/`
|
||||
> `sudo cp /home/pi/luniebox/contrib/service/luniebox-daemon.service /etc/systemd/system/`
|
||||
>
|
||||
> `sudo systemctl daemon-reload`
|
||||
>
|
||||
@ -115,7 +115,7 @@ setup spotifyd
|
||||
>
|
||||
> `cp /home/pi/luniebox/contrib/config/spotifyd.cfg /home/pi/luniebox/config/spotifyd.cfg` (if you use other audio hardware, you may need to adjust the `backend` and `device` properties to your needs!)
|
||||
>
|
||||
> `sudo cp /home/pi/luniebox/contrib/spotifyd.service /etc/systemd/system/`
|
||||
> `sudo cp /home/pi/luniebox/contrib/service/spotifyd.service /etc/systemd/system/`
|
||||
>
|
||||
> `sudo systemctl daemon-reload`
|
||||
>
|
||||
@ -152,7 +152,7 @@ setup ClSpotify
|
||||
##### enable SPI for RFID Reader
|
||||
|
||||
uncomment `dtparam=spi=on` in `/boot/config.txt`
|
||||
> `sudo sed -i '/dtparam=spi=on/s/^#//g' /boot/config.txt`
|
||||
> `sudo sed -i "/dtparam=spi=on/s/^#//g" /boot/config.txt`
|
||||
|
||||
##### enable I2C for MPU9250 9-axis sensor
|
||||
|
||||
@ -160,7 +160,7 @@ install `i2c-tools` and `python3-smbus`
|
||||
> `sudo apt install -y i2c-tools python3-smbus`
|
||||
|
||||
uncomment `dtparam=i2c_arm=on` in `/boot/config.txt`
|
||||
> `sudo sed -i '/dtparam=i2c_arm=on/s/^#//g' /boot/config.txt`
|
||||
> `sudo sed -i "/dtparam=i2c_arm=on/s/^#//g" /boot/config.txt`
|
||||
|
||||
|
||||
add `dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=23,i2c_gpio_scl=24` to `/boot/config.txt`
|
||||
@ -171,7 +171,7 @@ add `dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=23,i2c_gpio_scl=2
|
||||
##### for Pimoroni Amp or DAC
|
||||
|
||||
disable onboard audio comment out `dtparam=audio=on` in `/boot/config.txt`
|
||||
> `sudo sed -i '/dtparam=audio=on/s/^/#/g' /boot/config.txt`
|
||||
> `sudo sed -i "/dtparam=audio=on/s/^/#/g" /boot/config.txt`
|
||||
|
||||
setup hifiberry-dac by adding
|
||||
```
|
||||
@ -183,7 +183,7 @@ to `/boot/config.txt`
|
||||
|
||||
##### for Adafruit Speaker Bonnet for Raspberry Pi
|
||||
disable onboard audio comment out `dtparam=audio=on` in `/boot/config.txt`
|
||||
> `sudo sed -i '/dtparam=audio=on/s/^/#/g' /boot/config.txt`
|
||||
> `sudo sed -i "/dtparam=audio=on/s/^/#/g" /boot/config.txt`
|
||||
|
||||
setup hifiberry-dac and i2s by adding
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user