Last active
May 2, 2024 02:21
Revisions
-
dialupdev revised this gist
May 3, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Download the latest Raspberry Pi OS Lite image from https://www.raspberrypi.com/software/operating-systems/ (2022-04-04 at the time of this writing). Insert your microSD card. Use [Raspberry Pi Imager](https://www.raspberrypi.org/software/) to burn the image to your microSD card. Make to select "Set username and password" in the config before starting. Name the user `pi` and select your own password. Ensure the disk is mounted again, then enable SSH. -
dialupdev revised this gist
Jan 4, 2022 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Download the latest Raspberry Pi OS Lite image from https://www.raspberrypi.com/software/operating-systems/ (2021-10-30 at the time of this writing). Insert your microSD card. Use [Raspberry Pi Imager](https://www.raspberrypi.org/software/) to burn the image to your microSD card. @@ -8,7 +8,7 @@ Ensure the disk is mounted again, then enable SSH. $ touch /Volumes/boot/ssh ``` If you're planning on using the built-in WiFi on the Raspberry Pi 3/4/Zero W, add your Wifi configuration. Create the following file: ```sh $ nano /Volumes/boot/wpa_supplicant.conf @@ -29,7 +29,7 @@ network={ Eject your SD card and insert it into your Pi. Plug in your Pi and give it a minute to boot and connect to your network, either over WiFi or ethernet. Copy your public SSH key the the Pi. -
dialupdev revised this gist
Sep 22, 2021 . No changes.There are no files selected for viewing
-
dialupdev renamed this gist
Sep 22, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dialupdev revised this gist
Sep 17, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Download the latest Raspberry Pi OS Lite image from https://www.raspberrypi.org/software/operating-systems/ (2021-05-07 at the time of this writing). Insert your microSD card. Use [Raspberry Pi Imager](https://www.raspberrypi.org/software/) to burn the image to your microSD card. Ensure the disk is mounted again, then enable SSH. -
Steve Davis revised this gist
Mar 1, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Download the latest Raspbian Lite image from https://www.raspberrypi.org/downloads/raspbian/ (2020-02-13 at the time of this writing). Insert your microSD card. Use [balenaEtcher](https://www.balena.io/etcher/) to burn the image to your microSD card. -
Steve Davis revised this gist
Feb 8, 2020 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,3 +46,7 @@ $ sudo raspi-config ``` That's it! 🏆 Some ideas for next steps: * [Raspberry Pi Music Server](https://gist.github.com/celeryclub/e070e99ebf04f2d278a2b6b49c3aa908) * [Raspberry Pi VPN Server](https://gist.github.com/celeryclub/5d4b40d557d89de1e0c9ccfe20adac74) -
Steve Davis revised this gist
Feb 8, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Download the latest Raspbian Lite image from https://www.raspberrypi.org/downloads/raspbian/ (2020-02-05 at the time of this writing). Insert your microSD card. Use [balenaEtcher](https://www.balena.io/etcher/) to burn the image to your microSD card. -
Steve Davis revised this gist
Nov 28, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Download the latest Raspbian Lite image from https://www.raspberrypi.org/downloads/raspbian/ (2019-09-26 at the time of this writing). Insert your microSD card. Use [balenaEtcher](https://www.balena.io/etcher/) to burn the image to your microSD card. -
Steve Davis revised this gist
Jun 29, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Download the latest Raspbian Lite image from https://www.raspberrypi.org/downloads/raspbian/ (2019-06-20 at the time of this writing). Insert your microSD card. Use [balenaEtcher](https://www.balena.io/etcher/) to burn the image to your microSD card. -
Steve Davis revised this gist
Apr 29, 2019 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ Download the latest Raspbian Lite image from https://www.raspberrypi.org/downloads/raspbian/ (2019-04-08 at the time of this writing). Insert your microSD card. Use [balenaEtcher](https://www.balena.io/etcher/) to burn the image to your microSD card. Ensure the disk is mounted again, then enable SSH. ```sh $ touch /Volumes/boot/ssh ``` If you're planning on using the built-in WiFi on the Raspberry Pi 3/Zero W or an Edimax EW-7811Un USB Wifi adapter (rtl8188cus chipset), add your Wifi configuration. Create the following file: ```sh $ nano /Volumes/boot/wpa_supplicant.conf -
Steve Davis revised this gist
Nov 23, 2018 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,13 +5,13 @@ Insert your microSD card. Use [Etcher](https://etcher.io/) to burn the image to Ensure the disk is mounted again, then enable SSH. ```sh $ touch /Volumes/boot/ssh ``` If you're planning on using the built-in WiFi on Raspberry Pi 3/Zero W or the Edimax EW-7811Un USB Wifi adapter (rtl8188cus chipset), add your Wifi configuration. Create the following file: ```sh $ nano /Volumes/boot/wpa_supplicant.conf ``` And add this to it: @@ -34,15 +34,15 @@ Plug in your Pi and give it a minute to boot and connect to your network, either Copy your public SSH key the the Pi. ```sh $ cat ~/.ssh/id_rsa.pub | ssh pi@raspberrypi.local "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" ``` Configure your Pi. ```sh $ ssh pi@raspberrypi.local $ sudo raspi-config ``` That's it! 🏆 -
Steve Davis revised this gist
Nov 22, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Download the latest Raspbian Lite image from https://www.raspberrypi.org/downloads/raspbian/ (2018-11-13 at the time of this writing). Insert your microSD card. Use [Etcher](https://etcher.io/) to burn the image to your microSD card. This can take several minutes. -
Steve Davis revised this gist
Oct 12, 2018 . 1 changed file with 8 additions and 30 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,40 +1,21 @@ Download the latest Raspbian Lite image from https://www.raspberrypi.org/downloads/raspbian/ (2018-10-09 at the time of this writing). Insert your microSD card. Use [Etcher](https://etcher.io/) to burn the image to your microSD card. This can take several minutes. Ensure the disk is mounted again, then enable SSH. ```sh touch /Volumes/boot/ssh ``` If you're planning on using the built-in WiFi on Raspberry Pi 3/Zero W or the Edimax EW-7811Un USB Wifi adapter (rtl8188cus chipset), add your Wifi configuration. Create the following file: ```sh nano /Volumes/boot/wpa_supplicant.conf ``` And add this to it: ```sh country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev @@ -46,25 +27,22 @@ network={ } ``` Eject your SD card and insert it into your Pi. Plug in your Pi and give it a minute to boot and connect to your network, either over Wifi or ethernet. Copy your public SSH key the the Pi. ```sh cat ~/.ssh/id_rsa.pub | ssh pi@raspberrypi.local "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" ``` Configure your Pi. ```sh ssh pi@raspberrypi.local sudo raspi-config ``` That's it! 🏆 -
Steve Davis revised this gist
Sep 30, 2018 . 3 changed files with 0 additions and 25 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +0,0 @@ -
Steve Davis revised this gist
Sep 3, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ diskutil unmountDisk [path to disk, e.g. "/dev/disk2"] Burn the image to your SD card. This can take several minutes. ```sh sudo dd bs=1m if=[path to img file, e.g. "2018-06-27-raspbian-stretch.img"] of=[path to rdisk, e.g. "/dev/rdisk2"] conv=sync ``` Ensure the disk is mounted again, then enable SSH. -
Steve Davis renamed this gist
Jul 5, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Steve Davis revised this gist
Jul 5, 2018 . 3 changed files with 0 additions and 46 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,27 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +0,0 @@ File renamed without changes. -
Steve Davis revised this gist
Oct 16, 2017 . 2 changed files with 20 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,26 @@ Ensure the disk is mounted again, then enable SSH. ```sh touch /Volumes/boot/ssh ``` If using Edimax EW-7811Un (rtl8188cus chipset) OR built-in WiFi on Raspberry Pi 3, add your Wifi configuration. Create the following file: ```sh nano /Volumes/boot/wpa_supplicant.conf ``` And add this to it: ```sh country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="[SSID]" psk="[password]" } ``` Eject your SD card. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +0,0 @@ -
Steve Davis revised this gist
Sep 27, 2017 . No changes.There are no files selected for viewing
-
Steve Davis revised this gist
Sep 26, 2017 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,8 +3,7 @@ # Run this before Install section of spotify-connect-web ```sh sudo apt-get install python-pip python-gevent python-alsaaudio ``` # Add this to /etc/shairport-sync.conf -
Steve Davis revised this gist
Sep 26, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Change this: alsa = { output_device = "hw:1"; (or whatever number card "sndrpihifiberry" is above) interpolation = "soxr"; } If audio is underflowing, set audio_backend_buffer_desired_length to 22050 -
Steve Davis revised this gist
Sep 17, 2017 . 3 changed files with 5 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,3 +22,6 @@ pcm.softvol { # Make sure device shows up: aplay -l # Look for "card { id }: sndrpihifiberry" # Initialize mixer speaker-test -D softvol -c 2 -t wav This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Change this: alsa = { output_device = "hw:1"; (or whatever number card "sndrpihifiberry" is above) } If audio is underflowing, set audio_backend_buffer_desired_length to 22050 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,12 +7,7 @@ sudo apt-get install libffi-dev libasound2-dev python-dev python-pip python-geve sudo pip install -r requirements.txt ``` # Add this to /etc/shairport-sync.conf sessioncontrol = { run_this_before_play_begins = "/home/pi/stop_spotify_connect.sh"; run_this_after_play_ends = "/home/pi/start_spotify_connect.sh"; -
Steve Davis revised this gist
Aug 24, 2017 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,19 +11,20 @@ diskutil list Find the one that matches your SD card and unmount it. ```sh diskutil unmountDisk [path to disk, e.g. "/dev/disk2"] ``` Burn the image to your SD card. This can take several minutes. ```sh sudo dd bs=1m if=[path to img file, e.g. "2017-08-16-raspbian-stretch.img"] of=[path to rdisk, e.g. "/dev/rdisk2"] conv=sync ``` Ensure the disk is mounted again, then enable SSH. ```sh touch /Volumes/boot/ssh touch /Volumes/boot/wpa_supplicant.conf ``` Eject your SD card. -
Steve Davis revised this gist
Aug 23, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,10 +20,10 @@ Burn the image to your SD card. This can take several minutes. sudo dd bs=1m if=[path to img file, e.g. "2017-08-16-raspbian-stretch.img"] of=[path to disk] ``` Ensure the disk is mounted again, then enable SSH. ```sh touch /Volumes/boot/ssh.txt ``` Eject your SD card. -
Steve Davis revised this gist
Aug 22, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ I recommend starting with Stretch for development projects. Stretch Lite doesn't include the build tools that most projects require. It's easier to just start with them in place rather than spend a lot of time installing things. Download the latest Raspbian image from https://www.raspberrypi.org/downloads/raspbian/. @@ -17,7 +17,7 @@ diskutil unmountDisk [path to disk, e.g. "/dev/disk1"] Burn the image to your SD card. This can take several minutes. ```sh sudo dd bs=1m if=[path to img file, e.g. "2017-08-16-raspbian-stretch.img"] of=[path to disk] ``` Ensure the disk is mounted again and enable SSH. -
Steve Davis revised this gist
Mar 6, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ #!/bin/bash pgrep -f spotify-connect-web/main.py | xargs kill -9 -
Steve Davis revised this gist
Mar 6, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ #!/bin/bash pgrep -f main.py | xargs kill -9 -
Steve Davis revised this gist
Mar 6, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ #!/bin/bash LD_LIBRARY_PATH=/home/pi/spotify-connect-web python /home/pi/spotify-connect-web/main.py -u [username] -p [password] -k /home/pi/spotify_appkey.key -n [name] -b 320 --playback_device softvol --mixer Master & -
Steve Davis revised this gist
Mar 5, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ diskutil unmountDisk [path to disk, e.g. "/dev/disk1"] Burn the image to your SD card. This can take several minutes. ```sh sudo dd bs=1m if=[path to img file, e.g. "2017-03-02-raspbian-jessie.img"] of=[path to disk] ``` Ensure the disk is mounted again and enable SSH.
NewerOlder