Tetra decoding

Status
Not open for further replies.

skittles23

Member
Joined
Aug 13, 2015
Messages
9
Location
Germany
please read the docs or the comments in this thread why this would not be a great idea



it is very simple:
install debian 8.1
run the provided installer script (look in comments in this thread on how to use the install script)
#


hey thank you!

using this instruction: RTL-SDR Tutorial: Listening to TETRA Radio Channels - rtl-sdr.com

reinstalled now ubuntu 14.0.5 and doing it slowy step by step. if this doesnt work i am gonna try linux mint.

doing it how a noob idk but checking everything, and it seems to be right.

@bommel ty too...
plan was to install it on my mac book to drive around... but now i am gonna try it on my windows pc... to getting it running.. after that i am gonna try it again with my mac...


if it works, you will get a update :)
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
using this instruction: RTL-SDR Tutorial: Listening to TETRA Radio Channels - rtl-sdr.com

reinstalled now ubuntu 14.0.5 and doing it slowy step by step. if this doesnt work i am gonna try linux mint.

but why?

install debian 8, run a simple script and you're done. there is not much more to it. and it you don't understand what you're doing, then ask any local linux guru for help (the high-school guru type, no need for any advanced knowledge, only a very basic understanding of the system), you will get help, and can show someone some interesting radio stuf in returnf. btw mac-os is based upon freebsd, so presumably if you have any system knowledge on the mac, you should be able to apply it to any other posix system

why use a distribution that people have problems with, and use complicated procedures?
 
Last edited:

skittles23

Member
Joined
Aug 13, 2015
Messages
9
Location
Germany
but why?

install debian 8, run a simple script and you're done. there is not much more to it.

why use a distribution that people have problems with, and use complicated procedures?



ummm... debian 8 is an server linux... installed that, but yea idk... or is there also an desktop one?

and could you quick give me the script, didnt found it...
 

skittles23

Member
Joined
Aug 13, 2015
Messages
9
Location
Germany
Ok, sorry... think ill got it now.


Installing Debian 8.1 now, then i am gonna install telive , libos, tetra and then i am running this script: $ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio

good plan? ^^

never mind i am to dumb, in debian things like "sudo" doenst work. trying it now on mint.
 
Last edited:

skittles23

Member
Joined
Aug 13, 2015
Messages
9
Location
Germany
Okay... installed it on Mint.. everything is working... just Gnu Radio not... it says "segmentation failed" if ill trying to start it over the terminal with "gnuradio-companion"
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Ok, sorry... think ill got it now.


Installing Debian 8.1 now, then i am gonna install telive , libos, tetra and then i am running this script: $ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio

good plan? ^^

bad plan.

please read this thread carefully for a script that installs and compiles everything automagically

never mind i am to dumb, in debian things like "sudo" doenst work. trying it now on mint.

sudo works on debian just like on any other distribution, provided that you install it and configure it (which is probably described on thousands of web pages, looks like you didn't even bother to use google)
 

skittles23

Member
Joined
Aug 13, 2015
Messages
9
Location
Germany
this script works sometimes, and sometimes doesn't. i think the author doesn't look after the gnuradio 3.6 part anymore.

the easiest way to install (and quicker too) would be to install under debian 8 using gnuradio from the distribution.

unfortunately i didn't update the documentation, but here is a quick description:

install debian 8

make sure you have sudo privileges

make sure you have internet access :)

apt-get install gnuradio gnuradio-dev gr-osmosdr gr-iqbal libtool libncurses5-dev build-essential autoconf automake vorbis-tools sox alsa-utils

there are probably tons of packages that i forgot unfortunately

(
git clone https://github.com/sq5bpf/install-tetra-codec
cd install-tetra-codec
chmod 755 install.sh
./install.sh
)

(
git clone https://github.com/sq5bpf/libosmocore-sq5bpf
cd libosmocore-sq5bpf
autoreconf -i #ignore the errors, and be sure that libtool is installed
autoconf -i
./configure
make
sudo make install
sudo ldconfig
)

(
git clone https://github.com/sq5bpf/osmo-tetra-sq5bpf
cd osmo-tetra-sq5bpf/src
make
)


(
git clone https://github.com/sq5bpf/telive
cd telive
make
chmod 755 install.sh
./install.sh
)


i will try to write updated docs next week, and work on automating the rest of the install (so far only the codec install is automated)

if you want, you can try another distribution with gnuradio 3.7 (but not the gnuradio 3.7.2 on mint, i will fix that later), or don't use the packaged gnuradio and build gnuradio 3.7 using pybombs or the build-gnuradio script. but i would recommend debian 8, because this is what i use, and any errors will be fixed quicker

All right, it is now everything installed on Debian 8.

No Error-Messages everything started.. but cant hear anything and tetra monitor, tetrad didnt show anything.

Here some Pics.. where is the problem ? :/

---> sdr - Album on Imgur

EDIT: There are two Errows: Error o: Block fft_vxx_1 Source out (0) Port is not connected and same one just with "Source in"

Maybe just the Driver from my Dongle?
 
Last edited:

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
All right, it is now everything installed on Debian 8.

next time please read the whole radioreference thread (yes, the whole 40+ pages. as an added bonus you will see what problems others had with the software).

this is the post you should be looking for:
http://forums.radioreference.com/vo...are/302347-tetra-decoding-33.html#post2414202

the procedure that you have used should have worked too (at least you should get it to work if you have a very basic understanding of linux). so you might have a working installation (probably with some permissions problems, because of running as root, but this is easily fixable with some chown)

No Error-Messages everything started.. but cant hear anything and tetra monitor, tetrad didnt show anything.

Here some Pics.. where is the problem ? :/

---> sdr - Album on Imgur

EDIT: There are two Errows: Error o: Block fft_vxx_1 Source out (0) Port is not connected and same one just with "Source in"

Maybe just the Driver from my Dongle?

problems that i see on your screenshots:

are you sure that you have a tetra signal on 435MHz? if not, then please tune your receiver to a known tetra frequency. the scripts won't automagically guess what frequency you want to listen to. and use the "simple" grc scripts for a start.

some software is run as root (which is not a great idea), and some as a regular user. why?

i don't see the "Port is not connected" error, maybe it happened when you've tried to run a script for gnuradio 3.6 on gnuradio 3.7?
 

skittles23

Member
Joined
Aug 13, 2015
Messages
9
Location
Germany
Last edited:

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Okay, thank you.

Forgot to install gqrx... sry..

Here are screens, and 1 Error Message --- dd - Album on Imgur

Still no Text in receiver 1 1.... and no things in Gnu Radio "Channel 1 "debian@debian:~$ sudo modprobe -r airspy[sudo] password for debian:debian@debian - Pastebin.com

and what would be the reason for running gqrx and gnuradio at the same time?

gr-osmosdr sends out null data to gnuradio, thats why you can't see a signal (see the error message in the picture you posted)

Here the Error Message, read alot about this Error, and they said something about blacklist airspy things idk.. trying it now, maybe the text appears when i find a better tetra signal?!?!

please don't try to do random things. read the documentation, the install procedure is different now, but the rest still applies.
 

skittles23

Member
Joined
Aug 13, 2015
Messages
9
Location
Germany
next time please read the whole radioreference thread (yes, the whole 40+ pages. as an added bonus you will see what problems others had with the software).

this is the post you should be looking for:
http://forums.radioreference.com/vo...are/302347-tetra-decoding-33.html#post2414202

the procedure that you have used should have worked too (at least you should get it to work if you have a very basic understanding of linux). so you might have a working installation (probably with some permissions problems, because of running as root, but this is easily fixable with some chown)



problems that i see on your screenshots:

are you sure that you have a tetra signal on 435MHz? if not, then please tune your receiver to a known tetra frequency. the scripts won't automagically guess what frequency you want to listen to. and use the "simple" grc scripts for a start.

some software is run as root (which is not a great idea), and some as a regular user. why?

i don't see the "Port is not connected" error, maybe it happened when you've tried to run a script for gnuradio 3.6 on gnuradio 3.7?

Hey, thank you that you wanna help me, but idk.. readed it many times.

Anyways fixed it now! Problem was a Driver and the Blacklist... AND USB 3.0 Slot changing to Usb 2.0

Now Signals in Channel 1 but still nothing in receiver or tetra monitor... no Error Messages or something it should be work. What should i do now. ?

http://i.imgur.com/jdBr0lm.png
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Hey, thank you that you wanna help me, but idk.. readed it many times.

Anyways fixed it now! Problem was a Driver and the Blacklist... AND USB 3.0 Slot changing to Usb 2.0

Now Signals in Channel 1 but still nothing in receiver or tetra monitor... no Error Messages or something it should be work. What should i do now. ?

http://i.imgur.com/jdBr0lm.png

please read what i've written (again and again!):

- why are you not running the grc flowgraph that i've recommended? (the _simple scripts, telive_1ch_simple_gr37.grc or telive_1ch_simple.grc depending on your gnuradio version). it would be easier to see the signals, and should be easier to understand for non-technical users

- your receiver is set to 390.5MHz. do you have a signal there? doesn't look like this in the screenshot from gqrx that you posted

- also are you sure that your ppm value is the same as mine? (i have 56ppm, and that is the value present in all grc flowgraphs)
 

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
Well Disk use issue magically went poof when i did a "dumb mode startup"
(#!/bin/bash
cd /root/telive/
/usr/bin/xterm -font fixed -bg black -fg white -geometry 203x60&
cd /root/osmo-tetra-sq5bpf/src/
./receiver1 1&
./receiver1 2&
./receiver1 3&
./receiver1 4&
./receiver1 5&
./receiver1 6&
./receiver1 7&
cd /tetra/bin/
./tetrad&
gnuradio-companion
)
But now i am having another issue sometimes one of the receivers just HALT without reason. normally everything continues on fine except when started like this everything halts. so my tetra stream is getting some complaints lol.
while a HMTD boost with TNT rounder to the antenna would satisfy my immediate needs im pretty sure there is some logical explanation to this and a peaceful resolution
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
i've finally updated the telive documentation. download from here:

Code:
https://github.com/sq5bpf/telive/raw/master/telive_doc.pdf

if you see any errors or have any corrections, then please let me know
 

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
lol did we type sametime? tetra telepathy :?
At glance looks clean(er) gonna actually read it in a moment.
 

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
This section needs a bit more "separation" imo
between google earth and the wire shark thing separate and wirehsark being more advanced etc. some might not understand they are diffrent sections. guessing a Enter or some more dots would do? lol

(If your network provides location information, then install Google Earth.
Get the latest wireshark, preferably the latest version from the repository (the packages on
recent distributions may work too). Wireshark can parse GSMTAP messages which are sent via
tetra-rx and display the decoded Tetra frames.
Install some convenient music player to play the recorded ogg files. Audacious is one
example of such player.)
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
But now i am having another issue sometimes one of the receivers just HALT without reason. normally everything continues on fine except when started like this everything halts. so my tetra stream is getting some complaints lol.

any error messages? or maybe a coredump?

also please, don't run as root.

while a HMTD boost with TNT rounder to the antenna would satisfy my immediate needs im pretty sure there is some logical explanation to this and a peaceful resolution

i guess it might shift the antenna resonance to much higher frequencies :)
 

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
Well everything runs as root in Kali Linux.
iv'e tried to get some sort of error dump but i guess it would require something similar to swinedows JIT
(just in time)
but most of the time it works fine.
my guess is some malformatted signals just crash one of the (./receiver1 #)
as 3 of the received signals are Really bad below 60 in FFT. altough they go up as night comes to almost between -40 and -50 and crashes only seem to happen daytime.
 
Status
Not open for further replies.
Top