Razlika između inačica stranice Suradnik:ValentTurkovic:Kako koristiti GPS preko bluetootha na Linuxu
(Nova stranica: {{admon/note|Fedora GPS over bluetooth HowTo|In this HowTo you will learn how to connect external bluetooth GPS dongle and make it work on Fedora.}} If you have [http://images.googl...) |
|||
Redak 1: | Redak 1: | ||
+ | {{Robelbox|theme=1|title=Kako koristiti GPS preko bluetootha na Linuxu}}<div style="{{Robelbox/pad}}"> | ||
+ | Kroz ovaj tekst naučit ćete kako spojiti i podesiti vanjsku GPS senzor putem bluetootha na Linuxu. | ||
+ | |||
+ | Ako imate vanjski GPS senzor s bluetoothom onda ga možete spojit na bilo koji Linux laptop ili desktop i koristiti ga za GPS navigaciju, snimanje putanje kojom se krećete, pravljenje GPS karata za OpenStreetMap, triangulaciju wireless Acess Pointova uz pomoć aplikacije kismet... | ||
+ | </div> | ||
+ | {{Robelbox-close}} | ||
+ | |||
+ | |||
+ | |||
{{admon/note|Fedora GPS over bluetooth HowTo|In this HowTo you will learn how to connect external bluetooth GPS dongle and make it work on Fedora.}} | {{admon/note|Fedora GPS over bluetooth HowTo|In this HowTo you will learn how to connect external bluetooth GPS dongle and make it work on Fedora.}} | ||
Inačica od 08:53, 2. prosinca 2008.
Kako koristiti GPS preko bluetootha na Linuxu
Kroz ovaj tekst naučit ćete kako spojiti i podesiti vanjsku GPS senzor putem bluetootha na Linuxu. Ako imate vanjski GPS senzor s bluetoothom onda ga možete spojit na bilo koji Linux laptop ili desktop i koristiti ga za GPS navigaciju, snimanje putanje kojom se krećete, pravljenje GPS karata za OpenStreetMap, triangulaciju wireless Acess Pointova uz pomoć aplikacije kismet... |
If you have bluetooth GPS dongle that you have laying around, or can borrow one from somebody, and would use GPS on Fedora laptop while you are driving a bike or a car around then this is the guide for you.
Here are some images of bluetooth dongles if you haven't seen them before.
You can check with hcitool command that you have bluetooth device and that it is working correctly :
hcitool dev
Then let’s make sure you have bluetooth service running:
service bluetooth status
if it is not running just start it with:
service bluetooth start
Turn on your bluetooth GPS dongle and find its bluetooth mac address with hcitool command:
hcitool scan Scanning … 00:1E:EE:00:11:22 LG KU990 00:02:78:99:FF:00 SJ GPS 00:12:EE:55:00:FF Device01
If you find more than one bluetooth device you should know the name of your GPS dongle. My GPS dongle has a “GPS” in its name so it is easy to spot its mac address: 00:02:78:99:FF:00 (SJ GPS)
You need to install gpsd and setup bluetooth config files, so let’s first install gpsd:
su - yum install gpsd gpsd-clients -y
Then you need to edit bluetooth config file so that gpsd connects automatically to GPS bluetooth dongle.
<code>gedit -etc/bluetooth/rfcomm.conf
and add these lines:
rfcomm0 { # Automatically bind the device at startup bind yes; # Bluetooth address of the device device 00:12:EE:55:00:FF; # RFCOMM channel for the connection channel 1; # Description of the connection comment “GPS Bluetooth dongle”; }
After reboot check if you have /dev/rfcomm0 device with:
ls -al /dev/rfcomm0
If after reboot (or you don’t wan’t to reboot) you still don’t have /dev/rfcomm0 then just issue this command:
rfcomm bind rfcomm0
Now start gpsd daemon:
gpsd /dev/rfcomm0
Now you can start having fun! :)
Install gps applications like tangogps, gpsdrive and gpsbabel:
yum install tangogps gpsdrive gpsbabel