Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

HAM-Radio DX-Cluster via SMS message

by tmiklas (Hermit)
on Apr 01, 2004 at 11:51 UTC ( [id://341594]=CUFP: print w/replies, xml ) Need Help??

Hi there!

During last WPX DX Contest i decided to work from our contest station at the country abt 30km from my temporary QTH. I thought it would be nice if i could check what's going on the DX-Cluster being 'on the run' :-) So i wrote this simple script...
#!/usr/bin/perl use strict; use Net::Telnet (); my $my_call = 'my_call'; my $my_pass = 'password_goes_here'; my $dxc_call = 'sr4dxc'; my $t = Net::Telnet->new(Host => 'sr4dxc.ampr.pl', Port => '9000', Timeout => 10); $t->waitfor('/callsign:/'); $t->print($my_call); $t->waitfor('/Password:/'); $t->print($my_pass); $t->waitfor('/clx >/'); my @lines = $t->cmd(String => "@ARGV", Prompt => "/$my_call de $dxc_ca +ll/"); print @lines; $t->print("bye"); $t->close;
This short code allows me to execute all of the DX-Cluster commands passed as @ARGV.
At first i wrote a procmail rule to pass all the SMS messages sent from my phone number to my e-mail address to the other script, that allows me to execute arbitary commands on my Linux box (i know - it's unsecure, except special message format required and some other issues), which executes this script and passes all the arguments.
This way working as a contest station or DX-pedition (case with no PR and no internet connection) i have an access to the current DX information. The result printed to STDOUT by this script is collected by the first one and sent back to my phone via e-mail-->SMS gateway.

Note: tested and working 100% with (no adverts here) in Poland, but will work with any other GSM provider :-)

Vy 73 de SQ3TQM/6!
Greetz, Tom.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://341594]
Approved by Mr. Muskrat
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2024-03-28 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found