Auteur Topic: Funcube Dongle en OsmocomTETRA  (gelezen 75718 keer)

0 leden (en 1 gast) bekijken dit topic.

Offline Kiekeboevdc

  • Beginnend Lid
  • **
  • Berichten: 93
Re: Funcube Dongle en OsmocomTETRA
« Reactie #15 Gepost op: 2 juli 2011, 21:57:08 »
Dank Querty voor de reactie. Ik ga het nog ééns allemaal opnieuw proberen, maar mijn kennis op it vlak is niet je dat :-)
Ben een echte radiohobby enthousiast en daar blijft het zowat bij.

Weet ook niet goed hoe ik die files moet plaatsen enzo...

Groeten !

Offline Kiekeboevdc

  • Beginnend Lid
  • **
  • Berichten: 93
Re: Funcube Dongle en OsmocomTETRA
« Reactie #16 Gepost op: 3 juli 2011, 00:31:50 »
Ik krijg zelfs GNURADIO niet werkende.
Heb het ééns op volgende manier geprobeerd:
http://www.airdemon.net/gsmwindows2.html

Maar tevergeefs :-(

Offline Tom-

  • Gevorderd Lid
  • ***
  • Berichten: 473
Re: Funcube Dongle en OsmocomTETRA
« Reactie #17 Gepost op: 3 juli 2011, 10:18:36 »
Gebruik een package. In het geval van Ubuntu: sudo apt-get install gnuradio

Offline maarten

  • Beginnend Lid
  • **
  • Berichten: 32
Re: Funcube Dongle en OsmocomTETRA
« Reactie #18 Gepost op: 3 juli 2011, 19:43:00 »
De setup werkt sinds vandaag. :-)

Gnuradio kan je idd gewoon het beste via een Ubuntu Software Center installeren of via apt-get.
Desondanks had ik nog wat foutmeldingen omtrent PYTHONPATH.
De combinatie osx / virtualbox / funcubedongle geeft soms wat problemen. Hierdoor kan Qthid na een tijdje freezen.
De funcube-dongle blijft dan overigens wel netjes op frequentie staan.
De Wireshark in ubuntu was echter niet geschikt bij mij. Deze heb ik zelf gecompileerd zoals hier is beschreven: http://bb.osmocom.org/trac/wiki/wireshark
Omdat goed te kunnen doen heb je ook Osmocom-BB nodig (alleen de source, je hoeft het niet te compileren).
Zoals het bij mij gegaan is, zou ik het niet aanraden voor een nieuweling op linux. Zelf heb ik er een achtergrond in, dus kon me redelijk redden.

Mijn werkwijze nu is:
1e terminal: start ik met "sudo wireshark", start capture op de 'lo' interface
2e terminal: ./src/demod/python/fcdp-tetra_demod.py -D hw:1,0 -o /tmp/out.float
3e terminal: ./src/float_to_bits /tmp/out.float /tmp/out.bits | ./src/tetra-rx /tmp/out.bits

Ik heb afgestemd op een tetra-mast, redelijk dichtbij, waarvan ik weet dat het unencrypted is.
Alle 'bursts' komen volgens mij goed binnen. Af en toe merkt Wireshark op dat er een SDS message tussen zit. (nog niets te lezen)
In de zgn. d-setup berichten zit volgens mij info over een lopend gesprek. (wat je daarmee kan zal later wel duidelijk worden)
Verder kan je informatie achterhalen zoals mcc (countrycode), mnc (network code) en ssi (short subscriber code).

Ben benieuwd naar jullie resultaten.

Groet,
Maarten

Offline Pepijn [Niet meer actief]

  • Gevorderd Lid
  • ***
  • Berichten: 434
  • Without the lights it's just radio!
Re: Funcube Dongle en OsmocomTETRA
« Reactie #19 Gepost op: 3 juli 2011, 20:55:50 »
@Maarten: Nicee!! Gefeliciteerd haha :) Hopelijk brengen ze snel die voice decoder naar buiten, dan kunnen we ook echt luisteren. Wie gebruiken het Tetra netwerkje waar je op afgesteld bent? Misschien helpt dat bij het snappen van de packages?

Ik ga er hopelijk morgen avond weer mee verder. Maar mooi dat het met osx/virtual ubuntu ook werkt, dat is namelijk ook mijn test setup. Als ik het helemaal werkend heb dan zal ik het op een ubuntu pc opnieuw installeren en de stappen die ik zet opschrijven.
Ik deel geen informatie over TETRA netwerken. Ook geen codeplugs. Wil je deze informatie zelf achterhalen, wil ik je uiteraard wel helpen.

Offline Kiekeboevdc

  • Beginnend Lid
  • **
  • Berichten: 93
Re: Funcube Dongle en OsmocomTETRA
« Reactie #20 Gepost op: 4 juli 2011, 19:09:35 »
Blijkbaar kunnen sommigen al luisteren als je dit artikel leest...
Ik werk met Windows, dat is een bijkomende moeilijkheid heb ik de indruk. Maar het zou ook moeten lukken...

Groeten


TETRA digital radio - now for everyone


 At the last PH-Neutral hacker conference, award-winning open-source hacker Harald Welte not only presented the basics behind Terrestrial Trunked Radio (TETRA), but also conjured up some open source software that can be used to receive, record, and decode digital radio.

In principle, TETRA is a lot like the GSM mobile communications standard for cell phones but differs so much that you cannot reasonably recycle any of the existing GSM software and hardware. TETRA is designed to provide a common basis for digital radio communications in Europe for fire departments, emergency services, and the police, along with airports, energy providers, and public transport firms.

The standard therefore contains a wide range of security functions, such as encryption, authentication and so on – all of which should really be taken for granted in this field. But there is a common problem with these functions; the security measures are "optional" in standard settings. Because implementation costs money, although state authorities (such as the police) encrypt their radio communications, almost all private-sector radio networks forgo the expensive security extensions and send their radio signals as plain text with cheap devices and a simple infrastructure.


At present, radio signals received can be decoded in several steps. A Wireshark module eventually produces audio files from the recordings.
Source: Osmocom TETRA A small USB receiver, such as a Funcube dongle, can be inserted into a notebook, and software, like the OsmocomTETRA presented by Welte, could then be used by anyone to receive and listen to the TETRA radio communications of utilities and public transport providers. Insiders say that unknown parties have already done so, for example to record conversations between tram drivers and the control centre at Berlin's BVG public transport service, creating audio files that can be played back on any PC in the process.

Although sniffing around in third-party TETRA networks is not likely to become a popular sport – courts are likely to interpret such actions as criminal behaviour – Welte hopes that more security experts will deal with the new protocols. "Too many IT security people are still dealing with TCP/IP security even though there are a lot more communications systems", he told The H’s German associates at heise Security. Over the past few years, Harald Welte has himself developed security tools for RFID (openpcd.org), DECT (deDECTed.org) and GSM (OpenBSC, OSmocomBB). OsmocomTETRA is the latest addition to his collection

Offline Pepijn [Niet meer actief]

  • Gevorderd Lid
  • ***
  • Berichten: 434
  • Without the lights it's just radio!
Re: Funcube Dongle en OsmocomTETRA
« Reactie #21 Gepost op: 4 juli 2011, 21:08:03 »
Windows word lastig denk ik... Dan zou je hem moeten compilen voor Windows en dan hopen dat het werkt... Theoretisch gezien kan het, maar Linux is makkelijker.
Ik deel geen informatie over TETRA netwerken. Ook geen codeplugs. Wil je deze informatie zelf achterhalen, wil ik je uiteraard wel helpen.

Offline Kiekeboevdc

  • Beginnend Lid
  • **
  • Berichten: 93
Re: Funcube Dongle en OsmocomTETRA
« Reactie #22 Gepost op: 4 juli 2011, 22:56:40 »
En kan je Linux gewoon installeren op een klassieke laptop of desktop pc ?
Anders ben ik wel even snel om mijn laptop ééns van Linux te voorzien :-)

Moet de Windows software dan verwijderd worden of kan je beide draaiend houden aub ?
Kan een (Windows)leek als ik daar dan mee werken om alles werkend te krijgen ?

Dank en groeten

Offline Kiekeboevdc

  • Beginnend Lid
  • **
  • Berichten: 93
Re: Funcube Dongle en OsmocomTETRA
« Reactie #23 Gepost op: 5 juli 2011, 02:48:03 »
En kan je Linux gewoon installeren op een klassieke laptop of desktop pc ?
Anders ben ik wel even snel om mijn laptop ééns van Linux te voorzien :-)

Moet de Windows software dan verwijderd worden of kan je beide draaiend houden aub ?
Kan een (Windows)leek als ik daar dan mee werken om alles werkend te krijgen ?

Dank en groeten

Ok, heb Ubunta op de laptop kunnen installeren. Werkt perfect. Maar ik snap niet hoe ik nu GNURADIO werkende kan krijgen en die andere nodige zaken moet plaatsen :-(

Offline maarten

  • Beginnend Lid
  • **
  • Berichten: 32
Re: Funcube Dongle en OsmocomTETRA
« Reactie #24 Gepost op: 5 juli 2011, 09:08:03 »
Heb je Gnuradio al wel succesvol geinstalleerd?
Het hoeft namelijk niet open te staan voor de scripts van Osmo-tetra.

Vervolgens kan je Qthid downloaden: https://github.com/downloads/csete/qthid/qthid-3.0-linux-i686.tar.gz
Met dit programma kan je de funcube dongle op de juiste freq zetten.

Om de osmo-tetra scripts makkelijk te downloaden heb je 'git' nodig.
Dit kan je installeren door in Terminal "sudo apt-get install git" te typen.
Op de site van Osmo-tetra zie je hoe je dit verder binnenhaalt.

Gr,
Maarten

Offline Kiekeboevdc

  • Beginnend Lid
  • **
  • Berichten: 93
Re: Funcube Dongle en OsmocomTETRA
« Reactie #25 Gepost op: 5 juli 2011, 12:52:10 »
Dank voor de hulp Maarten, ik hou jullie op de hoogte.

Offline Kiekeboevdc

  • Beginnend Lid
  • **
  • Berichten: 93
Re: Funcube Dongle en OsmocomTETRA
« Reactie #26 Gepost op: 5 juli 2011, 18:05:15 »
Heb je Gnuradio al wel succesvol geinstalleerd?
Het hoeft namelijk niet open te staan voor de scripts van Osmo-tetra.

Vervolgens kan je Qthid downloaden: https://github.com/downloads/csete/qthid/qthid-3.0-linux-i686.tar.gz
Met dit programma kan je de funcube dongle op de juiste freq zetten.

Om de osmo-tetra scripts makkelijk te downloaden heb je 'git' nodig.
Dit kan je installeren door in Terminal "sudo apt-get install git" te typen.
Op de site van Osmo-tetra zie je hoe je dit verder binnenhaalt.

Gr,
Maarten

Qthid en osmo-tetra scripts geslaagd.
Domme vraag, maar hoe open je nu eigenlijk Qthid en Gnuradio (onder Ubunta) ?

Groetjes

Offline Robert

  • Gevorderd Lid
  • ***
  • Berichten: 362
Re: Funcube Dongle en OsmocomTETRA
« Reactie #27 Gepost op: 5 juli 2011, 21:10:36 »
Volgens mij heb ik GNURadio en Wireshark nu goed geinstalleerd, na een paar dagen ;-)

osmo-tetra heb ik als volgt geïnstalleerd
git clone git://git.osmocom.org/osmo-tetra.git
cd osmo-tetra
cd src
sudo make

3e terminal: ./src/float_to_bits /tmp/out.float /tmp/out.bits | ./src/tetra-rx /tmp/out.bits

Als ik dit in een terminal venster kopieer krijg ik EOF en daarna weer de commandline.

Iemand enig idee?

Offline Pepijn [Niet meer actief]

  • Gevorderd Lid
  • ***
  • Berichten: 434
  • Without the lights it's just radio!
Re: Funcube Dongle en OsmocomTETRA
« Reactie #28 Gepost op: 6 juli 2011, 10:24:21 »
Als ik Wireshark probeer te patchen krijk ik de volgende error:

patching file epan/dissectors/packet-gsmtap.h
patching file epan/dissectors/Makefile.common
Hunk #1 FAILED at 484.
Hunk #2 FAILED at 1072.
2 out of 2 hunks FAILED -- saving rejects to file epan/dissectors/Makefile.common.rej

Iemand een idee?
Ik deel geen informatie over TETRA netwerken. Ook geen codeplugs. Wil je deze informatie zelf achterhalen, wil ik je uiteraard wel helpen.

Offline maarten

  • Beginnend Lid
  • **
  • Berichten: 32
Re: Funcube Dongle en OsmocomTETRA
« Reactie #29 Gepost op: 6 juli 2011, 11:14:09 »
Citaat
Als ik Wireshark probeer te patchen krijk ik de volgende error:

Die errors kreeg ik ook, toch doorgegaan, later geen problemen gemerkt.

Citaat
3e terminal: ./src/float_to_bits /tmp/out.float /tmp/out.bits | ./src/tetra-rx /tmp/out.bits
Als ik dit in een terminal venster kopieer krijg ik EOF en daarna weer de commandline.

Dan is er, denk ik, nog te weinig data succesvol binnengekomen. Ik krijg dat ook wel eens na een tijdje. Weet je zeker dat de ontvangst goed is?
Bij mij luistert het erg precies, ook met de correctie van de frequentie.

Citaat
Domme vraag, maar hoe open je nu eigenlijk Qthid en Gnuradio (onder Ubunta) ?

Qthid kan je starten door op het ruitvormige icoon te dubbelklikken (in de map van Qthid)
Gnuradio start je in de Terminal met het commando "gnuradio-companion".
Gnuradio hoeft dus niet 'open' te staan voor de Osmo-tetra scripts.

Gr,
Maarten