rebuilding op25 system and not sure why it's not working on P25

n8zuz

Member
Joined
Jul 17, 2004
Messages
63
Location
Windy WY
I had an OP25 Boatbod system running for several years with much help from WGBECKS. It has 2 SDRs for OP25 and one for ADSBx. The 2 for OP25 has one for scanning a trunked P25 system and one for an analog fire frequency.

Last week I decided to upgrade the OS from LinuxMint 20.x to LM21.3 with the upgrade tool. That created a lot of problems I assume with newer software versions and who knows what all else caused me issues? Something broke in that process. I'm probably the biggest issue, truth be told. I decided to do a fresh install on LMDE 6 and couldn't get things to work for whatever reason. Maybe that would have worked but I decided to go back to version 20 of LinuxMint which has run well for a long time.

I have since gone back to Mint 20.3. I did the OP25 install, copied in my old files into the app directory, etc. After a lot of messing around I do have it streaming the fire frequency but nothing on the P25 system. I also don't have anything on the 127.0.0.1:8080 page. Not even after running "sudo systemctl restart op25-liq op25-rx op25-fire"

I send the stream to a local icecast2 running on the same machine as well as to an icecast server at cast.az-streamingserver.com. The local one on 127.0.0.1:8000 shows a 404 error, "Could not parse XSLT file"

As I said earlier, the analog fire audio is coming through the cast.az-streamingserver.com icecast. I'm not sure where else to look so I'm looking for direction. Here's what I got which might help:
opey@opey:~/op25/op25/gr-op25_repeater/apps$ ps -aux | grep python
opey 855 38.6 3.7 2663240 146152 ? Sl 08:59 85:50 /usr/bin/python3 ./multi_rx.py -c fire.json -v 1
opey 913 4.2 0.6 47652 25396 ? S 08:59 9:29 /usr/bin/python3 ./audio.py -u 23460 -x 2.5 -s
opey 914 0.0 0.5 47652 23304 ? S 08:59 0:01 /usr/bin/python3 ./audio.py -u 23450 -x 2 -s
opey 2093 0.0 0.7 59592 27612 ? S 09:02 0:01 /usr/bin/python3 /usr/share/system-config-printer/applet.py
root 21125 0.0 0.4 39624 17692 ? Ss 09:31 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
opey 103656 0.0 0.0 9032 724 pts/0 S+ 12:41 0:00 grep --color=auto python
opey@opey:~/op25/op25/gr-op25_repeater/apps$ ps -aux | grep liq
opey 843 13.9 1.4 906392 56104 ? SLsl 08:59 31:15 /usr/bin/liquidsoap op25.liq
opey 103959 0.0 0.0 9032 720 pts/0 S+ 12:42 0:00 grep --color=auto liq
opey@opey:~/op25/op25/gr-op25_repeater/apps$ ps -aux | grep ice
root 700 0.4 0.4 302140 17368 ? Ssl 08:59 1:00 /usr/bin/anydesk --service
opey 1592 0.0 0.1 156224 4652 ? Sl 09:01 0:00 /usr/libexec/dconf-service
opey 1699 0.0 0.2 318656 8632 ? Sl 09:01 0:06 /usr/libexec/goa-identity-service
icecast2 2529 0.4 0.1 394988 6868 ? Sl 09:02 1:00 /usr/bin/icecast2 -b -c /etc/icecast2/icecast.xml
root 33911 0.0 0.1 238244 7708 ? Ssl 09:35 0:02 /usr/lib/accountsservice/accounts-daemon
opey 104060 0.0 0.0 9032 720 pts/0 S+ 12:43 0:00 grep --color=auto ice
opey@opey:~/op25/op25/gr-op25_repeater/apps$ rtl_test
Found 3 device(s):
0: Nooelec, NESDR SMArt v5, SN: 00000006
1: Nooelec, NESDR SMArt v5, SN: 00000005
2: Realtek, RTL2838UHIDIR, SN: 00000003

Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.
Any ideas of what to look for next? I'd really like to run this on a more up-to-date distro but since it was working, I should have left it. That's my fault for trying to "upgrade" it and broke it. I don't mess with it often enough so I forget little things about OP25.

N8ZUZ
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,095
Location
NE Wisconsin
I had an OP25 Boatbod system running for several years with much help from WGBECKS. It has 2 SDRs for OP25 and one for ADSBx. The 2 for OP25 has one for scanning a trunked P25 system and one for an analog fire frequency.

Last week I decided to upgrade the OS from LinuxMint 20.x to LM21.3 with the upgrade tool. That created a lot of problems I assume with newer software versions and who knows what all else caused me issues? Something broke in that process. I'm probably the biggest issue, truth be told. I decided to do a fresh install on LMDE 6 and couldn't get things to work for whatever reason. Maybe that would have worked but I decided to go back to version 20 of LinuxMint which has run well for a long time.

I have since gone back to Mint 20.3. I did the OP25 install, copied in my old files into the app directory, etc. After a lot of messing around I do have it streaming the fire frequency but nothing on the P25 system. I also don't have anything on the 127.0.0.1:8080 page. Not even after running "sudo systemctl restart op25-liq op25-rx op25-fire"

I send the stream to a local icecast2 running on the same machine as well as to an icecast server at cast.az-streamingserver.com. The local one on 127.0.0.1:8000 shows a 404 error, "Could not parse XSLT file"

As I said earlier, the analog fire audio is coming through the cast.az-streamingserver.com icecast. I'm not sure where else to look so I'm looking for direction. Here's what I got which might help:




Any ideas of what to look for next? I'd really like to run this on a more up-to-date distro but since it was working, I should have left it. That's my fault for trying to "upgrade" it and broke it. I don't mess with it often enough so I forget little things about OP25.

N8ZUZ

Jeff,

It's likely your original OP25 installation was built on GNU Radio 3.7, or possibly 3.8. Recent Linux Distro's install GNU Radio 3.10 variants. Why it matters? When cloning op25, the default "Master" branch assumes GNU Radio 3.7, but your particular Linux repo may require installing from either the "gr38" or "gr310" branch.

How to determine what branch to build from? Easy, open a terminal and submit: apt list | grep gnuradio-dev

Example

op25@op25-ThinkCentre-M93p:~$ apt list | grep gnuradio-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
gnuradio-dev/jammy,now 3.10.1.1-2 amd64 [installed]

op25@op25-ThinkCentre-M93p:~$

Observe in the above example that apt reported GNU Radio 3.10.2.2-2 that indicates you will need to build op25 from the "gr310" branch.
In you've already installed op25, then you'll need to cd to the ~/op25/build directory and submit: sudo make uninstall as a first step in
removing the existing installation. The following step may not be exactly necessary, but I would suggest going back to your login (username) folder and remove the ~/op25 folder. IE: sudo rm -r op25

Now from your default login folder, begin a fresh git clone operation followed by a git checkout of the correct branch that matches
the apt list query discussed above. IE: gnuradio-dev/jammy,now 3.10.1.1-2 amd64

git clone GitHub - boatbod/op25: Fork of osmocom OP25 by boatbod
cd op25
git checkout gr310
./install.sh


I hope this helps to resolve the issues with your upgrade. If not, feel free to post additional or make direct contact.

Bill
 

n8zuz

Member
Joined
Jul 17, 2004
Messages
63
Location
Windy WY
Just a followup. After talking with wgbecks, I installed the latest Ubuntu and reinstalled OP25 and everything is working. I'm not sure what I did differently, but either way, it's working.
 
Top