Well it looks like in order to build this I am going to need a little more
input from anyone who has succeeded. Every attempt with every OS I have
tried has failed at some point due to lack of direct support for some
modules and or failures to compile to outright incompatibility.
Ubuntu 12.0.4 LTS got me the closest however when attempting to compile
Zaptel, the compile fails with errors which googling them results in
commentary that the Kernel is too new so I will need an older Kernel in
Debian or Ubuntu. How old??? Good question. as all the notes in Allstar's
build indicate CentOS 5.x is supported, nothing newer.. that does not help
me much in the debian world.
I tried several versions of CentOS 5.x , and all result in various modules
being of incorrect versions available or would not compile. I tried CentOS
6.x and got closer but failed to compile Zaptel for the reasons stated
above.
So if the intent is to allow us to build over a wide array
of OS's I can say that Isn't going happen. The modules are so critical that
have been used that I have yet to find a version that will build.
So unless someone wants to give some specifics in versions of OS that are
currently running asterisk as well as op25 as well as GNURadio, I have been
thus far unable to find a combination that supports all of them.
I tried starting with Allstar and with XiPar and neither has
support for GUI nor was I able to get a GUI to run, apparently that process
eludes me and my limited research to get it running as well as patience.
I would say with the current state of the docs, at best
Linux experts seem to be the only group of builders that are going to be
able to step through the minefield of a build. I am not criticizing the
docs, I understand they are written to be generic in many ways, but the
build requirements are far from generic in OS/Kernel requirements to get it
running.
While I am maybe a power user of Linux, I am not a
developer. so I may be above my knowledge base attempting the build. I own
and operate a dozen or so linux box's in my life including VMWare
virtualization on CentOS at work. I thought the instructions looked do-able
for my skillset.
I do not mean to criticize as much as suggest a little more
documentation on OS baseline starting points are in order.. As Debian and
Ubuntu seem to build best, that maybe tell us what version is in use so we
can get Zaptel to compile??? If that part fails, the rest is moot. Without
Asterisk running the repeater part is dead.
Doug
KD8B
I am going to make a more scientific approach to the build,
I decided to dig into Asterisk docs about platforms, I am not sure how
tailored the Allstar Link versions of this is in their svn but will start
with baseline specs in the Asterisk docs.
It looks like Zaptel should be able to build on any 2.6
kernel which means up to 11.04 or so Ubuntu, or CentOS up to 6.x should
work. A cannot recall how far I got on CentOS 6.x with allsar build but as
Allstar is based on CentOS , that may be the closest match.
I am going to concentrate on getting Zaptel to build.. Can
someone tell me if ZTDummy is the only driver needed???? For a Sound card
build???
It looks like CentOS 6.x Debian 6.x and Ubuntu 11.x should
all be Kernel 2.6.x and in theory support asterisk repeater.. We shall see..
If I can get that working next will be what it takes to get
GNURadio running.
Doug
KD8B
becuase i am stuck on this on an error (AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callback') i decided to try to build again. when trying to install the 4fsk demodulator i get this error:
make[2]: Entering directory `/home/matt/gr-fsk4/src/lib'
/usr/bin/swig -c++ -fvirtual -python -modern -I/usr/local/include/gnuradio/swig -I/usr/local/include/gnuradio -module fsk4 -o fsk4.cc ../../src/lib/fsk4.i
/usr/local/include/gnuradio/swig/gr_basic_block.i:26: Error: Unable to find 'pmt_swig.i'
note that when i run op25 the first output line is "Imported legacy fsk4". so now i am confused as to how grc is importing the fsk4 if i cant even install it?
Cheers,
Matt
if i don't disable the 'raised root cosine filter' then i get this error in the op25 properties box:
Sink - bb(0):
Port has too many connections.
i already had to disable the 'wx gui fft sink' to get rid of the "AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callback'" error which i believe stops the op25 python gui from running.
has anyone else had to deal with this "too many connections" error? thanks guys!
After a long time I have finaly got OP25 working, my thanks to the people who helped get it going and the numerous posts here that clarified issues.
there is one change I would like to make to the code. this is to change the way the data is either displayed by wireshark or a new start command that will display the 88 bit rew IMBE data rather than the 144 bit interlaced data.
I have been told that OP25 will display the data in thuis format but I will need help (step by step if possible) to do it
Folks
Sorry for the pain - tried replying to Doug but that message may have been killed, not sure. Anyhow, I've updated the repeater wiki page with instructions for building a CLI-only version of asterisk - the prereqs for doing so should be very minimal.
The asterisk CLI version is what I've always used (having started using * when there was no GUI) - ymmv.
Max
Hi Folks, new here.. Did a lot of looking around, but didnt see the answer to this. I want to use app_rpt as my repeater controler and support P25 + NBFM. I see a rx-to-asterisk app here, but not a corresponding asterisk-to-tx app. I saw a repeater app but didnt appear to support asterisk. Am I missing something or does it not exist? Thanks!
I am using using ubuntu 12.10 i am trying to run OP25 (python version 2.7.3), in GNU Radio Companion v3.6.3-35-g4435082f and i get an error. So I run the traceback command in terminal:
~$ python -m trace --count -C . op25_grc.py
Here is the output with an error:
Imported legacy fsk4
Using Volk machine: ssse3_32
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in run_module_as_main
"_main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in run_code
exec code in run_globals
File "/usr/lib/python2.7/trace.py", line 819, in
main()
File "/usr/lib/python2.7/trace.py", line 807, in main
t.runctx(code, globs, globs)
File "/usr/lib/python2.7/trace.py", line 513, in runctx
exec cmd in globals, locals
File "op25_grc.py", line 493, in
tb = op25_grc()
File "op25_grc.py", line 231, in __init_
self.wxgui_fftsink2_0_0.set_callback(wxgui_fftsink2_0_0_callback)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 54, in getattr
return getattr(self._hb, name)
AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callback'
I really really want to get OP25 running but have not been able to figure out what is the solution to this error (AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callback')
. it'll take me ages to figure out how to debug in python. some threads have said its because gnuradio is an older version but in my case it is not. i am wondering if the question is too amateur or something because nobody is lending assistance.
Any help will be so very much appreciated. Thanks.
Has anyone seen this error? i cant
find anything on the web about this. I already had to disable the Waterfall
sink and the FFT sink in order to get rid of the "AttributeError:
'gr_hier_block2_sptr' object has no attribute 'set_callback'" error. Now OP25
dies this way:
Imported legacy fsk4
Using Volk machine: ssse3_32
RTL2832 Source block configuration:
Read length (bytes): 262144
Buffer enabled: yes
Buffer multiplier: 8
Buffer size (samples): 1048576
Samples per read: 131072
Buffer level: 50.0%
Successfully initialised demod: "ezcap EzTV"
Probing "e4k"...not found.
Probing "fc0013"...not found.
Probing "fc2580"...bad check value.
Probing "fc0012"...not found.
Probing "e4000"...not found.
Could not find tuner automatically after probe
Found RTL2832 device: ezcap EzTV (tuner: interface not implemented)
Sample rate range: 900001 - 3200000 Hz
Crystal frequency: 28800000 Hz
Wait delay: 196.608 ms
ioctl(d_tap, TUNSETIFF, &ifr): Operation not permitted
Using legacy decoder_ff
>>> Done
I'm using Unbuntu 12.10, GNUradio 3.6.3, python 2.7.3, and NooElec R820T RTL2832
stick. I installed GNUradio using the build script on Balint's "how to build
page" but OP25 I had to build from source because the build script there has a
broken link. Any help will be much appreciated.
11 years, 2 months
2
2
by md123@nycap.rr.com
Does anyone know the command (using ubuntu) to permanently add a directory to the PYTHONPATH? Thanks in advance.
Its mailing list. One can email a question or anysort of email about OP25, everyone on the list will see the message, and hopefully something usefull will be learned.
ikjtel <ikj1234i(a)yahoo.com> wrote:
>what is this ?
>
>
>
>________________________________
> From: Mark Thompson <wb9qzb_groups(a)yahoo.com>
>To: "IllinoisP25-DMR(a)yahoogroups.com" <IllinoisP25-DMR(a)yahoogroups.com>; "IllinoisDSTAR(a)yahoogroups.com" <IllinoisDSTAR(a)yahoogroups.com>; "k0rz(a)comcast.net" <k0rz(a)comcast.net>; "NFCC(a)yahoogroups.com" <NFCC(a)yahoogroups.com>; "SouthernWisconsinAPRS(a)yahoogroups.com" <SouthernWisconsinAPRS(a)yahoogroups.com>; "k9lpk(a)att.net" <k9lpk(a)att.net>; "MOTOTRBO(a)yahoogroups.com" <MOTOTRBO(a)yahoogroups.com>; "op25-dev(a)yahoogroups.com" <op25-dev(a)yahoogroups.com>
>Sent: Sunday, February 10, 2013 11:48 AM
>Subject: [op25-dev] (unknown)
>
>
>
>
>
>
>
>http://www.mb-ing.de/pvdcpega/gcn4te1ok8vg6b.h9ojy4haddkdnr433u4se6zp42y1wn…
>
>
>
>Mark Thompson
>
>
Hello all,
They accepted my request for membership (what were they thinking). So Im just going to jump right in and see what if anything I can contribute and try to not ask too many silly questions.
Altho P25 isnt my main area of interest it is something to work with as there is a P25 system locally with a combination of clear and ADP encrypted traffic on it. Being the nosey type I am like to see whats going on with the system.
As for myself an electrical engineer currently working in broadcast television. Not much of a programmer have done a bit of c for microchip pic in recent years and linux is something I havnt played with in 15 or more years so a bit rusty. I do speak fluent cisco and have a way of scavenging nice hardware. The corprate IT dept is in our building and its a revolving door they give about 4 years at the outside before turning down a system. Currently sitting on an IBM x455 cluster that really needs something to do other than track satellites :) Trying to latch on to the blade centers but they still have signifigant value and are easy to ship. Thats me in a nut house I mean nut shell reading thru the threads and site trying to get something workable to start and take it from there.
Austin
Has anybody had any luck getting OP25 to work. I have been going crazy trying to get this program installed and running but it always gives me errors. I have tried ubuntu 9.10 but they no longer release or update any packages for that version anymore. So now I am on to Ubuntu 10.04 GNUradio installs fine but I get a ton of errors when trying to install OP25. My end game is to be able to use OP25 with wire shark to review the data packets. Right now I am at a loss, I am not very Linux literate and really have a almost no knowledge on how the operating system works. I should add I installed and use DSD just fine, thats why this op25 thing is driving me crazy I follow every part of the building instructions to the T and still get errors and missing pieces. I am at the point that I am willing to pay somebody for their time if someone would be kind enough to contact me directly I will give you my phone number and we can go from there. Just let me know what I owe you for your time and I will paypal it over to you. Bottom line is I NEED to get this program up and running with wire shark for a project me and some Friends are working on. Any help would be very much appreciated and I am more than happy to compensate any for their time if somebodies willing to walk me through the set-up and figure out why I cant get it running. PLEASE HELP! Any one interested can contact me here directly at the email address below.
Thank you all for your time,
Robert Klamp
RobertKlamp at Comcast dot net
Hi guys. I was able to successfully compile and install (at least with no errors) OP25, gr-fsk4, wireshark, and GNUradio. Using Ubuntu 12.10 and all of the latest for the OP25, gr-fsk4, wireshark, and GNUradio. Now I am confused here because OP25, fsk4 decoder, and wireshark, are not found in my GNUradio. Anyone have any ideas of why GNUradio doesnt have available the blocks i installed?
Any help is much appreciated, Thanks a bunch,
Matt
Hello brains,
Qt the boto; of this page: http://op25.osmocom.org/wiki/wiki/RepeaterPage
I would like to understand the limitation of the USRP transmission:
- Why is the channel spacing arbitrarily 25 kHz (just a SW limitation ?)
- Are you transmitting the P25 air interface for voice ?
Thank you,
Hi,
Where would I find the library for op25? It looks like everything builds
but I can't find a .a file for op25. The only library I can find is
libimbe_vocoder.a. Am I missing something?
stephen
I am setting up an Ubuntu pc for the sole purpose of running op25. I am struggling getting op25 to work on Ubuntu 12.10 as GCC 4.11 does not seem to be available to install anymore because it has compatibility issues with the newer version. At least that is what I have found on the web.
Anyways I have the need to view raw p25 packets to trouble shoot a bug with a specific radio's data packets.
I have two ways to receive the audio stream either via discriminator tap or via usb rtl-sdr.
In Ubuntu 12.10 I have done the following.
Failed to build GNURadio 3.2.2 with compiler errors, not missing imports but things like invalid syntax etc so preaty sure it is because I can't use Gcc 4.11 in Ubuntu 12.10
Successfully installed GNURadio 3.6 via builtin" Ubuntu Software Center" installer
Successfully make and install op25 at least didn't get any errors.
Successfully make and install patched version of wireshark.
Successfully make gr-fsk4 but had to add stderr definitions to a couple of the files to fix make errors also had to copy gruel_common.i from /usr/local/include/gruel/swig to /usr/local/include/gnuradio/swig to fix missing gruel_common.i error
Succesfully make imbe_vocoder.
I tried to run "./audio_p25_rx.py a" from the op25/python directory but kept getting an "importError: no module named op25" error. I tired setting PYTHONPATH environment variable to /usr/local/lib/python2.7/dist-packages where the op25.py file was located (http://www.youtube.com/watch?v=86KtgkaH5H0) but still same error so I copied all of the op25/python/ files to /usr/local/lib/python2.7/dist-packages/gnuradio folder
I ran it there and still got op25 errors.
I figured it was an issue with gnuradio version so I uninstalled gnuradio using Ubuntu Software center.
I also did a "make uninstall" on the gr-fsk4 I installed earlier because it seems to have been replaced in op25 with gr-baz.
gr-baz is included in this install script
I did a build of gnuradio and a buch of other needed tools using a script located at (http://www.sbrac.org/files/build-gnuradio)
I made a folder new folder src in my home directory I coped the build-gnuradio script to this folder. I then ran chmod 755 build-gnuradio to allow execution.
I ran "./build-gnuradio v all" (took awhile and had some warnings but no errors)
Now things started to work at least without the import errors so referenecs seem to be a lot better.
I can run ./rtl_sdr and do a capture so thats a plus as I know my cheap sdr usb receiver is working.
If I run ./audio_p25_rx.py I get the following errors
Using Volk machine: sse4_1_64
Traceback (most recent call last):
File "./audio_p25_rx.py", line 1044, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 38, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 42, in OnInit
self._max_noutput_items)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 64, in __init__
self.panel = stdpanel (self, self, top_block_maker, max_nouts)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 86, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "./audio_p25_rx.py", line 97, in __init__
self.__init_gui(frame, panel, vbox)
File "./audio_p25_rx.py", line 276, in __init_gui
self.spectrum_plotter = self.spectrum.win.plot
AttributeError: 'fft_window' object has no attribute 'plot'
If I open and execute (http://svn.spench.net/main/gr-baz/samples/OP25.grc) from http://wiki.spench.net/wiki/Gr-baz#grc I get the follow errors
Using Volk machine: sse4_1_64
Traceback (most recent call last):
File "/home/andrewadevries/op25/op25_grc.py", line 563, in <module>
tb = op25_grc()
File "/home/andrewadevries/op25/op25_grc.py", line 306, in __init__
self.rtl2832_source_0 = baz.rtl_source_c(defer_creation=True, output_size=gr.sizeof_gr_complex)
AttributeError: 'module' object has no attribute 'rtl_source_c'
Any one offer some suggestions?
Hi I am new to the group and GNUradio. I have installed gnuradio on ubuntu 12.04 from the directions at this link.
http://blogs.bu.edu/mhirsch/2012/07/installing-gnu-radio-in-ubuntu-12-04-x6…
I then went to the build instructions page and followed them to the T, all seemed to be going well but when I enter the command line to start it
~/src/op25/python$ ./audio_p25_rx.py -a
I get this error message
robert@robert-laptop:~/src/op25/python$ ./audio_p25_rx.py -a
Traceback (most recent call last):
File "./audio_p25_rx.py", line 34, in <module>
from gnuradio import audio, eng_notation, fsk4, gr, gru, op25
ImportError: cannot import name fsk4
robert@robert-laptop:~/src/op25/python$
Can anybody please help me get the program running I am not great with software code and really need to get this up and running for a current project I am a part of. I am hoping this issue can be resolved with a couple of command lines.
Thank You For Your Time and Help,
Robert Klamp Jr.
Hi folks,
It has taken a little longer than I anticipated, but it's all here:
http://wiki.spench.net/wiki/OP25
The page describes:
. Getting the latest OP25 working with the latest GNU Radio (one
easy patch)
. Using the Legacy USRP shim so OP25 can access any USRP via UHD
(one symlink)
. How to do a side-by-side install of multiple OP25 versions
<http://wiki.spench.net/wiki/Side-by-side_GNU_Radio_Modules> (one copy &
script)
. Adding DES-OFB decryption (a little more complex, but all the
instructions are there)
The side-by-side guide
<http://wiki.spench.net/wiki/Side-by-side_GNU_Radio_Modules> not only
applies to OP25, but any other GR module.
Don't forget to install gr-baz <http://wiki.spench.net/wiki/gr-baz> to get
the OP25 Decoder block <http://wiki.spench.net/wiki/gr-baz#op25> for GNU
Radio Companion, a sample flowgraph that does the decoding from a variety of
sources, the patches themselves and additional sample files.
Please let me know if this is useful to people, what success you have, and
if anyone is keen to move the DES-OFB code to the latest source (the patch
is for version 219!).
Kind regards,
Balint
Hi folks,
I had the pleasure of sitting with some major OP25 contributors (Max and
Mike) at the GNU Radio conference today, and also managed to get OP25
working with a USRP N210 using UHD. You can see in the attached image that
I'm using the OP25 block from gr-baz in GRC (the flowgraph sends the decoded
audio to the speakers via the Audio Sink). The voice frames' data is being
printed in the console, and four-level dibits are shown on the scope. The
other tabs contain FFTs for the entire baseband and the selected channel,
and make use of the new click-handler feature that triggers a callback
containing the frequency you clicked on. You can therefore tune (really
change the offset in the Freq Xlating Filter) to a signal you see appear on
the FFT just by clicking on it (the same way you can with the Python apps,
e.g. usrp_p25_rx/audio_p25_rx, however this is all from GRC).
The IT++ 4.2 BCH problem still exists, so I've used the alternate
implementation that Max also uses in the 'repeater' code to handle
identification of the frame header.
The GRC flowgraph obviously uses the UHD Source block to capture the
baseband data, but the Python scripts (e.g. those mentioned above) also now
work with UHD. The legacy USRP code is actually untouched as I've written a
thin wrapper for UHD that makes any UHD-compatible device accessible through
the legacy interface (i.e. brought 'from gnuradio import usrp' &
usrp.source_c back). Not the best approach to force projects to move to UHD
properly, but a temporary measure in the meantime ;)
I'll post some code soon!
Kind regard,
Balint
The Volokh Conspiracy
September 7, 2012 Friday 4:02 AM EST
District Court Rules that the Wiretap Act Does Not Prohibit Intercepting Unencrypted Wireless Communications
LENGTH: 1078 words
The decision is In re INNOVATIO IP VENTURES, LLC PATENT LITIGATION. MDL Docket No. 2303, Case No. 11 C 9308. (N.D.Ill. August 22, 2012), via Cybercrime Review. The opinion holds that anyone can monitor the unencrypted wi-fi communications of anyone else without implicating the Wiretap Act. I think the decision is wrong, and I wanted to explain why.
The court holds that unsecured wireless communications are not covered by the Wiretap Act because of the exception found in 18 U.S.C. § 2511(g)(i). That exception states:
(g) It shall not be unlawful under this chapter or chapter 121 of this title for any person-
(i) to intercept or access an electronic communication made through an electronic communication system that is configured so that such electronic communication is readily accessible to the general public;
The Court concludes that this exception covers unsecured wi-fi communications, so that it is entirely lawful to snoop in on someone else's private communications over an unsecured wireless network:
Innovatio is intercepting Wi-Fi communications with a Riverbed AirPcap Nx packet capture adapter, which is available to the public for purchase for $698.00. See Riverbed Technology Product Catalog, http://www.cacetech.com/products/catalog/ (last visited Aug. 21, 2012). A more basic packet capture adapter is available for only $198.00. Id. The software necessary to analyze the data that the packet capture adapters collect is available for down load for free. See Wireshark Frequently Asked Questions, http://www.wireshark.org/faq.html#sec1 (last visited Aug. 21, 2012) ("Wireshark® is a network protocol analyzer. . . . It is freely available as open source. . . ."). With a packet capture adapter and the software, along with a basic laptop computer, any member of the general public within range of an unencrypted Wi-Fi network can begin intercepting communications sent on that network. Many Wi-Fi networks provided by commercial establishments (such as coffee shops and restaurants) are unencrypted, and open to such interference from anyone with the right equipment. In light of the ease of "sniffing" Wi-Fi networks, the court concludes that the communications sent on an unencrypted Wi-Fi network are readily available to the general public.
I don't think that's right. Look closely at the text: "configured so that such electronic communication is readily accessible to the general public." In my view, that text focuses on the intent of the designer - the person who does the configuring of the network so that it works a particular way - to design the network so that the general public was supposed to be able to access them. Of course, you might not know the actual intent of the designer with 100% certainty. But with many technologies, it's obvious what counts as an expected use and what counts as an unexpected use. Cf. United States v. Morris, 928 F.2d 504 (2d. Cir. 1991) (creating an "intended function" test to distinguish authorized access to a network from unauthorized access to a network). No one suggests that unsecured wireless networks are set up with the goal that everyone on the network would be free to read the private communications of others. In my view, that ends the matter: the exception doesn't apply, and the interception of the contents of wireless communications is covered by the Wiretap Act.
An analogous issue arose in Tapley v. Collins, 41 F.Supp.2d 1366 (S.D.Ga. 1999), which involved listening in on cordless telephone calls that were broadcast by cordless phones and (back then) not encrypted. The Tapley court held that this exception did not permit the interception of unencrypted cordless telephone calls:
This subdivision . . . obviously contemplates the use of scanners to intercept (a) police, fire and emergency radio traffic; along with (b) any other electronic communications the designers and users of which-from decades of experience-have no reasonable grounds to expect anything but casual, even wide-scale interception by others (e.g., "CB radios").
In contrast, cordless telephones were never designed with that intent. True, early versions were prone to substantial electronic "leakage," leading courts and Congress alike to conclude that no one could reasonably claim a right to privacy when using them. See Spetalieri, 36 F.Supp.2d at 113; Peavy, 37 F.Supp.2d at 505-06. But no one has argued that cordless phone manufacturers intended, or were even lax about, any "incidental broadcast" feature.
That's right, I think. The issue under 2511(2)(g)(i) is what the designers intended users to be able to do, not what someone can do contrary to the designer's intentions.
Consider the implications of a contrary rule by focusing on the example of communications over a wire. You can buy a KeyKatcher keylogger for $55 from Amazon (with free super saver shipping!) and install it on a wire of Internet traffic. It's a lot cheaper than the wireless packet capture devices the Court is focused on in its decision. Under the Court's decision, the Wiretap Act categorically should not apply to that quintessential act of wiretapping whenever the wire was itself available to the public simply because anyone can buy the $55 device and install it. In my view, that can't be the test: The issue is not whether a member of the public could engage in the wiretapping as a matter of cost and practicality, but rather whether the technology is set up consistently with a design that reflects an intent that members of the public would be able to monitor those communications.
Two final points. First, my sense is that the court did not need to reach this legal question in the first place. The case is a patent dispute rather than a wiretapping case, and there is no suppression remedy because the communications are electronic communications (and the statutory suppression remedy only applies to wire and oral communications). Second, a much more difficult question is the one presented in In re Google Inc. Street View Electronic Communications Litigation, 794 F. Supp. 2d 1067, 1070 (N.D. Cal. 2011): Does the "radio communication" exception in 18 U.S.C. 2511(2)(g)(ii) exempt wireless communications from the Wiretap Act? That issue is now on appeal before the Ninth Circuit in the Google Street View case, and I think Judge Ware was correct to conclude that the exception does not apply. But whatever you think is the right answer to that question, I think it's the more difficult issue.
Also,
If anyone has the inclination to improve OP25, I'll offer a 250$
bounty for a version of OP25 checked into subversion that is
compatible with the latest version of gnuradio and UHD (claimable for
the next 30 days).
Thanks,
Matt.
Hi All,
I'm trying to have repeater.vocoder() run as a small app to read from
a file sink and write to a wav sink... If I replace the vocoder with a
char_to_short() block it works as expected, however with the vocoder
in place it never completes...
Also, it looks as though even though it has run out of samples the
vocoder thread continuously runs at 100% cpu.
Anyone have any ideas? (associated python is attached.
thanks,
Matt.
All,
What should the expected output of P25 data in wireshark be while
running uhd_c4fm_rx_nogui.py? I have it running, hooked up a UDP sink
and can see distinct dibits flowing into the slicer/decoder, and I
receive UDP to my patched wireshark however all I ever get are 141
length Header Data Units. I also cant seem to get any audio out of the
signal using OP25 (however if I pipe the same signal through DSD it
produces audio).
FYI, I'm also using the latest gnuradio with UHD.
Thanks,
Matt.
I'm new to GNURadio and OP25, and am facing the above error when trying to run audio_p25_rx.py.
How I installed: On Ubuntu 10.04, I installed GNURadio 3.6, ensured that the prerequisites on the BeginnersBuild page were installed, then installed and built OP25, the imbe_vocoder, and then the repeater as instructed on the BuildInstructions page. Also installed gr-fsk4. I had put in the following symlink to get over some gruel problems while trying to build gr-fsk4:
$ln -s /usr/local/include/gruel/swig/gruel_common.i /usr/local/include/gnuradio/swig/gruel_common.i
Now I am stuck with the msgq error.
I'd like to know if the build is expected to work with gnuradio 3.6. and whether audio_p25_rx.py can be executed without any input, just to make sure the OP25 build works. (I understand that in gnuradio 3.6 the usrpm folder has been deprecated and that seems to be giving rise to other Not Found errors for other scripts...)
Any help will be greatly appreciated. Don't mind going to Gnuradio 3.2.2 if that will make life simpler.
Thanks - Ram
Hi group im trying to compile wireshark from the files section but i keep getting errors. My system is Ubuntu 11.10 and the error i get is after the "make" cmd.
--------------------
wiretap/.libs/libwiretap.so: undefined reference to `g_list_foreach'
collect2: ld returned 1 exit status
make[2]: *** [randpkt] Error 1
make[2]: Leaving directory `/home/allan/wireshark/1.0.2-patched'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/allan/wireshark/1.0.2-patched'
make: *** [all] Error 2
allan@gnuradio:~/wireshark/1.0.2-patched$
-----------------
And on a side not once i have wireshark installed and running if i just run the sample p25 flowchart in gr-baz should that pipe the date to wireshark?
Thanks
Al
Recently did a clean install from source and had a few minor issues which I thought I'd write up here. Machine is a 32 bit Ubuntu 11.04 install (and yes, the "unity" UI is truly as bad as they said)...
First, the following packages need to be included in the list of pre-req stuff installed via apt-get :
libpcap0.8-dev
cmake
Second apparently the newer versions of GR or SWIG have a new gruel library, causing a compile time error which I fixed by appending the path to this new library (file Makefile.common) as follows
SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig -I$(GNURADIO_CORE_INCLUDEDIR) -I/usr/local/include/gruel/swig
This addition was needed for both the repeater and gr-fsk4 projects.
Third (for those of us dinosaurs still using the original gr-fsk4 sources) there were a few source modules that were failing on a missing printf definition, I fixed by adding
#include <stdio.h>
as necessary...
Best
Max
Yes, valve is the block I was looking for. But, first try did not turn well: it works for a while, turning channels on and off, but after 10-100 switches something goes wrong and I get OOOOO. Experiments with dynamic reconfiguration gave me the same results (+memory leak, is there way to tell from python to release block memory after disconnect?). Maybe it's related to threading, as I turn valves on/off from separate thread. I'll try this again in some days.
Regarding the code: right not it's no more than a heap of proof-of-concept python code not tightly connected to gnuradio. Gnuradio part consists of application with multiple channels. Each channel is xlating fir -> quadrature demod -> symbol filter -> fsk4_demod -> slicer -> frame assembler --msg queue--> custom UDP sender (it adds frequency id to udp packet).
And there are standalone python program which receives UDP frames and stores it in db-like format. Further programs work on this files in pure python.
I'll release code in some days after I clean it up a little.
Best regards,
Dmitry
________________________________
From: Matt Mills <mmills(a)2bn.net>
To: qaghqga(a)yahoo.com
Sent: Tuesday, July 31, 2012 2:20 PM
Subject: Re: [op25-dev] Control channel decoding
Dmitry,
I'd suggest using a valve or stream selector for that. Do you have any interest in sharing your source code?
Thanks,
Matt.
On Tue, Jul 31, 2012 at 2:09 AM, Dmitry Medvedev <qaghqga(a)yahoo.com> wrote:
>
>I'm writing multichannel p25 recorder. It mostly works (thanks to op25 team and other contributors). Is there any open documentation on control channel messages, especially TSBK frames? I did trellis
decoding and CRC algorithm (reverse engineered the later, as I couldn't
find parameters). I understand structure of some messages, for example
"Group Voice Channel Grant Update" (opcode 02, manufacturer id 00), but
many opcodes remain unknown. Do you have any leads on this?
>
>Also, I'm
not very familiar with gnuradio, is there way to place some kind of
"gate" in flowgraph so some parts of it can be switched on/off by
external event? I want to use such feature to gate voice channels on/off and do not waste processor cycles on filtering channels that do not
carry traffic at the moment.
>
>
>Best regards,
>Dmitry
>
>
I'm writing multichannel p25 recorder. It mostly works (thanks to op25 team and other contributors). Is there any open documentation on control channel messages, especially TSBK frames? I did trellis
decoding and CRC algorithm (reverse engineered the later, as I couldn't
find parameters). I understand structure of some messages, for example
"Group Voice Channel Grant Update" (opcode 02, manufacturer id 00), but
many opcodes remain unknown. Do you have any leads on this?
Also, I'm
not very familiar with gnuradio, is there way to place some kind of
"gate" in flowgraph so some parts of it can be switched on/off by
external event? I want to use such feature to gate voice channels on/off and do not waste processor cycles on filtering channels that do not
carry traffic at the moment.
Best regards,
Dmitry
Hi,
I'm trying to do everything in c++ instead of using python. I've got it
working. Mostly. Well, sort of. I have a couple of questions about what
to do with the frequency correction messages coming from the fsk4demod
block.
I'm seeing a constant stream of frequency correction messages when there
is no signal present. They quickly cause the channel selection filter
I'm using to tune way off frequency.
If I don't process those messages I get voice output so I know
everything else is working. Some channels I tune to seem to work just
fine with out needing any tuning. But other times I see transmissions
where I don't get any voice output. I'm wondering if in those cases the
tuning is needed ?
In looking at the grc file it just subtracts the correction. When I look
at the uhd_p25_rx_gl.py file it's doing a calculation with the
correction and limiting it. Does one method work better than the other?
So, does anyone have any suggestions or any idea why I would be getting
a constant stream of the messages?
thanks,
Stephen
Hi,
Is it possible to use the op25 block from c++? I have it built and
working with GRC but now I would like to use it from a c++ program. I
looked but I could not find a library anywhere?
stephen
I was getting segmentation faults whenever starting to decode a P25 signal. (A stack trace is at the bottom of my message.) After a bit of investigating, I found that the value of the OldL variable in software_imbe_decoder was getting used before it was initialized. Adding OldL = 0 to the constructor got rid of the segfaults, but I don't understand the code well enough to know whether it's the correct fix.
Regards,
Clayton
----------
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `python ./top_block.py'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f6e2bcb15a3 in software_imbe_decoder::decode_spectral_amplitudes (this=0x39fa940,
Start3=<optimized out>, Start8=<optimized out>) at software_imbe_decoder.cc:1006
1006 for(ell = OldL + 1; ell <= L + 1; ell++) { log2Mu[ell][ Old] = log2Mu[OldL][ Old]; }
(gdb) i stack
#0 0x00007f6e2bcb15a3 in software_imbe_decoder::decode_spectral_amplitudes (this=0x39fa940,
Start3=<optimized out>, Start8=<optimized out>) at software_imbe_decoder.cc:1006
#1 0x00007f6e2bcb305d in software_imbe_decoder::decode_audio (this=0x39fa940, A=<optimized out>)
at software_imbe_decoder.cc:913
#2 0x00007f6e2bcb3747 in software_imbe_decoder::decode (this=0x39fa940, cw=...)
at software_imbe_decoder.cc:810
#3 0x00007f6e2bc9ea7b in voice_data_unit::do_decode_audio (this=<optimized out>, frame_body=...,
imbe=...) at voice_data_unit.cc:50
#4 0x00007f6e2bc98b01 in abstract_data_unit::decode_audio (this=0x7f6dc8000e10, imbe=...)
at abstract_data_unit.cc:61
#5 0x00007f6e2bc9ec0a in voice_du_handler::handle (this=0x39fdee0, du=...)
at voice_du_handler.cc:45
#6 0x00007f6e2bcad4f8 in op25_decoder_bf::receive_symbol (this=0x39fa4f0, d=2 '\002')
at op25_decoder_bf.cc:214
#7 0x00007f6e2bcad980 in op25_decoder_bf::general_work (this=0x39fa4f0, nof_output_items=16,
nof_input_items=..., input_items=..., output_items=...) at op25_decoder_bf.cc:86
#8 0x00007f6e31d09ae3 in gr_block_executor::run_one_iteration() ()
from /usr/local/lib/libgnuradio-core-3.6.1git.so.0.0.0
#9 0x00007f6e31d28d5d in gr_tpb_thread_body::gr_tpb_thread_body(boost::shared_ptr<gr_block>, int)
() from /usr/local/lib/libgnuradio-core-3.6.1git.so.0.0.0
#10 0x00007f6e31d23996 in boost::detail::function::void_function_obj_invoker0<gruel::thread_body_wrapper<tpb_container>, void>::invoke(boost::detail::function::function_buffer&) ()
from /usr/local/lib/libgnuradio-core-3.6.1git.so.0.0.0
#11 0x00007f6e31548a9e in boost::detail::thread_data<boost::function0<void> >::run() ()
from /usr/local/lib/libgruel-3.6.1git.so.0.0.0
#12 0x00007f6e30eebce9 in thread_proxy () from /usr/lib/libboost_thread.so.1.46.1
#13 0x00007f6e340e2e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#14 0x00007f6e32ed44bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#15 0x0000000000000000 in ?? ()
Hi,
I'm having a problem running usrp_p25_rx.py. I've never done anything with op25 before. I followed the build instructions on the wiki at op25.osmocom.org/wiki. I had the same issue that I saw a couple other people post about with adding an include of stddef.h to op25.cc. After that everything built as far as I can tell.
I'm using ubuntu 12.04 x64 and gnuradio 3.6
If anyone has any idea what to look at it would be appreciated.
thanks,
When I try to run usrp_p25_rx.py I get the following error:
Traceback (most recent call last):
File "./usrp_p25_rx.py", line 727, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 38, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 42, in OnInit
self._max_noutput_items)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 64, in __init__
self.panel = stdpanel (self, self, top_block_maker, max_nouts)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 86, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "./usrp_p25_rx.py", line 75, in __init__
self.__init_gui(frame, panel, vbox)
File "./usrp_p25_rx.py", line 252, in __init_gui
self.spectrum_plotter = self.spectrum.win.plot
AttributeError: 'fft_window' object has no attribute 'plot'
P25 signals modulated using the CQPSK format throw off a loud tone at 4,800 Hz, as shown by a plot of the power spectrum of the signal's magnitude.
C4FM-modulated P25 signals do not appear to possess this interesting property. The file in samples 'prwn-d256.dat' appears to be a CQPSK signal with distinctive LSM characteristics.
I've uploaded a simple python app which can be used to plot a complex capture sample file - magsq-psd.py. The one non-obvious arg (--calibration) must be used if/as necessary to bring the signal to near zero IF.
Note that hardware FM discriminator-tapped receivers cannot be used here since a copy of the signal prior to demodulation is required.
A receiver software implementation using the tone detection method can be done using a low-complexity setup such as a DSP CIC filter. Another nice thing is that a tone detection loop works well even when there is some frequency mismatch...
Max
I have the OP25 GRC demo that Balint provided up and running.
Everything seems to working except I'm not getting any audio out of
the OP25 block. I'm getting the "four line" output from the dibit
output port when there is traffic on the channel, and the autotune
output is outputting data. However, no audio. I put a scope on the
audio output and it's a flat line at zero, even when the dibit output
is "four lines". Any tips on how to further troubleshoot?
Thanks,
Andy
Its been suggested that we start a channel on IRC so we can discuss OP25
and Osmocom stuff.
Anybody here an IRC guru? Do we want a channel just for OP25 (which may not
have many people in it) or perhaps take part in a potentially larger
Osmocom one?
What do people think?
Hi all,
Just getting started with GnuRadio and RTL2832 so might be missing some details, by following the instructions here:
http://op25.osmocom.org/wiki/wiki/BuildInstructionsPage
I was able (with a couple of hacks) to built OP25, IMBE and 4FSK - however these did not appear as selectable blocks in GRC.
After some time I was able to figure out that they are missing 'xml' definitions in '/usr/local/share/gnuradio/blocks'. Creating a quick/fake '4fsk.xml' made it/something appear.
So should these exist? Does anyone have examples of what they should be....?
BTW the OP25 which did appear, seems to be from Baz install, not the above instructions.
I also experienced problems with build against latest GnuRadio git (seems that 'gruel_common.i' has moved) and the include files are not being installed... other than that things are 'peachy' :-)
--
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../..
-I/usr/local/include/gnuradio -I/usr/local/include
-I/usr/include/python2.7 -I ../../../imbe_vocoder/src/lib -g -O2 -Wall
-Woverloaded-virtual -pthread -MT _repeater_la-repeater.lo -MD -MP -MF
.deps/_repeater_la-repeater.Tpo -c repeater.cc -fPIC -DPIC -o
.libs/_repeater_la-repeater.o
In file included from repeater.cc:3862:0:
rs.h:8:29: fatal error: op25_imbe_frame.h: No such file or directory
compilation terminated.
make[4]: *** [_repeater_la-repeater.lo] Error 1
make[4]: Leaving directory `/home/simon/op25/repeater/src/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/simon/op25/repeater/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/simon/op25/repeater/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/op25/repeater'
make: *** [all] Error 2
simon@drifter:~/op25/repeater$ find .. -name 'op25_imbe_frame.h'
../blocks/src/lib/op25_imbe_frame.h
simon@drifter:~/op25/repeater$ find /usr/local/include/ -name
'op25_imbe_frame.h'
simon@drifter:~/op25/repeater$
--
Simon
OK I've just upgraded my Ubuntu box to 12.04, from 11.04 (couldn't help
myself). I'm trying to rebuild op25 but I'm getting the following error,
followed by a string of relate ones (I'm guessing)
Compiling blocks:
op25.cc:3115:13: error: 'ptrdiff_t' does not name a type
A Google search for this kind of error seems to be pointing to stricter
typedef requirements by gcc 4.6 with the solution being to include an
additional system header file cstddef. However I'm not sure where to
include this in the op25 source. I tried putting it in the op25.i swig
interface file so that it ends up in the generated op25.cc file however
that doesn't appear to have worked.
Anyone already solved this or can provide some guidance? Ubuntu 12.04
appears to be using gcc 4.6.3
Thanks
Cheers
Richard
Anyone know where I can grab a copy of the samples that used to be on the op25 wiki? Interested in getting a copy of the encrypted audio with known key.
http://www.sedition.org.au/p25-samples redirects to home page.
Thanks,
Dave
OK sorry folks - this is what one should expect when they're dealing with
ancient code (I really ought to update at some point!).
I've fixed the gr-baz/python/op25.py code to first try the new OP25 blocks
(with the slicer), and then fallback to the old version (without the
slicer).
Let me know if this works!
Thanks,
Balint
Hi Balint,
I notice that your op25.py module still has a dependence on the old Radio
Rausch FSK4 demodulator<http://radiorausch.googlepages.com/GnuradioFourLevelFSK.html>
that
the OP25 project used to use but have now incorporated into their own
source files. I was just wondering if there was any reason you didn't use
the op25.fsk4_demod_ff rather instead of fsk4.demod_ff? You have, on the
other hand, used the op25 slicer equivalent op25.fsk4_slicer_fb(levels).
Just curious.
Thanks
Cheers
Richard
On 20 April 2012 11:10, Balint <balint256(a)hotmail.com> wrote:
> I’ve just accepted the git pull request submitted by Alex Csete (thank
> you!) to fix the build issue on v3.6 of GNU Radio (tested by ‘zignig’), so
> if you grab the latest, hopefully this issue will disappear!****
>
> ** **
>
> (If other people have encountered this problem, please let them know too…)
> ****
>
> ** **
>
> *From:* op25-dev(a)yahoogroups.com [mailto:op25-dev@yahoogroups.com] *On
> Behalf Of *Richard Clarke
>
> *Sent:* Friday, 20 April 2012 8:24 AM
> *To:* op25-dev(a)yahoogroups.com
> *Subject:* Re: [op25-dev] Re: World's cheapest P25 receiver: $20 RTL2832
> dongle + new OP25 Decoder block with DES-OFB for GRC!****
>
> ** **
>
> ****
>
> Hi,****
>
> ** **
>
> I've just tried building the gr-baz module on a couple of different
> systems but I'm encountering a make error along the lines of:
> ./baz_swig.cc: No such file or directory****
>
> ** **
>
> I note someone else has also encountered the same error and pasted their
> make output to pastebin (http://pastebin.com/y6dUAxC1). This is the same
> error I'm getting. Anyone got any clues? Is this a generated file that
> isn't being generated, or a file that hasn't been included in the svn repo?
> ****
>
> ** **
>
> Thanks****
>
> ** **
>
> Cheers****
>
> Richard****
>
> ** **
>
> On 6 April 2012 02:14, Balint <balint256(a)hotmail.com> wrote:****
>
> ****
>
> LOL, I thought someone might say that J****
>
> ****
>
> Nice work at that price!!!****
>
> ****
>
> *From:* op25-dev(a)yahoogroups.com [mailto:op25-dev@yahoogroups.com] *On
> Behalf Of *ikjtel
> *Sent:* Friday, 6 April 2012 12:07 AM
> *To:* op25-dev(a)yahoogroups.com
> *Subject:* [op25-dev] Re: World's cheapest P25 receiver: $20 RTL2832
> dongle + new OP25 Decoder block with DES-OFB for GRC!****
>
> ****
>
> ****
>
> ****
>
> ****
>
> > Firstly, thank you to Max for the Slashdot mention!****
>
> ****
>
>
> Ha ha, it's a pleasure to see this project move forward.
>
> The cheapest one I've ever built was for $1.00 - picked up an old crystal
> scanner at a hamfest that happened to have a crystal in it on the proper
> frequency for a local P25 station. It only needed a disc-tap using parts
> from the junkbox...
>
> Max****
>
>
>
> ****
>
> ** **
>
> --
> *SCOTT ADAMS: Normal people believe that if it ain't broke, don't fix it.
> Engineers believe that if it ain't broke, it doesn't have enough features
> yet.*****
>
> ****
>
--
*SCOTT ADAMS: Normal people believe that if it ain't broke, don't fix it.
Engineers believe that if it ain't broke, it doesn't have enough features
yet.*
Hi everyone,
New to GNUradio and OP25. I have the OP25 block installed in GNU Radio Companion and can build a flow graph with no problem. When I try to execute the flow graph I get this error:
Traceback (most recent call last):
File "/home/aaknitt/Documents/top_block.py", line 53, in <module>
tb = top_block()
File "/home/aaknitt/Documents/top_block.py", line 34, in __init__
self.op25_decoder_0.create()
File "/usr/local/lib/python2.7/dist-packages/baz/op25.py", line 65, in create
self.p25_decoder = op25.decoder_ff(self.op25_msgq)
AttributeError: 'module' object has no attribute 'decoder_ff'
I'm guessing this is because I don't have something installed properly, but I can't put my finger on how to remedy the problem. Any advice or suggestions would be appreciated.
Regards,
Andy
Yes me again haha :-)
I thought it might be a good idea for the less advanced in the group (like me) and others, for members to save there flow chart files in the files section. Like a P25 decode flowchart, using the gr-baz project. FM Demodulation and any other that may be useful.
Hi yes its me again lol. When i try the scope command i get the following. Does this indicate that gnuradio is not installed correctly.
./scope.py -a -v 10 -g 50
Traceback (most recent call last):
File "./scope.py", line 40, in <module> from gnuradio import audio, eng_notation, fsk4, gr, gru, repeater
ImportError: cannot import name fsk4
I would just like to thank everyone for your support
A new group has been created for those interested in the amateur radio use of the commercial digital voice technologies of P25 & DMR in Illinois.
You can join the group at:
http://groups.yahoo.com/group/IllinoisP25-DMR/
Look forward to your participation in the group.