Re: Recording your QSO's as an MP3 file

mark rosenberg

Wow..thanks for the tips.  The android ssh or cron methods seem to be the most practical for me.  Going into the cloud server console and running the script whever i want to load up the library seems like too much.  I will attempt to read up on the cron solution as that is automated.  I wonder if you can set the interval beyond 60 seconds....seems like 300 seconds or 600 seconds would be better.

Thanks for the helpful video and followup ideas.


Mark 4x1ks / ku4m
Hashmonaim, Israel

On Tue, Jul 23, 2019, 00:58 Joshua Nulton <kg5ebi@...> wrote:
My DMR work is considerably more automated but that involves databases and tons more programming beyond simple scripting. My primary Allstar node is also in the cloud. For that node I simply run the command on demand using something such as SSH button on an Android device. 

Press the button on the phone, the SSH command of "sudo bash /home/repeater/" will execute. Another thing you could do easily is to setup a cron job to execute the script every 60 seconds automatically. A third thing you could do is add a couple lines at the end of the script, one line of sleep 60 and the final line to say sudo bash /home/repeater/ which would start the script again after sleeping 60 seconds. The final option is really only good for testing as once you close that terminal session the script essentially is killed as well.

For true automation look toward cron. For just simple manual processing use an Android to SSH command option.

If you need help, I would be happy to offer it.


On Mon, Jul 22, 2019, 4:21 PM mark rosenberg <4x1ks.mark@...> wrote:

Hopefully I can get a tip on this issue.

I ran the script...did the install etc. according to the nice video.

It works fine, except that my node is running on a cloud server and in order to get the latest audio files I have to actually run bash manually.  That means I have to go into the /home/repeater  directory and then type sudo bash  every time I want to add the latest audio *.wav files to my library.  It does not happen automatically.

Is there a fix so that I don't have to run the script every time I want to add the latest wav files to the library?

thanks for the help

Mark 4x1ks / ku4m

On Mon, Jul 8, 2019 at 1:09 PM Joshua Nulton <kg5ebi@...> wrote:
My mistake Steve, feel free to remove the post. 

On Mon, Jul 8, 2019 at 5:07 AM Steve N4IRS <szingman@...> wrote:
To be clear, this subgroup is intended for discussion of interfacing with AllStarlink, not general ASL support. Since you are already posting in the general ASL user list, that should be sufficient.

73, Steve N4IRS 

On 7/8/19 3:56 AM, Joshua Nulton wrote:
I have put together a <15 minute tutorial on everything needed to record the QSO's on your Allstar node, move them to an internet accessible web folder and convert them from large .WAV files (the compression used is not all that bad really) into manageable .MP3 files that will play back simply through your browser.
YouTube link:
The process requires the installation of 4 packages.
  1. Apache2 (most likely have this installed already)
  2. rsync (very small, lightweight and reliable)
  3. ffmpeg to convert the audio
  4. lame encoder to convert to mp3 codec
Installation and configuration of everything is demonstrated in the YouTube tutorial video. If you don't want to type out the bash script it can be downloaded here:
The software mentioned above will still need installed as per video instructions. Quick overview is here:
sudo -s
apt update
apt-get install apache2
apt-get install rsync
apt-get install ffmpeg
apt-get install lame
mkdir /var/www/html/library
Enjoy and if you have any questions, please post them on the official Allstar Community forum here:
Jae   KG5EBI

Join to automatically receive all group messages.