Rob - K6IRK -- Allstar Notes

Hello All,

I have created a OneNote file with notes that I have taken, or placed notes from others with links in it along with links to Freddie Mac’s videos if available into one file (with several sections in it).

I don’t take credit for everything and if there is something that would be good to add, please send me a message with the information so it can be added. I just wanted to try to create a One-Stop Shop, sorta speak here for Allstar, since I am always taking notes when I do something or watching videos, it just got too much in one file, thus the reason to divide it into Multiple sections.

This is work in progress, so please let me know any errors you might find as well, I am not perfect, but wanted to make it available to everyone.

73

Rob - K6IRK

[https://onedrive.live.com/redir?resid=A28BE3121577B77E!188679&authkey=!AC3vFli2LKkCdqs&page=Edit&wd=target(Documentation.one|9f7da165-80c7-4c12-a3a1-8390740c0db9%2FAllstar%20Guide\%2FNotes%2C%20by%20Rob%20Lerman%20-%20K6IRK|7ccf2d63-3d78-434b-a489-1512c0677d30%2F)&wdorigin=NavigationUrl]

Looking at your notes.

Time & Weather Scripts - ASL3 /usr/bin/locate needs to be added via:

sudo apt install locate

If you run a net and want to save the audio, you can use this script which copies the WAV files (implement archivedir in rpt.conf), coverts them to mp3 and than combines them into a single file.

You will need to install wav2mp3 on your system. ffmpeg should be there, if not install as well. Also, install tree. See: www.sbanetweb.com:8080 → Training Audio Files

I run this from a cron job based on our Net.

#!/bin/bash

cd /tmp
[ ! -d wav2mp3 ] && mkdir -p wav2mp3
chmod 777 wav2mp3

cd /var/log/asterisk/audio/
rsync $(find /var/log/asterisk/audio/1800 -maxdepth 1 -name “*.WAV” -type f -cmin -60 ) /tmp/wav2mp3

sleep 1

cd /tmp/wav2mp3
for i in *.WAV;
do name=echo "$i" | cut -d'.' -f1
echo “$name”
ffmpeg -i “$i” -codec:a libmp3lame -filter:a “volume=15.0” -qscale:a 2 “${name}.mp3”
done

rm -f *.WAV

sleep 1

file_date=$(date +Lecture-%m-%d-%y-%T)

mp3wrap $file_date.mp3 *.mp3

mv L*.mp3 /var/www/html/supermon/library

rm 2*.mp3

cd /var/www/html/supermon/library/
tree -H “/library/” -I *.inc > tree.inc

Thank you Wayne,

I just installed locate and rebooted the node. but get the same error.

It for the most part works, except that part.

/usr/local/sbin/weather.sh: line 166: /usr/bin/locate: cannot execute: required file not found

Did you run as root (sudo) updatedb?

Anyone else have anything else they would like to add to the OneNote that I have created?

I would like tips, how toos, videos, etc, it will help us all.

73

Rob - K6IRK

Rob - if you have helpful how-twos, rather than create a separate, semi-inaccessible archive of them, it might be nice to contribute to the ASL3 Manual.

1 Like

inaccessible? I’ll look into the ASL3 Manual and see how it all works.

OneNote is a proprietary format requiring a reader and is not indexable in standard search engines.

  • Autopatch: remove the extra comment at the end under “Autopatch - extras?” because that functionality is already included in my guide.
  • SkywarnPlus: is there a particular reason why you pasted the manual installation instructions? The installer script, which is the recommended install method, is much easier and straightforward.

In general, I’d caution the copy/paste method for sharing instructions and guides written by others - especially modern ones that have not been sitting around untouched for a decade or more. You should just link to the original instead. If the original author goes back and makes edits to the source, people are not going to get those updates if they are reading the outdated information that you copied. You’ve shared two of my guides this way, and I very regularly make changes to things I publish over time as I discover my mistakes.

Mason,

Thank you for the suggestions/recommendations. I have updated it per your recommendations.

Rob