Results 1 to 2 of 2

Thread: Problems with gps / gpsd

  1. #1
    Join Date
    2016-Mar
    Posts
    2

    Problems with gps / gpsd

    Hello !
    I have problems getting gps(d) to work properly.

    I installed Kali on HD. Works fine.
    In the new started session I installed gpsd and gpsd-clients. (apt-get)
    Works fine.
    gps has location (3D) and is visible on /dev/ttyUSB0.
    Cat /dev/ttyUSB0 gives right data, gpsmon /dev/ttyUSB0 does the same.
    cgps and xgps are running well, displaying correct gps-signals.
    Kismet and Airodump are using the gps.

    After Kali reboot some programs cannot access gps(d) anymore.
    cat /dev/ttyUSB0 gives right data.
    gpsmon /dev/ttyUSB0 gives right data.
    cgps is running into timeout
    xgps is running into timeout.

    gpsd -n /dev/ttyUSB0 : no error
    cgps : timeout
    Kismet and Airodump : can't access gpsd
    Kismet says : No GPS data (GPS not connected)
    No Update in 15s, reconnect.
    Kismet.conf with serial gps entry : same, GPS not connected

    Test with another System :
    Linux Mint (Rosa), apt-get install gpsd gpsd-clients : ok
    Works fine.
    cgps and all other programms are working well.
    Install on Memory-Stick : ok
    Reboot and test cgps : all ok, GPS(d) works like expected.

    Hmm, so whats going wrong with Kali ?
    In Backtrack 3, where gpsd was included, all worked well from scratch.

    Its curious, that the port /dev/ttyUSB0 is displaying the correct data but the programms are not recognising it.

    Do you have any idea how to fix it ?
    What can I do to get access to gps(d) all the time ?

    Thank you !
    Andi

  2. #2
    Join Date
    2016-Mar
    Posts
    2
    I've found a solution.
    Yesterday I bought a new GPS. Its coming tomorrow
    Therefore the old GPS-Dongle decided to work properly

    OK, here is the right solution to get it work.

    On https://www.wardriving-forum.de/wiki/Gpsd
    is a chapter Troubleshooting.

    It is mentioned there, that you can alter /etc/default/gpsd.
    So I filled in the fields.
    START_DAEMON="true"
    USBAUTO="true"
    DEVICES="/dev/ttyUSB0"
    GPSD_OPTIONS="-b -n"

    With that config in /etc/default/gpsd all is ok.
    GPSD and kismet / airodump and other programs like cgps and xgps are working properly.

    Maybe it helps you if you have the same behavier.

    CU
    Andi

Similar Threads

  1. gpsd on Raspberry Pi ttyAMA0
    By jacekplacek in forum ARM Archive
    Replies: 0
    Last Post: 2017-02-12, 04:33
  2. Kismet + GPSD = FAIL
    By Kungom in forum General Archive
    Replies: 0
    Last Post: 2014-02-20, 23:12
  3. gpsd+kismet GPS-360 (Pharos)
    By byarbs in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2013-06-27, 18:47
  4. gpsd+kismet
    By zimmaro in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2013-06-10, 09:19

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •