OP25 VirtualBox Project - Run OP25 on Windows 7

Status
Not open for further replies.

mmfinkler

Member
Premium Subscriber
Joined
Feb 4, 2019
Messages
8
Virtualbox "Devices->USB...Unknown device 1DF7:3010 [0207] is now in the USB device filter. per SDRplay Support As long as you see a device that begins...
ID 1df7: Then that will be a RSP. It doesn't show the name.

Only USB 1.1 controller is enabled not USB 2 or USB 3 in Virtualbox

Still not showing under lsusb
 

mmfinkler

Member
Premium Subscriber
Joined
Feb 4, 2019
Messages
8
OK I now see

sdrplay@sdrplay-VirtualBox:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 1df7:3010
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and

sdrplay@sdrplay-VirtualBox:~/op25/op25/gr-op25_repeater/apps$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 1df7:3010
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

using command line, I get:

sdrplay@sdrplay-VirtualBox:~/op25/op25/gr-op25_repeater/apps$ ./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 857.2625e6 -o 25000 -T trunk.tsv -V -2 -U 2> stderr.2

linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

sdrplay@sdrplay-VirtualBox:~$ cd op25
sdrplay@sdrplay-VirtualBox:~/op25$ ./op25.sh
bash: ./op25.sh: No such file or directory



setting gain LNA to 47
 
Last edited:

boatbod

Member
Joined
Mar 3, 2007
Messages
3,539
Location
Talbot Co, MD
I'm not familiar with the SDRplay devices, but you may need to adjust your sample rate (-S) to match whatever the allowed values are on the RSP. I know I had to do that when I started using an Airspy instead of RTL.

Secondly, the ./op25.sh: "No such file or directory" error is because you weren't trying to run it from the proper location. Try this:
Code:
cd ~/op25/op25/gr-op25_repeater/apps
./op25.sh

You probably also want to peek inside the stderr.2 file to see what errors are being reported. It can be found in the same ./apps directory as the op25.sh shell script.
 

PhillyPhoto

Member
Feed Provider
Joined
Mar 23, 2003
Messages
587
Location
Wethersfield, CT
I'm running Boatbod's mod, and I'm not getting any audio. It runs fine, and shows the various talkgroups, but no audio comes through. Below is what I run to get OP25 running:

cd ~/op25/op25/gr-op25_repeater/apps/
./rx.py --args rtl=0 -N 'LNA:46' -f 857.06250e6 -S 2048000 -V -q 0 -2 -U
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
I'm running Boatbod's mod, and I'm not getting any audio. It runs fine, and shows the various talkgroups, but no audio comes through. Below is what I run to get OP25 running:

cd ~/op25/op25/gr-op25_repeater/apps/
./rx.py --args rtl=0 -N 'LNA:46' -f 857.06250e6 -S 2048000 -V -q 0 -2 -U

Select the control box and hit "t" that may start up the audio.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,539
Location
Talbot Co, MD
Select the control box and hit "t" that may start up the audio.
Without a -T trunk.tsv option, the app runs in P25 Conventional mode and won't do anything unless it is tuned to a phase 1 voice channel. Pressing "t" is one solution, but creating the trunking file is better in the long term.
 

busterphenajo

Member
Joined
Jan 1, 2005
Messages
41
Location
Sacramento, Ca.
So would I be pulling the library from page 1 of this thread, or have they moved somewhere's else? I know that when you run a scope.py commandline in the rx.py version theres a note to checkout from a git location. I guess thats where I got lost. And I know you're not suppose to go backwards, but this is like doing a old crossword puzzle trying to keep my mind busy.
 

PhillyPhoto

Member
Feed Provider
Joined
Mar 23, 2003
Messages
587
Location
Wethersfield, CT
creating the trunking file is better in the long term.

I figured I was forgetting something. I cloned the default trunk.tsv and entered my control channel and added it to my script and now it's working perfectly. It's been a while since I had worked on it, so I forgot about that part. Thanks again!
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,539
Location
Talbot Co, MD
So would I be pulling the library from page 1 of this thread, or have they moved somewhere's else? I know that when you run a scope.py commandline in the rx.py version theres a note to checkout from a git location. I guess thats where I got lost. And I know you're not suppose to go backwards, but this is like doing a old crossword puzzle trying to keep my mind busy.
Start with the osmocom repo, find the release you want and go from there. Yes, it'll be a puzzle especially if you try to build on anything later than 14.04. Personally I think you'll be disappointed... but have fun with the mental exercise.
 

BigRedBox80

Member
Feed Provider
Joined
Apr 23, 2015
Messages
172
What is the best way to block encrypted TGIDs? I created a block.tsv file, formatred TGID,NAME then in the trunk.tsv file I put blocke.tsv under blacklist, am I off the tracks somewhere?
 

BigRedBox80

Member
Feed Provider
Joined
Apr 23, 2015
Messages
172
I think you're right, TGID comma separated.

When looking at this, what does it mean when it says 12105 and 12101 or 12105 and 12161 on one line?
73806
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
I use it (OP25) in Virtual Box in Win10 with no issues.

I am a Linux neophyte but just used Mint and did a standard boatbod 4 step install (very simple)

It runs flawlessly I use it for P25 Phase I and II and straight DMR decoding.

I'm sorry but I do not understand what the issue with it is, there was nothing complicated about the install or running it?

My laptop is not high end. I also run it ok on a Intel atom Netbook with 1.5 of ram and clock of 1.6 dual boot win10-Linux Mint..

I can flip in and out of the VM with no issues.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,539
Location
Talbot Co, MD
There are two ways to block encrypted traffic:
i. Add the "--nocrypt" option to the command line. This blocks the *playing* of (unintelligable) encrypted audio but does not prevent op25 from following the tgid while traffic is present. This option is best used when there may be occasional encrypted traffic on tgids that are usually in the clear.

ii. Blacklist the tgid. Blacklisting is most easily accomplished by adding a blacklist file name in the trunk.tsv file at the appropriate position, then populating the blacklist file with a single column numeric entry, one tgid per line. Optionally you can also use a two-column tab separated blacklist file format where the first column is the starting tgid and the second is the ending tgid which blacklists a range of tgids.
 

BigRedBox80

Member
Feed Provider
Joined
Apr 23, 2015
Messages
172
Does this look right for blocked TGID's?
There are two ways to block encrypted traffic:
i. Add the "--nocrypt" option to the command line. This blocks the *playing* of (unintelligable) encrypted audio but does not prevent op25 from following the tgid while traffic is present. This option is best used when there may be occasional encrypted traffic on tgids that are usually in the clear.

ii. Blacklist the tgid. Blacklisting is most easily accomplished by adding a blacklist file name in the trunk.tsv file at the appropriate position, then populating the blacklist file with a single column numeric entry, one tgid per line. Optionally you can also use a two-column tab separated blacklist file format where the first column is the starting tgid and the second is the ending tgid which blacklists a range of tgids.

I believe I have the blacklist file name working.
Code:
Reading blacklist file
added talkgroup 12101 from block.tsv
added talkgroup 12102 from block.tsv
added talkgroup 12103 from block.tsv
added talkgroup 12104 from block.tsv
added talkgroup 12105 from block.tsv
added talkgroup 12116 from block.tsv
added talkgroup 12124 from block.tsv
added talkgroup 12133 from block.tsv
added talkgroup 12161 from block.tsv
added talkgroup 3071 from block.tsv
added talkgroup 12152 from block.tsv
metadata update not enabled
audio device: loop0
Allocating 15 zero-copy buffers

Next, I'm not quite grasping what the two TGIDs are next to each other in a line. In this example 12105 12152 or 3071 12101.
73827
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,539
Location
Talbot Co, MD
Does this look right for blocked TGID's?


I believe I have the blacklist file name working.
Code:
Reading blacklist file
added talkgroup 12101 from block.tsv
added talkgroup 12102 from block.tsv
added talkgroup 12103 from block.tsv
added talkgroup 12104 from block.tsv
added talkgroup 12105 from block.tsv
added talkgroup 12116 from block.tsv
added talkgroup 12124 from block.tsv
added talkgroup 12133 from block.tsv
added talkgroup 12161 from block.tsv
added talkgroup 3071 from block.tsv
added talkgroup 12152 from block.tsv
metadata update not enabled
audio device: loop0
Allocating 15 zero-copy buffers

Next, I'm not quite grasping what the two TGIDs are next to each other in a line. In this example 12105 12152 or 3071 12101.
View attachment 73827
Your blacklisting appears to be working. Whitelists follow the same format too.

The tgids in the terminal display fragment are an indicaton of the most recent voice frequency on which they were associated, and how many seconds since the last call.
 

BigRedBox80

Member
Feed Provider
Joined
Apr 23, 2015
Messages
172
Your blacklisting appears to be working. Whitelists follow the same format too.

The tgids in the terminal display fragment are an indicaton of the most recent voice frequency on which they were associated, and how many seconds since the last call.

Right, but when it says "...tgid(s) 12105 12152 ..." What does each tgid signify in a single row? Was there two going on at the same time there?
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,539
Location
Talbot Co, MD
Right, but when it says "...tgid(s) 12105 12152 ..." What does each tgid signify in a single row? Was there two going on at the same time there?

It signifies that tgid "12105" and tgid "12152" were both seen active on voice frequency 856.462500 as recently as 13.9 seconds ago. The last entry on the line is a count of how many times that voice frequency has been active.
 
Status
Not open for further replies.
Top