Flickr Photos

Young Red Fox
Red Fox eating rowan berries
Roe Deer
Leopard in the rain
Lion mum taking care of cubs
Male Lion
Lion Cubs Playing
Lazy Spotted Hyena
Female Lion
Golden Jackal

Raspberry Pi: How to get GPS working

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:

<br />
apt-get install gpsd gpsd-clients<br />

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:

<br />
pkill gpsd<br />
gpsd -n -D 2 /dev/ttyUSB0<br />

Save that example as and give it enough rights:

<br />
chmod +x<br />

Now run that script and test if your GPS is working using cgps:

<br />
cgps -s<br />

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.

2 comments to Raspberry Pi: How to get GPS working

  • TZ

    Hi! … pls how save in a file the information show from “cgps -s”. thks!

  • Bit 6 in the MAC address “global/local” bit. When set to 1 it indicates that the MAC address was set manually by an administrator, rather than burned into the network card following the normal rules for vendor identification.Since people who wish to manually set an IPV6 address would likely use many zero’s, something like FE80::24 (FE80:0000:0000:0000:0000:0000:0000:0020), the conversion was designed that such manual address would indicate that it was generated from a locally administered mac address rather than a real MAC.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>




This site uses Akismet to reduce spam. Learn how your comment data is processed.