OP25 OP25 Remote Terminal

Status
Not open for further replies.
Joined
Aug 25, 2016
Messages
55
I managed to set up OP25 running on a spare PC and use -w -W 192.168.0.X1 -l 56111 arguments to allow me to get the audio and make the remote terminal available to another local PC.

I can access the terminal using ./terminal.py 192.168.0.X2 56111, but after about 10 minutes the ./terminal.py process closes and won't reconnect, but the audio still comes through using ./audio.py.

Thanks
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,427
Location
Talbot Co, MD
I think you'd be better off using the http terminal for remote operation. Mine runs for week/months without interruption.

./rx.py -l http:192.168.1.7:8080 ...
^^^^^^^^^^^^ substitute your own ip address here
Then point your browser at http://192.168.1.7:8080 and enjoy.
 

R0am3r

Salt Water Conch
Premium Subscriber
Joined
Apr 13, 2014
Messages
764
Location
Oneida County, NY
I added the terminal option to my OP25 startup script, but I still can't hear audio over my network. Here is my file:
./rx.py -l http:192.168.1.131:8080 --nocrypt --args "rtl" --gains 'lna:36' -S 960000 -q 0 -x 2.5 -T madtrunk.tsv -d 0 -v 3 -2 -V -U > stderr.2

Please note that OP25 works great on my Raspberry Pi 4, but I am stumped on how to stream the audio over my network to a another PC (e.g. Windows 10 laptop).

What obvious thing am I missing?
 
Last edited:

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,047
Location
NE Wisconsin
The http remote terminal doesn't provide audio. You rx.py command line option (-U) is directing audio to the local speaker or earphone jack.
There are basically two options to hear the audio remotely. One is to send the UDP audio stream to a single remote client (IP Address) and the other is to setup a private streaming server using Icecast. With Icecast you can connect a number of remote clients to your instance of op25 and receive audio. See the README-rpi3-liquidsoap in your ~/op25 directory as a starting point.

Personally, if much prefer the private streaming (Icecast) server method that not only provides audio access on your local network but will also
allow remote access via the Internet with the correct port forwarding statement added to your router.

You would need to install Icecast in addition to Liquidsoap. Use this command: sudo apt-get install icecast2 and follow the prompts that are presented to you at installation time that asks you a couple of basic questions. There have already been a number of posts regarding the installation of Liquidsoap and streaming with op25 that should provide easy to follow examples but feel free to come back if your run into any problems with the setup.
 
Status
Not open for further replies.
Top