Uploaded March 2021 | Updated December 2026, 3 hours ago
GPSD can be very frustrating and it took me many retries until I got it right. Now my GPS works every time I boot my Astroberry. Follow the steps below or watch the video for a complete explanation.
Amazon Affiliate Links, Thank you for your support!
Raspberry Pi Case (Argon ONE V2 Raspberry Pi 4)
amzn.to/3t8xaQO
Raspberry PI 4
amzn.to/3agznB7
128GB SD Card
amzn.to/3pBigjM
Wiha 35393 5 Piece Mini L-Key Short Hex SAE Set
amzn.to/2Mv2999
Astroberry Download
astroberry.io
Thanks for watching!
Doug
Please Like, Comment, and Subscribe!
youtube.com/subscription_center?add_user=DugDog
######################################################################
############ GPSD INSTRUCTIONS FOR ASTROBERRY ###########################
######################################################################
# Found this here: astroberry.io/docs/index.php?title=Astroberry_Server
# By default, this points to Warsaw Poland and it conflicts with your GPS hardware
# If you have a static location, enter your values here.
sudo nano /etc/location.conf
# By default it shows a prompt password for pi, default password is raspberry TWICE for both lines.
# Or you could just add sudo before each systemctl statement.
systemctl stop virtualgps && systemctl disable virtualgps
# update and upgrade
sudo apt-get update && sudo apt-get upgrade
# Find your USB Device. ls /dev then take a screenshot, then plugin your GPS USB, then ls /dev to compare, find the newly listed device.
ls /dev
# Is GPSD stopped already?
sudo systemctl is-active gpsd
# If active, stop it
sudo systemctl stop gpsd.socket
# Remove the gpsd.socket
sudo systemctl disable gpsd.socket
# kill all gpsd running
sudo killall gpsd
# Edit your GPSD socket
sudo nano /lib/systemd/system/gpsd.socket
#Change this line:
ListenStream=0.0.0.0:2947
# End gpsd.socket edit
#### Edit GPS config file
sudo nano /etc/default/gpsd
# Important to disable, if you don't disable the USBAUTO, then your GPS will conflict with other hardware.
USBAUTO="false"
#IMPORTANT THIS MUST BE POINTED TO CORRECT USB DEVICE, use ls /dev to find your GPS dongle.
DEVICES="dev/ttyUSB0"
#### Finish Edit
#Bind the GPSD to your GPS Device ID
sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
# Re-enable your GPSD program
sudo systemctl enable gpsd.socket
# Reboot
sudo reboot
# Now reboot and start GPSD (GPS) every time! Unbroken!
gpsmon
# Check out KSTARS now
# Other notes. . .
# When adding other USB devices, you should check to make sure your GPS port hasn't changed. If it has changed, then repeat the steps above
Music By
Kevin MacLeod
(incompetech.com)
Soundtracks:
"Welcome to the Show"
"Also Sprach Zarathustra"
Licensed under Creative Commons:
By Attribution 3.0
creativecommons.org/licenses/by/3.0
GPSD can be very frustrating and it took me many retries until I got it right. Now my GPS works every time I boot my Astroberry. Follow the steps below or watch the video for a complete explanation.
Amazon Affiliate Links, Thank you for your support!
Raspberry Pi Case (Argon ONE V2 Raspberry Pi 4)
amzn.to/3t8xaQO
Raspberry PI 4
amzn.to/3agznB7
128GB SD Card
amzn.to/3pBigjM
Wiha 35393 5 Piece Mini L-Key Short Hex SAE Set
amzn.to/2Mv2999
Astroberry Download
astroberry.io
Thanks for watching!
Doug
Please Like, Comment, and Subscribe!
youtube.com/subscription_center?add_user=DugDog
######################################################################
############ GPSD INSTRUCTIONS FOR ASTROBERRY ###########################
######################################################################
# Found this here: astroberry.io/docs/index.php?title=Astroberry_Server
# By default, this points to Warsaw Poland and it conflicts with your GPS hardware
# If you have a static location, enter your values here.
sudo nano /etc/location.conf
# By default it shows a prompt password for pi, default password is raspberry TWICE for both lines.
# Or you could just add sudo before each systemctl statement.
systemctl stop virtualgps && systemctl disable virtualgps
# update and upgrade
sudo apt-get update && sudo apt-get upgrade
# Find your USB Device. ls /dev then take a screenshot, then plugin your GPS USB, then ls /dev to compare, find the newly listed device.
ls /dev
# Is GPSD stopped already?
sudo systemctl is-active gpsd
# If active, stop it
sudo systemctl stop gpsd.socket
# Remove the gpsd.socket
sudo systemctl disable gpsd.socket
# kill all gpsd running
sudo killall gpsd
# Edit your GPSD socket
sudo nano /lib/systemd/system/gpsd.socket
#Change this line:
ListenStream=0.0.0.0:2947
# End gpsd.socket edit
#### Edit GPS config file
sudo nano /etc/default/gpsd
# Important to disable, if you don't disable the USBAUTO, then your GPS will conflict with other hardware.
USBAUTO="false"
#IMPORTANT THIS MUST BE POINTED TO CORRECT USB DEVICE, use ls /dev to find your GPS dongle.
DEVICES="dev/ttyUSB0"
#### Finish Edit
#Bind the GPSD to your GPS Device ID
sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
# Re-enable your GPSD program
sudo systemctl enable gpsd.socket
# Reboot
sudo reboot
# Now reboot and start GPSD (GPS) every time! Unbroken!
gpsmon
# Check out KSTARS now
# Other notes. . .
# When adding other USB devices, you should check to make sure your GPS port hasn't changed. If it has changed, then repeat the steps above
Music By
Kevin MacLeod
(incompetech.com)
Soundtracks:
"Welcome to the Show"
"Also Sprach Zarathustra"
Licensed under Creative Commons:
By Attribution 3.0
creativecommons.org/licenses/by/3.0










![DIY Raspberry PI Digital Picture Photo Frame - P2
Raspberry PI Do It Yourself (DIY) Digital Picture Frame - Part 2. Here I cover STEP by STEP commands to configure your Raspberry PI. Follow each of these steps and youll have a working Slideshow program running in UNIX. I also show you how to share the Raspberry PI on your local network so you can copy Files directly to the Raspberry PI.
Part 3 I will describe how to mount your Digital Picture Frame.
Articulating Wall Mount Arm:
http://goo.gl/GXADQ9
RaspberryPI:
http://goo.gl/mPtAa4
Wireless Network Card USB:
http://goo.gl/0PNkbJ
Copy and Paste this code in your samba config file located here:
/etc/samba/smb.conf
Code Begin
[Photos]
comment = Photo Share
path = /home/pi/frame/photos
writeable = Yes
guest ok = no
read only = no
only guest = Yes
create mask = 0644
directory mask = 0755
browseable = Yes
public = Yes
force user = Administrator
force group = Administrator
Code End
Please Subscribe!
http://www.youtube.com/subscription_center?add_user=DugDog
Facebook Like!
http://myastroimages.com/facebook
Visit http://myastroimages.com
Post questions and get answers to your astrophotography questions. Monthly imaging contests and quarterly prizes.
Like on Facebook: https://www.facebook.com/astrophotographytutorials
Music By
Kevin MacLeod
(incompetech.com)
Soundtracks:
Welcome to the Show
Easy Lemon
Licensed under Creative Commons:
By Attribution 3.0
http://creativecommons.org/licenses/by/3.0/ DIY Raspberry PI Digital Picture Photo Frame - P2](https://i.ytimg.com/vi/PHwyIIjz4vA/mqdefault.jpg)