How to install USB GPS dongle to Raspberry Pi Raspbian Wheezy.
I needed GPS on my Raspberry Pi to do some wardriving and I found Globalsat BU-353 GPS USB receiver SiRF III dongle which has worked perfectly.
First we have to install GPSD and GPS-Clients with apt-get:
apt-get install gpsd gpsd-clients
After that you could get gpsd working with it’s .conf file but I haven’t so I just use short script to get my GPS working:
pkill gpsd gpsd -n -D 2 /dev/ttyUSB0
Save that example as gps.sh and give it enough rights:
chmod +x gps.sh
Now run that script and test if your GPS is working using cgps:
You should shortly see some NMEA data and more location data like latitude, longitude, time and so on… If you get those to your screen your GPS is working OK.