One of the best things about the IRLP system is the ability to extend
the capabilities of a node by writing programs or scripts to perform
some needed function. While most programs are written using the bash
shell scripting language, you can write programs in whatever language
you so desire, be that bash, Perl, c, etc. The functions can then be
executed by the custom_decode control script, from the console, at startup,
or via the cron timed execute functions. You can do just about anything.
Below is a collection of scripts that I have written, adopted or just
modified to suite my own needs. They work for me. I'm offering them
to the IRLP public with the hopes that they may meet your needs as well.
Feel free to examine them, use them, modify them.
No Warranty is expressed as to their suitability or stability. They
may break your system. If you ask nice enough, I may even help you fix
them on your system. Enjoy!!
Special Notes
Ever since TWIAR started creating Pod-casts of their broadcasts,
mpg123 won't play the twiar.mp3 file; therefore, it is necessary
to install mpg321. The procedure below can be used to download
and install all the required files (works for FC5, too):
yum -y install libao
wget http://dag.wieers.com/packages/mpg321/mpg321-0.2.10-8.fc3.rf.i386.rpm
wget http://dag.wieers.com/packages/libid3tag/libid3tag-0.15.1b-3.1.fc3.rf.i386.rpm
wget http://dag.wieers.com/packages/libmad/libmad-0.15.1b-4.fc3.rf.i386.rpm
rpm -ivh libmad-0.15.1b-4.fc3.rf.i386.rpm
rpm -ivh libid3tag-0.15.1b-3.1.fc3.rf.i386.rpm
rpm -ivh mpg321-0.2.10-8.fc3.rf.i386.rpm
Edit the playnews script:
OLD:
/usr/local/bin/mpg123 ${1}.mp3
NEW:
/usr/bin/mpg321 -o oss ${1}.mp3
Edit the stopnews script:
OLD:
/usr/bin/killall mpg123 &>/dev/null # kill the local player
NEW:
/usr/bin/killall mpg321 &>/dev/null # kill the local player
How-To Download
I always hate downloading using a browser on a Windoze box than having
to transfer it over to the Linux machine. While my site looks good using
a program such as Internet Explorer, because of the way my site is designed,
it is extremely easy browse using lynx (a text based
browser) which runs on the Linux machine. The beauty of using lynx to
download the files from my site is that it saves the file directly to
the Linux machine and you don't have to worry about ASCII files getting
CRLFs added to the files.
You can also use wget to download files directly your
Linux machine; however, you will have manually type in the URL of the
file you wish to get. Use lynx, it's easier; however, if you have trouble,
then it might be necessary to use wget.
To learn more on how to use lynx and wget, please refer
to the man pages on the Linux machine.
Download Scripts
This site is going through some major changes. All downloadable scripts
are being converted into .rpm package. By doing this the installation,
uninstalling and updating will be much easier. Eventually the .rpm files
will perform dependancy checking and may even be able to perform some
of the more difficult installations steps.
When these rpms are installed, a new directory /home/irlp/docs is also
created to hold the documents for the these scripts. Maybe, man pages
will be added in the future.
|
aprs_status-4.0.tgz
|
Report the status of your node via APRS
INSTALLATION
============
1. Login is as root.
2. Get the tar file:
wget http://irlp.kc6hur.net/downloads/aprs_status-4.0.tgz
3. Install the files found in the tar file:
cd /
tar -xzvf /root/aprs_status-4.0.tgz
This will un-zip the files and place them in the appropriate
directories.
4. Read the README_aprs file in /home/irlp/custom directory for
the rest of the instructions.
|
|
confirm-1.0.0-1.i386.rpm
|
Provides an audible confirmation of a received DTMF command.
|
|
cos_watch-1.0.0-1.i386.rpm
|
Prevents remote IRLP connections from butting into a local
conversation.
|
|
cwtext-0.91b.tgz
|
A CW generator that outputs to the /dev/dsp device. While
I have not tested it with IRLP under FC3, according to Dave
VE7LTD, it should work along with IRLP. I have modified
this version so that cwpcm allows the setting of tone frequecy
(pitch) and level (volume) from the command line. Be sure
to read the README file.
- Login as root
- wget http://irlp.kc6hur.net/downloads/cwtext-0.91b.tgz
- tar -zxvf cwtext-0.91a.tgz
- make clean
- make
- make install
|
|
fastdtmfdial
|
Play DTMF tone very fast (programmable speeds and volume).
|
|
force_exec-0.2.0.tgz
|
This program makes it possible to force the execution of
a DTMF command rather than waiting for the COS to drop.
See the README file in the tarball. Version 0.2.0 was released
to support future operation under Fedora Core 2 and will
utilize either /dev/irlp-device or the parallel port device
which will be required by later version of IRLP. This is
a whole new version, written in C and released on September
23, 2004.
Login to your node as repeater and enter the following
command:
wget http://irlp.kc6hur.net/downloads/force_execute-0.2.0.tgz
then untar the tarball: tar zxvf force_eceute-0.2.0.tgz
cd to the force_exec directory and follow the instructions
found in the README file.
OK: RH9 and FC3
|
|
guardtone.tgz
|
This program allows an IRLP node to "look" like
a microwave receiver when connected to a voter such as a
Motorla SpectraTAC comparator. The guardtone program will
generate a guard tone whenever the PTT unkeyed.
|
|
ID-2.0.1-2.i386.rpm
|
Send CW ID using sccw or .wav file. This version of the
ID program uses an improved algorithm for generating the
IDs. IDs will be sent in manner very similar to those done
by modern repeater controllers.
JUL-16-2005: this version will also work with ALL versions
of IRLP boards. There is a variable in the in the ID program
where you tell it if you are using a Ver 3 or not board.
NOTE: When in non-Ver 3 mode, the ID take precedence over
voice comm, sorry, no other way to do it cleanly.
|
|
IRLP Basic
Flowchart (pdf)
|
The chart that show the flow of control in the IRLP system.
|
|
local_echo
|
Echo audio without going to the echo reflector.
|
|
mpg123-0.59q-1.i386.rpm
|
mpg123-0.59q-1.i386.rpm
OK: RH9 and FC3
|
|
playnews.tgz
|
Play Amateur Radio audio news files.
- Login as repeater; then enter the following:
- wget http://irlp.kc6hur.net/downloads/playnews.tgz
- tar zxvf playnews.tgz
- cd playnews
- ./install
Please read the README file.
See Special Notes above!!!
|
|
random_call
|
Randomly dial a node.
|
|
sccw_1.1b.tgz
|
sccw_1.1b - Use sound card synthesizer to generate CW
- Copy this tarball to your /home/irlp directory
- Install it: tar -zxvf sccw_1.1b.tgz
- Follow the README
OK: RH9 and FC3
|
|
setrlcclock
|
Used to set the clock on a LinkComm RLC controller using DTMF
Make sure you have fastdtmfdial installed.
|
|
speaktime-2.0.0-1.i386.rpm
|
Speak the time of day.
|
|
star69-2.0.0-1.i386.rpm
|
Speak/Call last callwaiting, incoming, outgoing calls.
|
|
star69
|
Fixed Star69 as of June 11, 2007. Download this file to
replace the star69 file in your $CUSTOM directory. Fixes
problems in handling dates.
|
|
text2dtmf-1.0.1-1.i386.rpm
|
Send text messages to Yaesu FT-51R.
|
|
text2wave
|
Festival text to wave control script (scheme) file.
|
|
tone_0.3.tgz
|
tone_0.3 - Dual tone generator using sound card synthesizer
- Copy this tarball to your /home/irlp directory
- Install it: tar -zxvf tone_0.3.tgz
- Follow the README
OK: RH9 and FC3
|
|
timeout
|
Used to Enable/Disable the activity timeout timer and report
the status of this setting.
|
|
usrcmds
|
Used to Enable/Disable the user function commands and report
the status of this setting.
|
|
wx_rpt.tgz
|
This tarball contains the scripts and file necessary to
automatically generate weather reports on your IRLP node.
NOTE: THIS IS ALPHA GRADE SOFTWARE.
It will require that you have VERY good knowledge of Linux,
bash and Perl coding. It is being offered at this time with
NO offer to help you get it installed and
working. It WILL NOT work out of the box.
I may provide pointers but that is about all at this time.
See the README file for more information. Good Luck!
OK: RH9 and FC3
|
|
fmh1.pdf
|
This is the official manual from the Department of
Commerce/NOAA; Office of the Federal Coordinator Meteorological
Services and Supporting Research, titled Federal
Meteorological Handbook No. 1 Surface Weather Observations
and Reports and is the manual which provides the
specifications for coding/decoding the information in the
METAR reports. FMH-1 is the guide used in developing the
metar2text program.
|
|